Hi Expert,
I am not able to hit the main function after starting my debugging session with S32K144 and Segger J-Link. I have S32DS 2.2 which is what my project requires. While I start the debugging session, I come to init_data_bss function where data_ram when hoved over for the address value shows "Error cannot access memory @ address 0x1feaj(some address)". How to fix this issue? Please help me to fix this issue as soon as you can. BTW, I have checked the linker script and tried everything possible.
regards.
Harish.
Hi Harish,
Can you set a breakpoint at the init_data_bss() function and step the code?
Do you have HardFault handler implemented in the code?
https://community.nxp.com/t5/S32K-Knowledge-Base/Fault-handling-on-S32K14x/ta-p/1114447
Thanks,
BR, Daniel
Hi Daniel,
Is it memory issue that we need to handle in linker script which makes the variable pointers like data_ram to show "Error: cannot access memory @ address 0x1ffa0000". Also I cannot see data_ram in .map file.
r we doing any mistake here? We didnt consider flexram section while allocating for sram memory lengths.
We have allocated 64kb for sram without flexram. Please let us know what is the issue.
regards.
Harish.