John,
I am not able to jump passed Fapi_setActiveFlashBank(). I looked at the MAP file and could not find _Fapi_setupFlashStateMachine().
I am using F021 Flash API 2.00.01 and the example UART bootloader software provided on the WIKI site. I am able to get a clean compile, so I am fairly certain I included the correct File Search Paths and Includes. I am using the file bl_link.cmd as provided by the WIKI bootloader software.
The following is included in this other gentlemen's MAP file and is not in mine:
F021_API_CortexR4_BE_v3D16.lib : FlashStateMachine.obj (.text:_Fapi_setupFlashStateMachine).
This is my flashAPI section:
flashAPI 0
00001200 00000980 RUN ADDR = 08002000
00001200 00000008 Fapi_UserDefinedFunctions.obj (.text)
00001208 000007a4 bl_flash.obj (.text)
000019ac 00000174 F021_API_CortexR4_BE_V3D16.lib : Program.obj (.text:Fapi_issueProgrammingCommand)
00001b20 0000000a : Utilities.CalculateEcc.obj (.tramp.Fapi_calculateEcc.1)
00001b2a 00000002 --HOLE-- [fill = 0]
00001b2c 0000000a : FlashStateMachine.IssueFsmCommand.obj (.tramp._Fapi_issueFsmCommand.1)
00001b36 00000002 --HOLE-- [fill = 0]
00001b38 0000000c : Read.MarginByByte.obj (.tramp.Fapi_doMarginReadByByte.1)
00001b44 0000000c : Async.WithAddress.obj (.tramp.Fapi_issueAsyncCommandWithAddress.1)
00001b50 0000000c : FlashStateMachine.EnableMainSectors.obj (.tramp.Fapi_enableMainBankSectors.1)
00001b5c 0000000c : FlashStateMachine.SetActiveBank.obj (.tramp.Fapi_setActiveFlashBank.1)
00001b68 0000000c : FlashStateMachine.InitializeFlashBanks.obj (.tramp.Fapi_initializeFlashBanks.1)
00001b74 0000000c sci_common.obj (.tramp.UART_putString.1)
Do you have any idea why this isn't being loaded into RAM as expected?
Do you know how I could manually map this to load?
Thanks,
Phillip