Part Number: TMS570LS3137
Hello ,
This Query is with Boot Loader and usage of F021_API_CortexR4_BE_V3D16.lib , how to load the F021_API_CortexR4_BE_V3D16.lib dynamically in the RAM and execute not during power up sequence .
I have no errors erasing Sector 15 through 27 of FLASH BANK 1 .
Boot Loader is located and running at Sector 0 through Sector 7 of FLASH BANK 0,
During erase of Sectors 8 - 15 , there is no source code in these sectors located in FLASH BANK 0 . While Erase of Sectors of Bank 0 --- System Reset occurs at following FAPI instruction .
status=Fapi_setActiveFlashBank((Fapi_FlashBankType)0);
I have set the TMS570LS3137 in Safe Mode ( Enabling all safety features ) and also perform all safety library startup code .
And also please let me know if it is Mandatory to copy the FLASH API to RAM and execute Erase and Write from RAM for BANK 0.
Also Please help me with source code how to load FLASH API library into RAM (.test , .const ) at Run-time as the SRAM test would fail if we did load the FLASH API library into RAM initially itself as in .cmd file .
I want to do the following copy process at run-time after completion of SRAM test .
load = FLASH_API, run = SRAM, LOAD_START(api_load), RUN_START(api_run), SIZE(api_size)
Is there any errata that I should respect while doing erase of SECTORS 8 through 15 of FLASH BANK 0
Following image shows registers of FLASH WRAPPER before reset occurs
