KL03Z enters unknown state

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

KL03Z enters unknown state

ソリューションへジャンプ
1,538件の閲覧回数
gnichimohamed
Contributor III

Hello

I have a custom pcb made out of KL03z microcontroller. I was debugging my application quite ok then suddenly the board is not debuggable anymore. I am using segger jlink to debug my app, flashing works ok but the program starts not in main.152542_152542.PNGdebug.PNG

As soon as i pause the debugging, things get weird.

152546_152546.PNGdebug2.PNG

Thanks for any help

ラベル(1)
0 件の賞賛
返信
1 解決策
1,386件の閲覧回数
gnichimohamed
Contributor III

it turned out to be an nmi_b interrupt that's causing  the problem. I had one pot at that pin, if the pot is low, that will cause an interrupt which stops everything. I had to disable the nmi interrupt from flash.

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,386件の閲覧回数
DavidS
NXP Employee
NXP Employee

Hi Gnichi,

Try removing all breakpoints and try again.

https://mcuoneclipse.com/2014/10/11/failed-to-debug-with-gdb-breakpoints-or-expressions-on-non-exist...

Regards,

David

1,386件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,

Maybe reloading the KDS tools/powering off/on the chip can make it work.

Regards

xiangjun Rong

0 件の賞賛
返信
1,386件の閲覧回数
gnichimohamed
Contributor III

Thank you guys for the answers, it seems that weird issues keep coming.

After two days leaving the boards, they are back working normally, i don't know what happened

0 件の賞賛
返信
1,387件の閲覧回数
gnichimohamed
Contributor III

it turned out to be an nmi_b interrupt that's causing  the problem. I had one pot at that pin, if the pot is low, that will cause an interrupt which stops everything. I had to disable the nmi interrupt from flash.

0 件の賞賛
返信