Question about Flash MPC5777C

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

Question about Flash MPC5777C

ソリューションへジャンプ
2,022件の閲覧回数
20Sidar04
Contributor III

Dear Mr. /Mrs,

I use MPC57777C. After writing four bytes of data to the first starting address of block 0, I want to write the other four bytes of data sequentially to it. When I want to debug in memory, I see some data as 0. I observe some bits set in some data. The reference manual also states that ecc is on 64 bit and writing 32 bits twice in 64 bit double word memory area will generate an error. but in this picture 4 times successful 32 bits were written between 0x00 and 0x10. what is its reason? (2) Why write 0x20 when 0x24 path is 32 bit 0.

flash.jpg

タグ(2)
0 件の賞賛
返信
1 解決策
2,006件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, you apparently does not perform program operation correctly.

davidtosenovjan_0-1649858563312.png

davidtosenovjan_1-1649858633233.png

8 words per 32 bits is 32 bytes i.e. address range 0-0x1F, how you have it.

You will to perform multiple program operations, aligned per 64-bit ECC boundary

 

 

 

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
2,007件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Hi, you apparently does not perform program operation correctly.

davidtosenovjan_0-1649858563312.png

davidtosenovjan_1-1649858633233.png

8 words per 32 bits is 32 bytes i.e. address range 0-0x1F, how you have it.

You will to perform multiple program operations, aligned per 64-bit ECC boundary

 

 

 

0 件の賞賛
返信
2,001件の閲覧回数
20Sidar04
Contributor III

Dear David, 

Thanks for precious comments for my question. I use interlock programming. Firstly, I programmed 4 byte data on 0x00000000-0x0000004. I locked this adress. After that I programmed 4 byte data on 0x0000004-0x00000008. I ocked again. But this type of programming should cause ECC error for user manuel. Why happened like this?

Best Regards.

0 件の賞賛
返信
1,924件の閲覧回数
davidtosenovjan
NXP TechSupport
NXP TechSupport

Understandably, how I said ECC is writen for 64-bit i.e. 8 bytes. You must write 8 bytes at once (per one sequence). And you may may write up to 32 bytes per one sequence.

 

0 件の賞賛
返信