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.

ARM 5.1.6 compiler / UNDERFLOW exception

Other Parts Discussed in Thread: TMS570LS3137

Hi all,

I have to benchmark a compute intensive application that uses a huge amount of data stored in external SDRAM.

I'm using CCS 6.01.00040 for a TMS570LS3137 rev. C on an Hercules Dev. Kit rev. E; the compiler is ARM 5.1.6.

In evaluating an exponential, I fall into an exception case ; having the exception isn't the problem? It's the raising of the exception that gives a prefetch error. After digging into the issue, I see in the library code an STMIA instruction. Is this instruction subject to the STM/LDM bug too ?

I think this is related to my prefetch issue because since I compile the app with the --no_stm flag, all other prefetch issues I had are gone.

In case of a positive answer to the above question, how can I compile the library with the --no_stm flag ?

I think there is a more recent release of the ARM compiler. Is there a direct link I can use to get it ? What is the install procedure ?  I cannot use any updater channel because of WEB access security related restrictions.

Thanks for your answer

Marc

  • Hi Marc,

    Is the STM coming from the TI runtime library? I think you may need to rebuild the runtime library with the -no_stm switch. In the TI ARM compiler userguide (spnu151l) it talks about custom library. Personally I do not have experience in the library creation. If you can post this question to the compiler forum I'm certain they can help you much quicker. Let me know if you want me to move your post there or you will post new question to the compiler forum at e2e.ti.com/.../
  • Hi Charles,

    I forward my question to compiler team. I'll click on the Verify button.

    Thanks for your quick answer and I apologize for my very late response.

    Marc