Hello
I Was wondering if is possible to load, execute and debug code in the RAM of the AM2732? Could you recommend any example of the linker.cmd file or any example run in RAM?
Regards
Amine
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
I Was wondering if is possible to load, execute and debug code in the RAM of the AM2732? Could you recommend any example of the linker.cmd file or any example run in RAM?
Regards
Amine
Hi Amine LTAIEF
I Was wondering if is possible to load, execute and debug code in the RAM of the AM2732? Could you recommend any example of the linker.cmd file or any example run in RAM?
Yes, you can import a hello world example in ccs(it has linker file in it : https://software-dl.ti.com/mcu-plus-sdk/esd/AM273X/latest/exports/docs/api_guide_am273x/CCS_PROJECTS_PAGE.html#autotoc_md241
Next please refer below documentation for details:
software-dl.ti.com/.../CCS_PROJECTS_PAGE.html
Let me know if you need more help
Thank you so much for your answer
Unfortunately by following the document,I didn't succeed to enter in debug session (please refer to the attachment). I need to enter in debug session by loading the code in RAM and debug from Ram as well (I don't have qspi flash memory).
Regarding the the message in the attachment, I think that the error is related to the linker.cmd file (link image to 0x0 of the flash qspi).
Regards
Amine
Hi Amine,
Step 1 would be to identify boot mode are you using? Use below link to identify
Step 2: Setup your device either in UART or NO-BOOT mode.
Step 3:Load your application and then use CCS to debug the application.
Hi Nilabh,
I followed the described steps but I always have this problem,
SOP0 = 1
SOP1=0
SOP2=1
Regards,
Thank you for your reply,
still the same issue!
Can it be security enbaled on the device ? if yes, how is possible to remove it ?
regrads
Amine
Hi Amine LTAIEF,
SOP0 = 1
SOP1=0
SOP2=1
This seems like UART Boot Mode.
While you are using debugger to load the code, my suggestion would be to use NO BOOT MODE.
Try with this boot mode.
Best Regards,
Aakash
Hi Aakash,
Thank you so much for your help!
Yes now it Works fine with No boot configuration.
Regards