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.

why do the boot_demo1 and boot_demo2 not work with LM Flash Programmer on EK-LM4F232?

Dear,

I appreciate if I could have your answer/suggestion/comment for following.

Question:
Why do the boot_demo1 and boot_demo2 not work with LM Flash Programmer on EK-LM4F232?
I'm not sure why .out and .bin have different phenomenon.

Board: EKS-LM4F232
boot_demo1/boot_demo2: TivaWare_C_Series-1.1
Code Composer Studio: version 5.4
LM Flash Programmer: Build 1470

I can have display message "The boot loader is now running and awaiting an update.", if I use Code Composer Studio.
But I cannot have the above display message, if I use LM Flash Programmer.

 

In other words,
if I load&run following boot_demo1.out with Code Composer Studio, then the LCD display above message:
\\TivaWare_C_Series-1.1\examples\boards\ek-lm4f232\boot_demo1\ccs\Debug\boot_demo1.out

But,
if I write following boot_demo1.bin with LM Flash Programmer, then the LCD don't display above message:
\\TivaWare_C_Series-1.1\examples\boards\ek-lm4f232\boot_demo1\ccs\Debug\boot_demo1.bin

Best regards,
Okayama

 

  • Okayama,

    There is often an address offset that needs to be accounted for when programming the .bin file.  In CCS this is accounted for within the .cmd file.

    In this case it would be found in the "boot_demo1_ccs.cmd" file.  See the  screen shot below:

    Within LM Flash Programmer, the "Erase Necessary Pages" option should be used.  Additionally, the "APP_BASE" value (0x2800) in this case should be entered in the "Program Address Offset" text box.

    This should solve your issue, please let me know if it does not.

    Regards,

    Chris