Other Parts Discussed in Thread: C2000WARE
Hi,
Working on the examples of the bootloader for a while now. A lot of reading and trying to get it to work with controlcard.
I need some guidance please:
1) what is the difference between LDFU (bank 0, 1) and DFU ? -> this shows in the menu
There are 7 different builds:
Bank0_LDFU
Bank0_LDFU_ROM
Bank0_NO_LDFU
Bank1_LDFU
Bank1_LDFU_ROM
Bank1_NO_LDFU
CPU1_RAM
What is used when? I cannot find this in any documentation.
2) I programmed Bank1_LDFU to the CC with CCS and then with the original serial_flash_programmer tool I programmed the kernel and then blinky application.
This is the only thing I get to work. The programing only works once. When I disable kernel programming in the tool, it does not work, only kernel+application. How should this work (flow)?
3) How can I debug the bootloader? I tried the CPU1_RAM build. But at start it will jump twice to "ESTOP0" and the waits for a character (and stays there). When stopping the debugger its at sci.h waiting for a character from the uart, I asume this is the function in the library.
4) Is it possible to use this bootloader without programming the 'kernel', so just the application. Which build should I use(to start with)?
In the end I want to have a bootloader that checks for a character at startup within 100ms to start the bootload process, if not it will jump to the application.
Best regards,
Ruud