Accessing Internal Flash of MC9S12NE64

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Accessing Internal Flash of MC9S12NE64

2,442 次查看
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?
标签 (1)
0 项奖励
1 回复

423 次查看
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 项奖励