Can not access memory

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

Can not access memory

1,523 次查看
dony
Contributor II

Hi,

   How could I solve this issue? It occurs when i program on the S32K144-EVB.

pastedImage_1.png

4 回复数

1,371 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi,

Please have a look at this post:

Eclipse Community Forums: C / C++ IDE (CDT) » ARM Debugging in Eclipse OSX 

Thanks,

BR, Daniel

0 项奖励
回复

1,371 次查看
dony
Contributor II

Hi, Daniel

   According to your reply, I uncheck "Set breakpoint at" in the "Runtime options" subsection. But S32DS still indicates an error.

pastedImage_2.png

Before S32DS reported the issue "Can not access memory...", I modified the memory section of the application's linker file according to AN12218, S32K1xx Bootloader. pastedImage_5.png

Applicaton's memory section is shown below.

pastedImage_6.png

The application, downloaded by bootloader using UART, didn't work. So, I recovered the memory section, downloaded again by OpenSDA, and then, the issue "Can not access memory..." occured.

0 项奖励
回复

1,372 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi dony,

Hard to say. There could a problem in the bootloader.

Where is the bootloader located in the flash and how do you jump at the application?

What do you see in the debugger's console before the error message?

Have you tried loading an S32K144 example instead?

Do you have another debugger besides OpenSDA?

Thanks,

BR, Daniel

0 项奖励
回复

1,372 次查看
dony
Contributor II

Hi, Daniel

   Today, I reinstall the S32DS, and now everything is OK.

Anyway, thanks for your help.

BR, Dony