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.
I am evaluating the TI CSS/compiler against IAR. I am looking at the hello.c program on the EKS-LM4F232. My first edit was to change the baud rate to the virtual serial port. It did not work so I stepped into UARTStdioInitExpClk which passes the parameters in R0 and R1. The first function call inside of UARTStdioInitExpClk stomps on R0 and R1. I did change a compile option so that the arguements are passed differently, I am guessing on the stack. The first function call works out to be something in the M4 ROM.
My question is: Are there guidelines for what options to set when calling a ROMed routine? If so, where do I find them? I am guessing this is a nuance of StellarisWare, as the function call that stomps on R0 and R1 is a Stellaris API call.
John
I'm pretty sure the folks in the Stellarisware forum can answer your questions. So, I'll move it there.
One question I'm pretty sure they'll ask ... Exactly which compiler option did you change, and how did you change it?
Thanks and regards,
-George
The first reference I would point to is the Driver Library user's guide (SW-DRL-UG-xxxx.pdf), chapter 26. After you install Stellarisware, it can be found here:
C:\StellarisWare\docs
The next is ROM user's guide for your particular device:
http://www.ti.com/mcu/docs/mculuminarytechdocs.tsp?sectionId=95&tabId=2491&viewType=mostuseful&tabId=2491&rootFamilyId=4&familyId=1755&docTitle=ROM&docCategoryId=6
Lastly, please see the following forum posts which address this question:
http://e2e.ti.com/support/microcontrollers/stellaris_arm_cortex-m3_microcontroller/f/474/t/45786.aspx
http://e2e.ti.com/support/microcontrollers/stellaris_arm_cortex-m3_microcontroller/f/471/t/88396.aspx
There are many more forum discussions on this same topic if you type this in the search box: TARGET_IS AND ROM
Then check the box next to "Show Threads Only in the Search Results" when the search results appear. This will help narrow down your search to this specific topic and reduce the number of pages that appear.