memory area from address 0xFD40 with size 2 is restricted for write in the memory configuration file

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

memory area from address 0xFD40 with size 2 is restricted for write in the memory configuration file

1,719 次查看
QuangCa
Contributor I

Hi NXP support team.

I using Codewarrior Version: 11.1

NMT88 EV board.

Bootloader:  PE multilink

When i loading hex file i meet  codeWarrior Alert " memory area from address 0xFD40 with size 2 is restricted for write in the memory configuration file"

What does this mean

QuangCa_0-1673692421454.png

 

0 项奖励
回复
7 回复数

1,564 次查看
windy
Contributor I

I also encountered exactly same problem with example project from NXP, "NTM88_LocAngle_XZ".

This project contains data in FLASH of address 0xFD66 - 0xFDFF, the trim area.

Can we ignore these message?

This is map file of this project.

Name                 Addr   hSize   dSize     Ref    Section   RLIB
---------------------------------------------------------------------
cau16BondwireLimits  FD66      10      16       0   .abs_section_fd66
cu16BondwireLimitXH  FD76       2       2       0   .abs_section_fd76
cu16BondwireLimitST  FD78       2       2       0   .abs_section_fd78
cu8SMISelfTestOff2   FD7E       1       1       0   .abs_section_fd7e
cu8SMISelfTestGain3  FD7F       1       1       0   .abs_section_fd7f

....

cu8Code1             FDFD       1       1       1   .abs_section_fdfd
cu8Code2             FDFE       1       1       1   .abs_section_fdfe
cu8Code3             FDFF       1       1       1   .abs_section_fdff
cu8FirmRel           FFAC       1       1       1   .abs_section_ffac
cu16TargetID         FFAD       2       2       0   .abs_section_ffad

windy_0-1676516921294.png

Thanks.

0 项奖励
回复

1,527 次查看
diazmarin09
NXP TechSupport
NXP TechSupport

Hello Windy, 

I hope all is great with you. 

The following response has been validated with one of our specialists:

Yes, it is normal. The warning informs the user that write and erase operations are prohibited on the trim page, in order not to erase or overwrite the trim coefficients.

So, just click “Yes” and go ahead with the programming.

In order not to see this message again, it is ok to tick “Remember my choice and don’t show this dialog”.

Please let me know if you find the information above useful.

Regards,

David

0 项奖励
回复

1,664 次查看
diazmarin09
NXP TechSupport
NXP TechSupport

Hello Quang,

I hope all is great with you.

This is because the trim coefficients are programmed by NXP between $FD40 and $FDFF.

Writing the FLASH memory is done byte by byte, but erasing it is done page by page. In the NTM88, a page is 512-byte long and the full FLASH memory contains 16 pages. The trim coefficients are located in the page that starts at address $FC00 and ends at address $FDFF.

I do not recommend to erase such values.

I hope this information helps.

Regards,

David

0 项奖励
回复

1,657 次查看
QuangCa
Contributor I

Hi diazmarin09
So how can i need to do to pass this alert. Do i need re-configure for flash.
Sorry i am a new in NXP chipset.
I ignore this alert and my program is still run well.
thanks,

0 项奖励
回复

1,653 次查看
diazmarin09
NXP TechSupport
NXP TechSupport

Hello Quang,

I am pleased to contact you again.

In this case, I do recommend running an example project and use it as a reference for your design. It would be helpful if you reviewed the FLASH memory handling.

Please let me know if you find the information above useful.

Regards,

David

0 项奖励
回复

1,692 次查看
vicentegomez
NXP TechSupport
NXP TechSupport

 I am really sorry I did not get properly your question, can you please give me more information

 

also please tell us the part number that you are using

 

regards

 

0 项奖励
回复

1,675 次查看
QuangCa
Contributor I

Hi Vicentegomez,

Sorry for my late reply, i am in vacation of new lunar year in Vietnam.

I mean when i flash the hex file in to NTM88H055 IC,

I meet this alert  " memory area from address 0xFD40 with size 2 is restricted for write in the memory configuration file"

So i worry about this alert make my code run fail.

But i check with this alert, my program run normal.

I don't know this alert for exactly what warning? Can you explain more for this alert?

thanks and best regards,

0 项奖励
回复