we are developing bootloader for MPC5777C controllers. we have downloaded drivers and all are working fine. For our application we are using low,mid,HIgh blocks of flash for some data storage. Large block is using for code storage.When iam dumping the code using S32DS IDE only large block of flash is erasing and low,mid & high blocks are not erasing. Kindly suggest the settings to be changed for erasing of low.mid& high blocks of flash for evrytime code dumping through S32DS IDE.
Thanks & regards,
I tested the empty srec flashing - and it is working. But using this method is not so comfortable. You need to flash another project prior to debug your main application. But it is only working workaround as I know.
In attachment is project including empty srecord for 0x000000-0x03FFFF range. For erasing just run debug in this project. Make sure that you are using alternative programming algorithm:
I'm going to add more generic howto including python srec generator script in documents.
this is PE Micro issue PE Micro doesn't touch block which is not used for flashing. The workaround is generate .srec file with empty data for each particular block. I did not test it yet - I'll do that later today and let you know.