This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

writing to LPC901 Flash

Need some assistance. I'm using a Philips LPC901 and need to store a counter value in Flash at power down. I can read and write to flash as long as I use unsigned characters (8 bits) but I need to store a unsigned long to Flash. If I understand the LPC901 you can only write bytes for Flash data storage either single or multiple (I could be wrong on that). Is there a method to convert a unsigned long to 4 individual bytes for storage and then convert the bytes back to an unsigned long value.

Parents Reply Children
No data