Other Parts Discussed in Thread: SYSBIOS
Hi Good Day,
I follow this document USB Serial Device Firmware Upgrade (DFU) , to modify the bootloader occupied flash memory space,
the original bootloader default value is 16KBytes (0x4000), if the modified space is more than 32KBytes,
using the bootloader to download the application, the device will be re-powered,
it will not jump to the application side, I don't know where the reason is.
Modify the following and modified areas marked in red
bootloader
bl_config.h
#define APP_START_ADDRESS 0x00004000 -> 0x0000C000
#define VTABLE_START_ADDRESS 0x00004000 -> 0x0000C000
bl_link_ccs.cmd
MEMORY
{
// FLASH (RX) : origin = 0x00000000, length = 0x00004000
FLASH (RX) : origin = 0x00000000, length = 0x0000C000
SRAM (RWX) : origin = 0x20000000, length = 0x00040000
}
Application
tm4c129xnczad.cmd
MEMORY
{
// FLASH (RX) : origin = 0x00000000, length = 0x00100000
FLASH (RX) : origin = 0x0000C000, length = 0x000F4000
SRAM (RWX) : origin = 0x20000000, length = 0x00040000
}
application.cfg
/* place vector table at application start address */
var ti_sysbios_family_arm_m3_Hwi = xdc.useModule('ti.sysbios.family.arm.m3.Hwi');
ti_sysbios_family_arm_m3_Hwi.resetVectorAddress = 0x0000C000;
Ray Yang