IAR with TRK-KEA8, can't debug

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

IAR with TRK-KEA8, can't debug

跳至解决方案
897 次查看
dsula
Contributor II

Hi,

I'm not able to program and debug the TRK-KEA8 demo board, neither through the openSDA connected directly to the board's USB port, nor through a J-LINK programmer connected to J12 on the board. I'm using IAR 7.2.

Does anybody know how to get it working with IAR? I have no problem using the Kinetis Design Studio, just with IAR it don't work.

Thank you.

标签 (1)
0 项奖励
回复
1 解答
711 次查看
dsula
Contributor II

Ok, I found the solution, at least for openSDA.

1. Install openSDA drivers from PE Micro.

2. check "use flash loader" in IAR openSDA configuration

Now let's see if I can get the J-link working too...

在原帖中查看解决方案

0 项奖励
回复
3 回复数
712 次查看
dsula
Contributor II

Ok, I found the solution, at least for openSDA.

1. Install openSDA drivers from PE Micro.

2. check "use flash loader" in IAR openSDA configuration

Now let's see if I can get the J-link working too...

0 项奖励
回复
711 次查看
Jorge_Gonzalez
NXP Employee
NXP Employee

Hello Daniel:

Good to know that you resolved it with OpenSDA.

What about J-Link? Is it working?

- First you have to select J-Link in the Debugger options:

pastedImage_0.png

- Then from the J-Link/J-Trace menu under "Connection" make sure that SWD is checked:

pastedImage_2.png


Regards!,
Jorge Gonzalez

0 项奖励
回复
711 次查看
dsula
Contributor II

Yes, I got j-link working too, in the end.

It was the same problem as with openSDA. The "use flash loader" must be checked in the debug configuration.

Daniel

0 项奖励
回复