Hello,
I'm working on my boot loader based on MPC574x + S32 DS + P&E multilink. My boot loader and main APP have different project and flash section. Below are part of my ld file for main APP and BLD.
/********************* main APP Z4 core code placed here ******************/
Z4_APP_Header_text : org = 0x1000000, len = 64
Z4_APP_RAMFunc_text : org = 0x1000040, len = 16k
Z4_APP_text : org = 0x1004040, len = 1280K-16K-64
/********************* boot loader code placed here ******************/
bld_text : org = 0x00F90014, len = 73708
ramfunc_text : org = 0x00F96000, len = 8K
So my question is: how to make multilink only erase these two sections when debug boot loader project?
bld_text : org = 0x00F90014, len = 73708
ramfunc_text : org = 0x00F96000, len = 8K
When I debug my boot loader project, it will erase main APP(cod flash start from 0x1000000 ) automatically. It makes me difficult to debug my boot loader.
Hello,
open Debug Configuration of your project and click Advance Options.
Advanced Options window will be opened. There is Non-Volatile Memory Preservation feature which allows you to choose, which memory areas will not be erased during code downloading.
Regards,
Martin