Hi All,
I am starting development with the TMS470M processor.
I am using Keil, not code composer.
When I run the code on the device, despite the code looking correct (endianness, location etc)it does not execute correctly! for example the first branch to __main does not happen, and the code execution runs into the interrupt handlers for NMI, hard fault etc.
Now, I have done some investigation, and found that I am having a "usage fault" interrupt occur, which gets escalated via the hard fault to the NMI.
looking at the registers, the usage fault is triggered by the NOCP bit... i.e No coprosessor present depite the code trying to use one.
does anyone have:
- Ideas about what I have got wrong with the startup code. endianness?
- Example startup code that WORKS in Keil.