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 am trying to use LM Flash Programmer build 1588 to program a TM4C129 empty board using UART, but I get error all the time.
When I use Auto Buad Enable, it think for a few seconds and then say "failed to syncronized..."
When I Disable Auto Buad it think for a few seconds and then say "failed to establish connection..."
Interesting to know that when I elect "TM4C129X Development" and JTAG/ICDI interface, it manage to program ok - no problems.
BUT, I want to use the UART interface with the factory ROM-Boot loader (not mine!)
I know that the FLASH few first dwords must be clear to 0xFF in order for the BOOT ROM code to start working, and I do clear them using the JTAG
However the ROM refuse to connect over serial.
What do I do wrong? Where the hell is the instructions or documentation about the ROM-Version of boot-loader.
Hi again,
Thanks for reply.
There is NO connection to BOOTCFG, as the manual say that when the FLASH 2 first words are cleared (0xFF) the ROM loader will automaticly start.
In the meantime, I've manage to program it.
It seems that only after reseting the board it waits for incoing over serial, and uncheck of auto-baud do the work.
It not very clear in the manuals, but it works ... :-)
Still 2 questions:
1. How can I instruct TI-BOOT-ROM to load the given BIN file to SRAM instead of burning into FLASH?
2. If not, Do you have sample IAR / TM4C129 environment example code that load itself to SRAM from FLASH?
Amir-Yungman said:1. How can I instruct TI-BOOT-ROM to load the given BIN file to SRAM instead of burning into FLASH?
I would be really surprised if the bootloader supported such a futile operation.
Amir-Yungman said:2. If not, Do you have sample IAR / TM4C129 environment example code that load itself to SRAM from FLASH?
With IAR-WB, use '__ramfunc'.
If you, "do not burn the Flash" how have you verified that the MCU's flash (which is H/W) performs properly & is "ok?"
Must not the code change from your proposed, "Storage entirely w/in Sram" (which assumes that's even possible - as Flash size most always exceeds Sram size.) Thus - at some (later) point - different code must be created & test/verified running from Flash - is that not true? Such can only delay & complicate the release of product...
Having been in the biz beyond 20 years - I cannot recall such, "do not burn advice!" (and firm/I produced sufficient product numbers to "go public...") You are correct for past/retired "OTP" devices - yet modern MCUs accept hundreds of program cycles - MANY here would LOVE to discover your reference to/for such advice... (which likely is "out of context" or very mistaken!)
Poster f.m. is a highly skilled, caring contributor - both this forum & others - not every post or submitted approach is to be applauded...