Post Go back to editing

[ADICUP360]encounter an error message "unable to find CMSIS-DAP device".

Hello,

Congratulations releasing ADICUP360.

I have been trying to use ADICUP360 with following wiki information but encounter an error.

(I try to test blink project and GDB OPEN OCD debugger as following on Wiki instruction)


Eclipse fail to download elf file with error message as below.


Open On-Chip Debugger 0.10.0-dev-00025-g81cc011-dirty (2015-08-17-13:23)

Licensed under GNU GPL v2

For bug reports, read

  http://openocd.org/doc/doxygen/bugs.html

Info : only one transport option; autoselect 'swd'

adapter speed: 5000 kHz

adapter_nsrst_delay: 100

cortex_m reset_config vectreset

Error: unable to find CMSIS-DAP device

This error seems Eclipse cannot recognize ADICUP360 via USB port. (Because when I unconnected ADICUP360 with PC, Eclipse show the same error message as above.)

I suppose I miss something setting on ADICUP360 board.. But I can not figure out where is wrong...

Jumper and DIP SW setting are default.

I've tried also another ADICUP360 and other USB port and cable and several S1-S4 switch combinations but all fail.

I would appreciate if you have any suggestions.

Best regards,

Sofy

Hi Sofy,

Please make sure that you have jumpers J3 and J4 shorted, and that you are connected to the DEBUG USB port on the ADICUP360.

I'm wondering if the device driver for the USB port you are using wasn't properly installed.  It is important during the installation of the Eclipse IDE that the MBED drivers are completely installed before moving onto the next step.

Do you remember skipping over this step?  Or a prompt saying that the drivers were unsuccessful and instead of trying again, you may have moved forward?

Could you try connecting the DEBUG USB to a different USB port on your PC, and letting all the drivers completely install before using the Eclipse program?   If that doesn't work, it might be best to try and uninstall the software and try again.

Keep me posted

  • Hello, Thank you for your response!

    Your advise is right. When I re-install Eclipse again, I encounter an error as below.

    It seems failing to setup USB driver.

    I've tried push "install" button many times but never proceed forward. So I have an only choice to push "Cancel".

    After finish setup, I encounter same error as my 1st message in this topic. (Error: unable to find CMSIS-DAP device)

    So my problem's root cause is probably missing mbed USB driver, I suppose.

    Then, I got latest mbed driver as below URL link

    https://developer.mbed.org/handbook/Windows-serial-configuration

    file name is "mbedWinSerial_16466.exe"

    After setup this latest driver, mbed COM port appeared on my device manager as below.

    But still error is appeared but message is different like as below.

    Error: unable to open CMSIS-DAP device 0xd28:0x204

    Before message is "unable to find" but now "unable to open"

    I had reboot my PC and try another USB port as well, but situation is still same.

    Thank you for your help.

    Sofy

  • Hi Sofy,

    When reaching this step of installing the MBED drivers, has your hardware plugged in the entire time?

    You need to make sure that once you plug in the hardware for the first time, that you give your computer enough time in the background to install the hardware drivers.  This is easily found by looking at the lower right-hand corner of your Windows OS tool bar, and making sure that the drivers get successfully installed(could take a few minutes).  Then once this happens you can move onto the step that you showed above, where you can install the MBED driver.

    What I suspect is that the hardware is not being fully installed before you are trying to click install on the software side, and because of that it's not properly installing and can't find the hardware, so you can't get things to run. 

    Can you try uninstalling the Eclipse program, and the MBED driver you installed and start from scratch?

  • Hello,

    Sorry for my late response.

    I've tried again the setup from scratch with connected ADICUP360 entire setup steps.

    But situation is not change. (even  MBED driver bundled in ADuCM360-IDE is successfully installed)


    I will try to setup another PC.


    Best regards,

    Sofy

  • Hello,

    I've tried to setup ADICUP360 to another PC.

    There is no issue, very success to connect ADICUP360 and run.

    So the problem is my PC...not ADICUP360 Eclipse or mbed driver.

    Thank you for your advice.

    Best regards,

    Sofy

  • Hi Sofy,

    I still believe the hardware has not been installed at the appropriate time during installation, and once it fails the only way to correct it is to re-install the application.

    I had the software team update the installer package on the wiki, and I had them put a few new prompts which will hopefully clear things up.

    Can you uninstall the application and go up to the wiki and download the latest installer and try that version?  Also make sure that you are using the DEBUG port when plugging in the hardware, and that J3 and J4 have shunts on them.

    Brandon

  • Hi Brandon,

    Just wanted to chime in and mention that this resolved my issue. I installed the package without having a board connected and experienced the same error. Installing the MBED driver found here with admin privileges allowed me to load code and debug again!

  • Thanks Juan,

    Appreciate your input on the fix above.  This can be tricky when installing the software without the hardware, and was something that was an unintentional issue.

    I have also since created a walk through video on how to install the software, to help minimize those situations.

    http://www.analog.com/en/education/education-library/videos/4807230602001.html

    Cheers,

    Brandon