NXP S32k312 debugger connection issue after adding Image Vector Table Marker

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

NXP S32k312 debugger connection issue after adding Image Vector Table Marker

229 次查看
dextervictoria
Contributor I

Hi,

I'm using S32k312 (100 pin)which is working perfect with debugger. I need to add Image Vector Table at location 0x400000 for working without debugger. When I add this change, software run fine without debugger but when connected back to debugger, breakpoints are not hitting in initial code start areas like startup code, main function etc (program continuously running).

What will be the reason for this?

Thanks and regards
Dexter.

0 项奖励
回复
3 回复数

180 次查看
dextervictoria
Contributor I

Hi Daniel,
I placed IVT at 0x400000 address. I'm using isystem debugger. Also tested in Lauterbach; shows same behaviour.
Breakpoints at initial functions like boardstart, main, other init functions are not recognised. But break points are recognised from cyclic os tasks.

Regards,
Dexter.

0 项奖励
回复

143 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @dextervictoria,

I understand you are attaching the debugger while the MCU is already running, that mean after the startup code.

With Lauterbach, you can use a script like this:

SYStem.CPU S32K312
wait state.power()
SYStem.Mode Attach
Break

This should wait while the MCU is not powered, and attach/break once the MCU is powered.

 

Regards,

Daniel

 

 

 

 

0 项奖励
回复

196 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi Dexter,

The SBAF searches for a valid IVT at these addresses only:

danielmartynek_0-1724831210980.png

What debugger do you use?

 

Regards,

Daniel

 

0 项奖励
回复