IAR with TRK-KEA8, can't debug

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IAR with TRK-KEA8, can't debug

Jump to solution
733 Views
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.

Labels (1)
0 Kudos
1 Solution
547 Views
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...

View solution in original post

0 Kudos
3 Replies
548 Views
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 Kudos
547 Views
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 Kudos
547 Views
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 Kudos