MPC5744P

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决
2,369 次查看
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,359 次查看
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,360 次查看
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,354 次查看
abdelrhman
Contributor III

Thank you peter for your response.

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

0 项奖励
回复
2,347 次查看
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 项奖励
回复