Read Content of P_Flash From BootLoader

Showing results for 
Search instead for 
Did you mean: 

Read Content of P_Flash From BootLoader

Contributor I

Hi, I'm working on a bootloader program based on AN4258 application note for MC9S12G128. I'm downloading program from CAN and saving the content on P-Flash addresses mentioned in s19 file. After writing is finished, I want to check that if data written correctly. CRC32 is used for this purpose. But when I want to read the content of P-Flash addresses using pointers, it returns me 0xFF or 0x00. I have multilink & can see the amount of Flash in Hi-wave is correct. Any guide to read content of P-Flash correctly. It that cause can it be used as EEPROM for writing data?

Thanks for your responses.

0 Kudos
0 Replies