Hello,
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
NR
Nobby
Hi
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
IPCMtoCBootControlSystem(CBROM_MTOC_BOOTMODE_BOOT_FROM_FLASH)
to the Control to start.
So, keep in mind: always boot the Master first and always stop the Master the last.
Dionisio
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.
Any comment?
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).