May I know once the device been connected and includes tree flashbankinfo and tree flashloader, will all the trree flashloader been load to the ram ?
Or just load either one at run time ?
Display All
Ex:
Using JLink.exe and connect MyTestDevice to execute test script as below:
JLink.exe -device MyTestDevice -if SWD -speed 75000 -CommandFile mytest.jlink -jlinkscriptfile .\JLinkSettings.JLinkScript
loadbin test1.bin 0x10000 => this address mapping to FL_Test1 and will use FL_Test1.FLM
loadbin test2.bin 0x40000 => this address mapping to FL_Test2 and will use FL_Test2.FLM
loadbin test3.bin 0x200000 => this address mapping to FL_Test3 and will use FL_Test3.FLM
The all loader will be loaded to ram or just load and overwrite previous one when loadbin ?
Thanks.
Or just load either one at run time ?
Source Code
- <Database>
- <Device>
- <ChipInfo Vendor="Mytest" Name="MyTestDevice" WorkRAMAddr="0x20000000" WorkRAMSize="0x00020000" Core="JLINK_CORE_CORTEX_M33"/>
- <FlashBankInfo Name="FL_Test1" BaseAddr="0x00010000" AlwaysPresent="1">
- <LoaderInfo Name="FL_Test1" MaxSize="0x00030000" Loader="FL_Test1.FLM" LoaderType="FLASH_ALGO_TYPE_OPEN" />
- </FlashBankInfo>
- <FlashBankInfo Name="FL_Test2" BaseAddr="0x00040000" AlwaysPresent="1">
- <LoaderInfo Name="FL_Test2" MaxSize="0x00010000" Loader="FL_Test2.FLM" LoaderType="FLASH_ALGO_TYPE_OPEN" />
- </FlashBankInfo>
- <FlashBankInfo Name="FL_Test3" BaseAddr="0x00200000" AlwaysPresent="1">
- <LoaderInfo Name="FL_Test3" MaxSize="0x00100000" Loader="FL_Test3.FLM" LoaderType="FLASH_ALGO_TYPE_OPEN" />
- </FlashBankInfo>
- </Device>
- </Database>
Using JLink.exe and connect MyTestDevice to execute test script as below:
JLink.exe -device MyTestDevice -if SWD -speed 75000 -CommandFile mytest.jlink -jlinkscriptfile .\JLinkSettings.JLinkScript
loadbin test1.bin 0x10000 => this address mapping to FL_Test1 and will use FL_Test1.FLM
loadbin test2.bin 0x40000 => this address mapping to FL_Test2 and will use FL_Test2.FLM
loadbin test3.bin 0x200000 => this address mapping to FL_Test3 and will use FL_Test3.FLM
The all loader will be loaded to ram or just load and overwrite previous one when loadbin ?
Thanks.