The writing data issues of the S32K144 EEPROM

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

The writing data issues of the S32K144 EEPROM

跳至解决方案
273 次查看
RobinY
Contributor II

I refer the AN11983 to configure the EEPROM of S32K144, and the data can be written normally every 4 addresses such as 0x14000000 0x14000004, but if it is not the above address, for example, if the data is written in the 0x14000001 0x14000002 0x14000003, etc., the warning "Can't find a source file at "F:\...\...\Debug_FLASH/../Project_Settings/Startup_Code/startup_S32K144.S" " will appear, may I ask where I am not configured well, or is it some other reason?

0 项奖励
1 解答
134 次查看
RobinY
Contributor II

thanks for Julián help.The problem has been solved, and I found that it was my understanding of the pointer, and when I used the 8-bit pointer to point to the address, I was able to store the 8-bit data.

RobinY

在原帖中查看解决方案

0 项奖励
3 回复数
243 次查看
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @RobinY,

You can find the reason for this in section 3.2.1.3 (FlexRAM used for EEPROM quick writes) from AN11983:

Julin_AragnM_0-1712959697080.png

You can also refer to this community post for some notes: Solved: About S32K144 FlexRAM used for EEPROM quick writes - NXP Community

Best regards,
Julián

0 项奖励
193 次查看
RobinY
Contributor II

Hi,Julián

thanks for your reply.

But the problem i want to solve is write 8 bit data int any location of the 4k EEPRAM, but when i write 8 bit data int 0x14000001 or 0x14000002 or 0x14000003, or any other address that can not be Divisible by 4,  the warning is appear "Can't find a source file at "F:\...\...\Debug_FLASH/../Project_Settings/Startup_Code/startup_S32K144.S". 

i set the FlexRAM used for normal emulated EEPROM (No quick writes).

 

Best regards,
RobinY

0 项奖励
135 次查看
RobinY
Contributor II

thanks for Julián help.The problem has been solved, and I found that it was my understanding of the pointer, and when I used the 8-bit pointer to point to the address, I was able to store the 8-bit data.

RobinY

0 项奖励