Accessing Internal Flash of MC9S12NE64

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Accessing Internal Flash of MC9S12NE64

2,426 Views
tyson
Contributor I
Hi,
i'm working with MS9S12NE64 processor. Our requrement is such that i need to always have some 512bytes of memory in the flash which will act as database. i have chosen the FPROT as 0xFF, so that there is no protected area in my internal flash. and then i choose 0x4000 to 0x41FE as my area for storing the data. the problem that i'm facing is some what stringent. in most of the boards this configuration is working well... in the sense, once i write in to the flash in this location, even after power cycle the data is retained, which is a valid scenario. but, in some boards, once i do a power cycle the data is lost. and with that board alone, if i change the location to 0XC000 to 0XC1FE, the data is retained.
can anyone tell me which will the best location in the flash for storing my data base data of size 512 bytes?
Labels (1)
0 Kudos
1 Reply

407 Views
imajeff
Contributor III
Wouldn't it depend on what boards you are using? It sounds like some specific boards map RAM over the area where you placed the data.
0 Kudos