MPC5744P

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
2,374件の閲覧回数
abdelrhman
Contributor III

I'm trying to erase and program flash sectors of MPC5744P, 64kb blocks, whose starting addresses are 
0x00FA0000, 0x00FB0000, 0x00FC0000, 0x00FD0000, 0x00FE0000, 0x00FF0000, are programmed as expected successfully. However, 256kb blocks, whose starting addresses are 0X01000000, 0X01040000, 0X01080000, 0X010C0000, 0x01100000, 0x01140000, 0x01180000, 0x011C0000, are not programmed successfully. they have un expected behavior, 128 bytes only which are programmed and flashed in the memory.

why does this happen?
thanks  

0 件の賞賛
返信
1 解決策
2,364件の閲覧回数
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I've just opened debugger and wrote to the flash at 0X01040000 with no issues on SPC5744P device:

petervlna_0-1667546008601.png

I expect you are not following programming procedure described in reference manual chapter 32.4.1.2 Program or 32.4.1.3 Erase

petervlna_1-1667546155547.png

petervlna_2-1667546170114.png

Please make sure you are following steps in reference manual.

Best regards,

Peter

 

 

 

元の投稿で解決策を見る

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

Hello,

I've just opened debugger and wrote to the flash at 0X01040000 with no issues on SPC5744P device:

petervlna_0-1667546008601.png

I expect you are not following programming procedure described in reference manual chapter 32.4.1.2 Program or 32.4.1.3 Erase

petervlna_1-1667546155547.png

petervlna_2-1667546170114.png

Please make sure you are following steps in reference manual.

Best regards,

Peter

 

 

 

0 件の賞賛
返信
2,359件の閲覧回数
abdelrhman
Contributor III

Thank you peter for your response.

Could you send me an example to erase and program in 256kB sectors??

0 件の賞賛
返信
2,352件の閲覧回数
abdelrhman
Contributor III

Hello peter
For you to know, I'm using C55 driver APIs
programming 64KB sectors were completed successfully but programming 256KB sectors were not  

0 件の賞賛
返信