Is there any bootloader sample code available for MM9Z1J638?
When I'm going to erase the ROM sector using the following api.
ret = EraseSector(&ssdConfigPFlash, ROM_APP_START_ADDRESS,10,FlashCommandSequence);
my code is getting crashed with following message.
No source available for "0xAB40A7 (0xAB40A7)() "
Thanks!
Vivek Srivastava
Hi @vivek_sri,
Please refer to this thread:
https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MM9Z1-638-CAN-Bootloader/m-p/481382
All MagniV app noteas can be foundhere:
Regarding the error message, where is the code that launches the flash commands located?
As you can see in AN4723_SW, the Flash program / erase fundtions are moved to SRAM.
Because the flash cannot be programmed and read at the same time.
Regards,
Daniel
Thank you for the reply.
I moved the flash related functions to RAM similarly as done in the sample code "AN4723_SW".
But still when I'm calling the function to erase the flash. It is showing the same error in RAM location.
No source available for "0x001000 (0x001000)() ".
Hi @vivek_sri,
Which sector do you erase there?
At which point it fails? When the execution branches to the function in SRAM or when the flash command gets launched.
Can you please implement all of these ISRs with while(1) loops in them?
Thanks,
BR, Daniel