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.
Tool/software:
Hello,
I am experiencing an issue with flashing a hex file onto my microcontroller. After building my project in release mode using CCS, the .hex file is created successfully. However, when I attempt to dump/flash this file into the microcontroller, it takes more than 20 minutes to complete. In contrast, the .out file flashes in minimal time.
Could you please advise why this might be happening? Are there specific settings in the hex utility that I need to adjust, or is there something else I should consider to resolve this issue?
Thank you for your assistance.
Hi Subham,
Can you check the size of both .out and .Hex.
Actually, i programmed both .out and .hex and i don't see much time difference.
I am also suggesting you try with Uniflash tool once,
UNIFLASH Software programming tool | TI.com
Using this tool also we can flash the .out or .hex or .bin to the Hercules controllers. Please check with this tool once.
--
Thanks & regards,
Jagadish.
Hi,
I wanted to share an update regarding the issue I was facing with the .hex file takes excessive time to flash on microcontroller. Despite both .out and .hex files being the same size, the flashing process using UniFlash was taking an unexpectedly long time.
After some research, I found a solution that resolved the issue. It involved setting the --memwidth
and --romwidth
flags to match the microcontroller's size. For instance, if the microcontroller is 32-bit, both flags should be set to 32-bit.
After configuring these flags accordingly, the flashing process was significantly improved.
Could you please confirm if this approach is correct?
Thank you for your assistance.
Best regards,
Shubham Ubare
Hi Shubham Ubare,
After some research, I found a solution that resolved the issue. It involved setting the--memwidth
and--romwidth
flags to match the microcontroller's size. For instance, if the microcontroller is 32-bit, both flags should be set to 32-bit.
Could you please compare the Hex files before after 32-bit width mentioning?
Please share the screenshot of the changes you are seeing on hex file.
--
Thanks & regards,
Jagadish.