NXP S32k312 debugger connection issue after adding Image Vector Table Marker

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

NXP S32k312 debugger connection issue after adding Image Vector Table Marker

228件の閲覧回数
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 返答(返信)

179件の閲覧回数
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 件の賞賛
返信

142件の閲覧回数
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 件の賞賛
返信

195件の閲覧回数
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 件の賞賛
返信