IAR Cannot Download "Hello"

cancel
Showing results for 
Search instead for 
Did you mean: 

IAR Cannot Download "Hello"

3,902 Views
razed11
Contributor V

Hi,

 

I downloaded RTOS for Kinetis SDK 1.0.0 (Beta) and I have IAR 7.20.2 installed. I disabled MISRA checks as my IAR license does not support it and was then able to build the library and the Hello binary. I cannot download it however. IAR seems to think that I want to use the I-jet problem as it complains that it cannot find it even though CMSIS-DAP is selected in the debug options (attached image). The MBED filesystem mounts and I was able to copy a Hello problem and see the output on a serial terminal.

 

Mon Aug 18, 2014 15:37:34: Loaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0_2\arm\config\debugger\Freescale\

Kxx.dmac

Mon Aug 18, 2014 15:37:34: Loaded macro file: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0_2\arm\config\flashloader\Freescale\

FlashK60Xxxx128K.mac

Mon Aug 18, 2014 15:37:34: Loading the I-jet/JTAGjet driver

Mon Aug 18, 2014 15:37:39: Fatal error: Probe not found   Session aborted!

Mon Aug 18, 2014 15:37:39: Failed to load flash loader: C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0_2\arm\config\flashloader\

Freescale\FlashK64Fxxx128K.flash

Mon Aug 18, 2014 15:37:42: Loading the I-jet/JTAGjet driver

Labels (1)
0 Kudos
7 Replies

724 Views
anthony_huereca
NXP Employee
NXP Employee

Hi Kenny,

I see you already found a work-around your problem, but for anyone who is having the same issue, I'm pretty sure the problem is that the mbed driver wasn't installed on the host computer. Without that driver, both debugging with CMSIS-DAP protocol and serial communication will not work.

You can get the driver from here: http://developer.mbed.org/handbook/Windows-serial-configuration

Make sure you have the board plugged in when running the installer.

-Anthony

0 Kudos

724 Views
qingjunwang
Contributor III

hi Kenny Koller

Are you solved this problem? I met the same problem also.

0 Kudos

724 Views
razed11
Contributor V

Hi,

In the end I abandoned the SDK 1.0.0 Beta in favor of MQX 4.1.0.1 and have since written lots of code for this platform. I also use JLink and IAR. For the FRDM K64 board I drilled out J8 and J12 on the backside of the board and use the 9-pin Cortex connector in the top-center of the board. You can still use UART0 in this configuration as virtual COM port over USB.

Best of luck.

Kenny

0 Kudos

724 Views
qingjunwang
Contributor III

thank you!

0 Kudos

724 Views
mjbcswitzerland
Specialist V

Hi

You can use the PEMicro | OpenSDA debugger configuration with IAR. If you want to use CMSIS DAP (I think) you will need to load a different debugger to the board.

I use CMSIS DAP with Rowely Crossworks but always OpenSDA with IAR and IAR works perfectly with this one.

Regards

Mark

0 Kudos

724 Views
razed11
Contributor V

I'd like to understand why it is trying to use I-Jet at all. Seems like an IAR issue to me but I thought perhaps someone has seen this issue here. Have you actually tried the CMSIS-DAP with IAR and failed?

0 Kudos

724 Views
mjbcswitzerland
Specialist V

Hi

I never tried CMSIS-DAP with IAR since Open-SDA always worked fine. Next time I have the CMSIS-DAP debugger loaded I will give it a try out of interest.

Generally however I use KDS for all K64 developments since this is the Freescale mainstream solution. IAR produces tighter code (about -5%) and has a better debugger but the majority of support cases come from KDS users.

Regards

Mark

http://www.utasker.com/kinetis.html

0 Kudos