Corrupted metadata and hardfaults

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

Corrupted metadata and hardfaults

ソリューションへジャンプ
1,555件の閲覧回数
Catosh
Contributor IV

Hi all; 

I noticed a fancy behavior using S32ds and segger jlink. 

I have a fully working project, sometimes I need to make some edits and reload the project.  Out of the blue, I get an hard fault on the MCU where it should generally execute the systick handler. 

Exploring the bin, I can see that the address of the systick ISR is the one I expect, where I expect it. 

Flashing the MCU using the binary and segger jlink everything works fine.

Flashing the MCU inside Design studio using segger in debug mode it gets the hard fault. 

Many possible fault paths here, but what I found out is that erasing Eclipse metadata and re-importing the project WITHOUT any change fixes the issue. 

Any hint on this point? IT took almost a work week to figure out what was wrong (omitting some verbose detail here) and I think it would be beneficial to have some insight on this point for other developers facing similar issues. 

K.R..

0 件の賞賛
返信
1 解決策
1,419件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Sumarry: 

The issue is caused by breakpoints on un-existing code line - typically when you turn optimization and left breakpoints on place which was removed by optimization. Solution is just turn off all breakpoints in this situation. 

Jiri

元の投稿で解決策を見る

4 返答(返信)
1,420件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Sumarry: 

The issue is caused by breakpoints on un-existing code line - typically when you turn optimization and left breakpoints on place which was removed by optimization. Solution is just turn off all breakpoints in this situation. 

Jiri

1,419件の閲覧回数
Catosh
Contributor IV

Hi Jiri, 

I stored the 7zip of the metadat but I don't think I can share it with everyone (but pelase, be aware that I have really NO IDEA of what the content of a metadata folder is).

BTW, I figured out also that it's enough to erase the current debug configuration and to create a brand new one. 

0 件の賞賛
返信
1,418件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

you can send it to my address - jiri.kral@nxp.com . I'll try figure out what's going on. 

Jiri 

1,418件の閲覧回数
jiri_kral
NXP Employee
NXP Employee

Hi, 

thanks for sharing your issue. In previous S32DS versions sometimes creating new workspace solved some issues, but this should be fixed in current release. 

It is possible get the corrupted meta data and share it? 

Jiri

0 件の賞賛
返信