Can not access memory

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Can not access memory

1,361 Views
dony
Contributor II

Hi,

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

pastedImage_1.png

4 Replies

1,209 Views
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 Kudos

1,209 Views
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 Kudos

1,210 Views
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 Kudos

1,210 Views
dony
Contributor II

Hi, Daniel

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

Anyway, thanks for your help.

BR, Dony