I want to read data from a file at the start up of my Hercules ucontroller code. Are there any hurdles to doing this that I should know about before I begin or is it file IO as usual?
Thank you,
Daniel
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.
Hi Dan,
For using printf in CCS, please refer to the thread below:
http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/323378/1126338#1126338
Regards,
QJ
HI QJ
I put the line:
/* USER CODE BEGIN (4) */
.sysmem : {} > RAM
/* USER CODE END */
in sys_lnk.cmd but my simple printf code is still not working.
PS: I just noticed that the line in question was already in sys_lnk.cmd. Still don't know how to get a simple read of an ascii file done before the code is flashed to the ucon. Please help.
Daniel