I am trying to learn bootloader basics, for beginning, I just want to run these three code samples.
So, I built all three code samples as is. Key points:
boot_demo1 and boot_demo2:
#define APP_BASE 0x00004000 #define RAM_BASE 0x20000000
boot_serial:
#define APP_START_ADDRESS 0x4000 #define UART_ENABLE_UPDATE
Then I execute "Debug boot_serial" command in CSS. I think that boot_serial design is loaded to the board, since previous design stops working. In CSS I have the following message:
CORTEX_M4_0: GEL Output:
Memory Map Initialization Complete
CORTEX_M4_0: AutoRun: Target not run as the symbol "main" is not defined
Now I execute "Debug boot_demo1" in CSS. LED1 starts to blink, as expected. When I press SW1, LED1 stops blinking, as described in the code sample documentation.
Now, I don't know how to continue. I want to load boot_demo2.bin and see that LED2 is blinking. Should I use LM Flash Programmer? What parameters to use?
If I disconnect the board from USB and connect it again, LED1 doesn't blink, boot_serial + boot_demo1 pair cannot start. So, I just need a simple description, how to make these three programs working.
My working environment:
Code Composer Studio Version: 6.1.3.00034
TivaWare_C_Series-2.1.3.156
Board: EK-TM4C129XL Rev D
Windows 10 x64