Accessing Internal Flash of MC9S12NE64

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Accessing Internal Flash of MC9S12NE64

2,436件の閲覧回数
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 返信

417件の閲覧回数
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 件の賞賛