Closed gagnonpl closed 3 years ago
Dialogues are generated using wxFormBuilder. I have updated the .fbp file and reconciled generated .h and .cpp files with eeprom update which appears to have been done by hand. There should be no functional change - please check.
HCS12 devices have paged EEPROM (also called "D-Flash" for the first few pages (00-1F on my device)). To select the EEPROM page, a register called EPAGE is set. It's the exact same mechanism as PPAGE for flash pages, except that the window in local address space where the EEPROM page is accessed is different. AFAIK only HCS12 devices can page eeprom, HCS08s only page flash.
The device on which I tested is a MC9S12XEP768MAG, of the MC9S12XEP100 family. I was able to read out all the EEPROM pages.