My boot code starts with 0x000 and another application code starts from 0xD00. I have refered to the bsl code but in out hardware we are exposing UART only. Earlier we have used tm4C129 boards and the same way we are trying to flash the bin file from 0xD00 address we are using the following to flash. DL_FlashCTL_unprotectSector( FLASHCTL, write_start_addr, DL_FLASHCTL_REGION_SELECT_MAIN); DL_FlashCTL_programMemoryFromRAM(FLASHCTL,write_start_addr,(uint32_t *) src,2,DL_FLASHCTL_REGION_SELECT_MAIN); Are you suggesting to put bsl bsl_host_mcu_to_mspm0g1x0x_g3x0x_target_uart code. Our requirement is a bootloader code that is polling for uart for 30 seconds if on uart it is receiving the data then flash the bin file from 0xD00 and after 30 second it reads the address 0x00D and again if data is valid on 0x00D then boot from that location.
↧