Other Parts Discussed in Thread: UNIFLASH
I am developing quad core application using AM2634
First core(0-1) application is motor control.
Second core(0-2) is userd for monitoring.
Third core(1-1) is used for motion profile.
Fourth core(1-2) is used for communication.
Now, we only use first and second core for testing. But we found strange behavior of AM2634.
There were no problems during initial development. However, as the amount of code gradually increased, abnormal operations occurred frequently.
If I load and run the program using "JTAG", it operates normally. However, when running the application using UART Uniflash, AM2634 behaved unexpectedly.
The first problem is that the core does not work. Sometimes the first core doesn't work and sometimes the second core doesn't work. At this time, when I change any code, the core operates again. Code changes include deleting or adding any lines or even changing the value of a variable from 100 to 200. It is unclear which cores are not working.
The second problem is that sometimes the peripheral does not work. For example, SPI communication does not work or PWM ISR does not occur. In this case, if you change the code as in the first case, it may work.
In all cases above, when using "JTAG", it operates normally without changing the code.