I have created a secure bootloader that can upgrade the code in the secure flash. It works well in TMX device, but does not work in TMS device.
The bootloader uses the flash API F021_API_F2837xD_FPU32.lib in controlSuite Device Support v150 to program the flash. This lib is loaded in the _ramfunc and this part of the memory is also secure. Whenever I make the chip secure or just the destination code location secure, the bootloader cannot program the flash.
Just wonder if there is any changes in the TMS devices that may cause this behavior and the work around to this behavior.
Thanks,
Jonathan