I'm trying to make a dump of the full flash memory of the MC9S08AC96 chip,
which has a 96K FLASH memory.
But I'm a bit confused by the memory map in the specifications:
I can successfully make a dump of the flash memory in these ranges: 1870 -
3FFF (PPAGE=0), 4000 - 7FFF (PPAGE=1) and C000 - FFFF (PPAGE=3).
When I verify the dump of these ranges it's successful. But that's only
42,896 bytes in total:
I have the feeling I have to include other memory ranges as well to dump the entire flash memory (PPAGE=2 ?, PPAGE=4?, PPAGE=5?).
But when I include other ranges, verifying the dump results in an error
saying "Readback of the flash contents does not agree with buffer",
indicating that I have selected a non-flash address range when making the
dump.
Ok, I found that in the specifications it is stated PPAGE = 78, so I have to set it to 'paged memory' when reading. Now I can succesfully read PPAGE=0, PPAGE=1, PPAGE=2, PPAGE=3, see attached picture :-) .
But I'm still not at 96K... Still missing is PPAGE=4 and PPAGE=5.
Where are they hiding? If I set the address to 10000 - 13FFF and 14000 - 17FFF I get an error.
Anyone?
Someone in the NXP forum solved the question: [https://community.nxp.com/t5/OSBDM-and-TBDML/USBDM-making-full-flash-memory-dump-of-MC9S08AC96/m-p/1993740]
Thanks!
Hi there,
I'm trying to make a dump of the full flash memory of the MC9S08AC96 chip,
which has a 96K FLASH memory.
But I'm a bit confused by the memory map in the specifications:
I can successfully make a dump of the flash memory in these ranges: 1870 -
3FFF (PPAGE=0), 4000 - 7FFF (PPAGE=1) and C000 - FFFF (PPAGE=3).
When I verify the dump of these ranges it's successful. But that's only
42,896 bytes in total:
I have the feeling I have to include other memory ranges as well to dump the
entire flash memory (PPAGE=2 ?, PPAGE=4?, PPAGE=5?).
But when I include other ranges, verifying the dump results in an error
saying "Readback of the flash contents does not agree with buffer",
indicating that I have selected a non-flash address range when making the
dump.
Does anyone know what I should do? Thanks!
Ok, I found that in the specifications it is stated PPAGE = 78, so I have to set it to 'paged memory' when reading. Now I can succesfully read PPAGE=0, PPAGE=1, PPAGE=2, PPAGE=3, see attached picture :-) .
But I'm still not at 96K... Still missing is PPAGE=4 and PPAGE=5.
Where are they hiding? If I set the address to 10000 - 13FFF and 14000 - 17FFF I get an error.
Anyone?
Someone in the NXP forum solved the question: [https://community.nxp.com/t5/OSBDM-and-TBDML/USBDM-making-full-flash-memory-dump-of-MC9S08AC96/m-p/1993740]
Thanks!
Last edit: Ano 2024-11-19