- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm using PSOC4 BLE, I want to know that how can we debug multiple programs in our PSOC board, When i feed 1 program in it & want to program again then last program will not work, SO how can i debug it with multiple programs. How can we add a log file in PSOC creator .
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you design a "typical" embedded design there are multiple
pieces of hardware running and their associated firmware. But the
machine is sequential, executing one line of code at a time. So normal
debug in multiple pieces of code you can set breakpoints in them, and
do things like read a timer, or a counter, or variables, when the breakpoints
are hit.
But again all this code runs sequentially in that the CPU processes one
instruction at a time. The PSOC 1, 3, 4, 4M, 4BLE, 5LP are all single
core devices, running one line of code at a time.
That being said there are also in many PSOCs parallel processes, like
DMA. and other pieces of HW that run in parallel.
https://www.youtube.com/watch?v=kX5sA9R5B30
PSOC Starter Videos
http://www.cypress.com/video-library/PSoC/psoc-analog/106851?tid=38136&sort_by=created&page=1 PSOC Analog
http://www.cypress.com/video-library/PSoC/psoc-3-and-psoc-5-overview/106841?tid=38136&sort_by=create... PSoC 3 and PSoC 5 Overview
http://www.cypress.com/video-library/PSoC/building-block-solutions/106811?tid=38136&sort_by=created&... PSOC Building Block Solutions
http://www.cypress.com/video-library/PSoC/psoc-digital-functionality/106816?tid=38136&sort_by=create... PSoC Digital Functionality
http://www.cypress.com/video-library/PSoC/psoc-today-digital-filtering-psoc-part-i/106566?tid=38136&... PSoC Today! Digital Filtering with PSoC Part I
http://www.cypress.com/video-library/PSoC/an52705-using-dma-psoc-3-and-psoc-5/106646?tid=38136&sort_... AN52705- Using DMA on PSoC® 3 and PSoC 5
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What do you mean with 'log file'? What exactly do you want to see there?
Regarding multiple programs: its not exatly possible. The PSoC4 is not a normal computer with an operating system, but an embedded system. How yould you go an select the program you want to run? If you can answer that question, then maybe you can come up with a scheme for having multiple programs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm going to make a data logging system using PSOC 4 BLE, SO i want to program my chip with Uart,PWM,ADC, RTC some multiple programs in it. But when i debug the PSOC on a program it is just working on it, not working on last program.
How can i feed multiple program in PSOC chip.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to create a log file just because i want to store the data in SD card.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When you design a "typical" embedded design there are multiple
pieces of hardware running and their associated firmware. But the
machine is sequential, executing one line of code at a time. So normal
debug in multiple pieces of code you can set breakpoints in them, and
do things like read a timer, or a counter, or variables, when the breakpoints
are hit.
But again all this code runs sequentially in that the CPU processes one
instruction at a time. The PSOC 1, 3, 4, 4M, 4BLE, 5LP are all single
core devices, running one line of code at a time.
That being said there are also in many PSOCs parallel processes, like
DMA. and other pieces of HW that run in parallel.
https://www.youtube.com/watch?v=kX5sA9R5B30
PSOC Starter Videos
http://www.cypress.com/video-library/PSoC/psoc-analog/106851?tid=38136&sort_by=created&page=1 PSOC Analog
http://www.cypress.com/video-library/PSoC/psoc-3-and-psoc-5-overview/106841?tid=38136&sort_by=create... PSoC 3 and PSoC 5 Overview
http://www.cypress.com/video-library/PSoC/building-block-solutions/106811?tid=38136&sort_by=created&... PSOC Building Block Solutions
http://www.cypress.com/video-library/PSoC/psoc-digital-functionality/106816?tid=38136&sort_by=create... PSoC Digital Functionality
http://www.cypress.com/video-library/PSoC/psoc-today-digital-filtering-psoc-part-i/106566?tid=38136&... PSoC Today! Digital Filtering with PSoC Part I
http://www.cypress.com/video-library/PSoC/an52705-using-dma-psoc-3-and-psoc-5/106646?tid=38136&sort_... AN52705- Using DMA on PSoC® 3 and PSoC 5
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you Dana.
We can add some schematic in chematic page, But how can we add program.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There is a basic file main.c, in Source Files folder, Workspace Explorer, and
you start there. You can also add other .c files in Workspace Explorer. To organize
your code into logical units.
Take a look at the starter videos.
Regards, Dana.