AnsweredAssumed Answered

Writing a whole flash page in HCS08

Question asked by Giovanni Parodi on Mar 17, 2013
Latest reply on May 14, 2013 by Giovanni Parodi

Hello everybody, I have a question related to using flash on HCS08 devices.

I would like to use a whole flash page to store a set of informations that are crucial to my tasks.

I already integrated the source code provided with AN3942.pdf.

It works fine, but as far as I understood it allows only saving 256 byte using the FlashProgBurst routine (the size subroutine parameter is an unsigned char).
So I don't understand how can I use the whole flash page, that is the 512 bytes.

When I use the FlashErase, I erase the whole page, but when I use the FlashProgBurst I'm able to write only half a page.

Any hint will be appreciated.

Outcomes