ZeroPiProject / ZeroPi_lib

This repository is for ZeroPi libraries and example code
16 stars 6 forks source link

error when upload to ZeroPi #2

Open ageeweb opened 8 years ago

ageeweb commented 8 years ago

I get error: Runtime Error: embedded:startup.tcl:60: Can't find C:\Users...\AppData\Local\Arduino15\packages\ZeroPi\hardware\samd\1.6.4/variants/zeropi/openocd_scripts/zeropi.cfg in procedure 'script' at file "embedded:startup.tcl", line 60

ageeweb commented 8 years ago

when rename zero.cfg to zeropi.cfg i get this error:

Open On-Chip Debugger 0.9.0-gd4b7679 (2015-06-10-22:24) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html debug_level: 0 adapter speed: 500 kHz adapter_nsrst_delay: 100 cortex_m reset_config sysresetreq Error: unable to find CMSIS-DAP device Error: No Valid JTAG Interface Configured.

ageeweb commented 8 years ago

error 2 found: select wrong "board" (programming port -> native USB)

YanMinge commented 8 years ago

Sorry for late reply. If you use normal USB cable connected with ZeroPi, you should choose the (Native USB Port). but if you use debugger. you should choose (Programming Port). and the issue for zero.cfg. we have fix on 14 Mar https://github.com/ZeroPiProject/ZeroPi_package/issues/2