Unable to find OpenSDA serial ports

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

Unable to find OpenSDA serial ports

3,960 Views
easyfarmautomat
Contributor I

I have three FRDM-KL25Z boards. I follow the instructions and can bring up the boatloader drive.

I can download the DEBUG-APP_Pemicro_v102.SDA program, and (after disconnecting and reconnecting the USB cable) I get the Jungo/PEMicro OpenSDA Debug Driver and the Ports/OpenSDA - CDC Serial Port devices coming up in the Device Manager. In the Devices and Printers window I see, under a 'Unspecfied' tab, an OpenSDA Hardware device.  Also the green light stays on on the board.

I can download the MSD-FRDM-KL25Z_Pemicro_v105.SDA program and (after reconnecting) I get the FRDM-KL25Z drive appearing, and also i get the Ports/OpenSDA-CDC Serial Port in the device manager. I can also drag and drop a program (ie Blinky) into the drive and it will run. In the Devices and Printers window I see a PEMicro/Freescale-cdc Serial Port under the Devices tab. Also the green light on the board remains on.

However when I copy the CMSIS-DAP_OpenSDA.S19 program into the bootloader the only thing I see in the device manager list is a new entry for a Human Interface Devices, which has two entries under it, 'HID-compliant device' and a 'USG Input Device'. There are no serial ports shown. In the Devices and Printers window I see, under the Unspecified tab, an OpenSDA CMSIS-DAP device. The green light on the board does not remain on. And I cannot access the board to download a program from the CooCox IDE (It says  CMSIS-DAP not found, make sure adapter is connected).

I have tried this on two separate FRDM-KL25Z boards, and on neither does the CMSIS-DAP program produce a serial port. The computer I am using is a Windows 7 machine. I have also tried loading the CMSIS-DAP program to the board using my Windows 7 laptop, with the same results (no serial port). I have also tried loading the CMSIS-DAP program using an old Windows XP machine, still no serial port found, but in both cases two extra entries appeared the generic Human Interface Devices tab in the device manager.

I have also tried un-installing and re-installing the drivers from PEMicro (many times), to no avail.

If someone could please tell me what I am doing wrong I will appreciate it.

Thankyou,

David.

Tags (1)
0 Kudos
4 Replies

1,015 Views
JimDon
Senior Contributor III

If you load CMSIS-DAP_OpenSDA.S19 you will see a HID device, because a ULINK is a HID device (and needs no driver installed ), and that is what (I believe) this is for.

Keil does not claim to support a CDC device as well in CMSIS-DAP.. If you are planning to use uVision or CooCox, or another ULINK compatible IDE, then perhaps this is what you want.

If you are planning on using CW and want the CDC port, then you want the DEBUG-APP_Pemicro_v102.SDA. Note that Keil uVision works with this as well.

1,015 Views
easyfarmautomat
Contributor I

Thanks for the information, I wasn't fully aware of how the OpenSDA communications worked. I have managed to get a test program working with the Code-Red software suite, so I may or may not get back to working out what is wrong with my CooCox installation.

0 Kudos

1,015 Views
santiago_gonzal
NXP Employee
NXP Employee

Hello David,

Have you followed the steps in CooCox's guide?

http://www.coocox.org/downloadfile/CoIDE/How_to_use_OpenSDA.pdf

I have done it and worked for me. Try to download the last version of CMSIS-DAP. PEMicro drivers shouldn't be necessary.

1,015 Views
easyfarmautomat
Contributor I

Yes I did follow the guide, but it didn't work. I am thinking there is something wrong with my CooCox installation.

Thank you for your reply.

0 Kudos