This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello there,
The appearance is weird. I use XDS110 USB dongle to download/debug a custom made TMS570LC4357 board, and its possible that board may not able to power up after first reset. The steps to re-create issue is:
1. Connect target board
2. Erase and download program
3. After finish, power off entire board, and re-power board. By now everything runs smoothly.
4. Power off the board again, and then power up. Now it goes into asynchronous data abort. No any extra information to locate error at all! Note that from now, reset is not an option to bring the board back to normal. Only re-download programme can make it run one more time.
I found that this issue may relates to how data are stored in flash/memory. If the problem occur, rebuild the project can not fix the issue. However, modify the scatter/link file to randomly re-locate codes/variables bring chances to remove the bug. In an other words, if the project is working good, adding new codes/variable may introduce this issue.
Project has been stuck by this for more than a month. Please kindly help. What could possible wrong....? Thx!
Hello QJ Wang,
In addition, the startup code we used is copied from Halcogen generated project. In most of the time, it works well without this issue. Key is, occasionally, after adding codes/variables, the broad died (always goes into data abort) after first power cycle.
Cheers!
Tien
Hello QJ,
As its a asyn data abort, I have no clue on where the exception occurs... We have an OS running and codes can always go beyond OS init so its definitely not within sys_startup.. Cache is enabled and the code used to enable it was extract from Halcogen generated project. Through the comments along with the cache enable codes it says ECC is enabled.
I can access CP15, however, due to the Asyn data abort issue, it gives no useful information...
Thx.