I am just workung on the first excercises with the concerto development kit.During the first blinky project I ´m experiencing the following behaviour:
- both cores are connected, o.k.
- Load program on Master, o.k.
- After loading Program on control, instead of showing the thread[main] it shows something with ...code_start andthe core is immediately running, but no blinking, seems to be in idle
- When I start the master core, the first LED is blinking.
- When I stop the conrol core, reload the the program and start the core, then the control core is also blinking and everything is fine.
Is that the normal behaviour, to reload the softeware on the control core at the very first time?
Thanks for your help in advance
Is normal. You must always boot the Master first and then the Control. It is because the Master gives the control over the choosen GPIO to the Control, but at the begininig the Master have the contol over all the GPIO and the C28 can not use them.
Also, if you make a start from Flash in both cores alone (without CCS), the Master send an internal
to the Control to start.
So, keep in mind: always boot the Master first and always stop the Master the last.
Hi,it is clearly understood, that the master has to boot first and stop last.
I am wonderung however, that when I load the program to the control core, the debug window does not show the thread main with running
F28M35x_CodeStartBranch.asmwithout any action (no Run command) from my side. The control is not blinking.Then I have to stop the control core, load program again, that it shows "..main() at main.c" and I can start normally and everything i fine.
Once you have dowloaded the code to the Flash memory, you have to do the next:
1.- Reset CPU.
2.- Restart (this way the program counter point to the begining of your code).
3.- Resume (the cpu start the execution of thr program).
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.