How to change the UART bootloader start address for EFM32JG/PG?
The EFM32JG/PG pre-programmed bootloader is located in 0x0FE10000 and this bootloader flash area is readable by software but not writable.
To customize the bootloader, change the start address in config.h header file from 0x0FE10000 to 0x0 as shown below.
#elif defined(_SILICON_LABS_32B_PLATFORM_2) #define BOOTLOADER_SIZE (10*1024) #define BOOTLOADER_START_ADDR (0x0FE10000) #define APPLICATION_START_ADDR (0)
Customized settings (e.g. bootloader size is 4 KB):
#elif defined(_SILICON_LABS_32B_PLATFORM_2) #define BOOTLOADER_SIZE (4*1024) #define BOOTLOADER_START_ADDR (0) #define APPLICATION_START_ADDR BOOTLOADER_SIZE