SamD21E18A native USB not recognized

Hello I'm building a clone of the arduino zero and I'm trying to get the Native USB to upload sketch. But i ran into a problem windows 10 device manger says it can not recognize the USB port. I looked at This Website. But i can not Get the native USB to see in windows. Does anyone know why This happens or how i can fix it? If it is a programming problem or hardware.

Joseph

What method did you use to program the bootloader into the chip? How do you know it worked?

Hello Paul i took a normally arduino zero board and took off the two resistors turned it into a SWD programmer. I connected to the pcb of the board i put together. In the IDE i Selected arduino the com port 16 Arduino zero programm port. Then i selected arduino zero program in the board mangement, Followed by Atmel EDBG in the programmer. I clicked on the burn bootloader. After burning bootloader it it was a success. I did a quick upload of a blink led sketch that took led started to blink.

Joseph

You uploaded the blink sketch using the same method as you uploaded the bootloader? Did the blink sketch over-write the bootloader? I have made that mistake before when uploading bootloader to atmega328!

I burned the bootloader then After that I uploading the blink led sketch the led blinks off and on for one second. So the sketch works. i did a Normal sketch upload.

Edit: I have burned bootloader before without any problem. But this is the first time Trying to use the native USB on one of these boards.

Joseph

Here is a screenshot of the device manger with this error.

Joseph

Yes, I see.

Can you try connecting it to a Linux machine? Does that recognise it?

I don't have a linux system setup here. I'm at my fathers house. I'm working on building one but short of parts right now.

Edit: My laptop is all i got at the moment. I have tried different cables. I even tried my wife laptop i got the same thing.

Joseph

Is the samd chip connected via a usb hub or direct to the laptop? If direct to the laptop also does not work, then I'm sorry, but I don't use Windows enough these days to know how to fix that.

Directly into my laptop. I don’t used sub hubs or docs.

Joseph

I’m going to try to setup a Linux desktop later tonight and see what if it will see it.

Hello, Just a update. I have over 30 USB coards. All of them besides 2 didn't work. 2 of them worked and now it can see a com port. It says Arduino Zero Native port 39.

When i tried to program it i get this error.

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\jJc\AppData\Local\Arduino15\packages -hardware C:\Users\jJc\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\jJc\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\jJc\Documents\Arduino\libraries -fqbn=arduino:samd:arduino_zero_native -vid-pid=2341_804D -ide-version=10815 -build-path C:\Users\jJc\AppData\Local\Temp\arduino_build_377247 -warnings=none -build-cache C:\Users\jJc\AppData\Local\Temp\arduino_cache_375444 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.CMSIS.path=C:\Users\jJc\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.CMSIS-4.5.0.path=C:\Users\jJc\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.bossac.path=C:\Users\jJc\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0-arduino3 -prefs=runtime.tools.bossac-1.7.0-arduino3.path=C:\Users\jJc\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0-arduino3 -prefs=runtime.tools.openocd.path=C:\Users\jJc\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.10.0-arduino7 -prefs=runtime.tools.openocd-0.10.0-arduino7.path=C:\Users\jJc\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.10.0-arduino7 -prefs=runtime.tools.CMSIS-Atmel.path=C:\Users\jJc\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0 -prefs=runtime.tools.CMSIS-Atmel-1.2.0.path=C:\Users\jJc\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0 -prefs=runtime.tools.arduinoOTA.path=C:\Users\jJc\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\Users\jJc\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\jJc\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=C:\Users\jJc\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -verbose C:\Users\jJc\AppData\Local\Temp\arduino_modified_sketch_764522\Blink.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\jJc\AppData\Local\Arduino15\packages -hardware C:\Users\jJc\Documents\Arduino\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\jJc\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\jJc\Documents\Arduino\libraries -fqbn=arduino:samd:arduino_zero_native -vid-pid=2341_804D -ide-version=10815 -build-path C:\Users\jJc\AppData\Local\Temp\arduino_build_377247 -warnings=none -build-cache C:\Users\jJc\AppData\Local\Temp\arduino_cache_375444 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.CMSIS.path=C:\Users\jJc\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.CMSIS-4.5.0.path=C:\Users\jJc\AppData\Local\Arduino15\packages\arduino\tools\CMSIS\4.5.0 -prefs=runtime.tools.bossac.path=C:\Users\jJc\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0-arduino3 -prefs=runtime.tools.bossac-1.7.0-arduino3.path=C:\Users\jJc\AppData\Local\Arduino15\packages\arduino\tools\bossac\1.7.0-arduino3 -prefs=runtime.tools.openocd.path=C:\Users\jJc\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.10.0-arduino7 -prefs=runtime.tools.openocd-0.10.0-arduino7.path=C:\Users\jJc\AppData\Local\Arduino15\packages\arduino\tools\openocd\0.10.0-arduino7 -prefs=runtime.tools.CMSIS-Atmel.path=C:\Users\jJc\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0 -prefs=runtime.tools.CMSIS-Atmel-1.2.0.path=C:\Users\jJc\AppData\Local\Arduino15\packages\arduino\tools\CMSIS-Atmel\1.2.0 -prefs=runtime.tools.arduinoOTA.path=C:\Users\jJc\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.arduinoOTA-1.2.1.path=C:\Users\jJc\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.2.1 -prefs=runtime.tools.arm-none-eabi-gcc.path=C:\Users\jJc\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -prefs=runtime.tools.arm-none-eabi-gcc-7-2017q4.path=C:\Users\jJc\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4 -verbose C:\Users\jJc\AppData\Local\Temp\arduino_modified_sketch_764522\Blink.ino
Using board 'arduino_zero_native' from platform in folder: C:\Users\jJc\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.11
Using core 'arduino' from platform in folder: C:\Users\jJc\AppData\Local\Arduino15\packages\arduino\hardware\samd\1.8.11
Detecting libraries used...
"C:\\Users\\jJc\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10815 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d -DUSBCON "-DUSB_MANUFACTURER=\"Arduino LLC\"" "-DUSB_PRODUCT=\"Arduino Zero\"" "-IC:\\Users\\jJc\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS\\4.5.0/CMSIS/Include/" "-IC:\\Users\\jJc\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS-Atmel\\1.2.0/CMSIS/Device/ATMEL/" "-IC:\\Users\\jJc\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated" "-IC:\\Users\\jJc\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated-avr-comp" "-IC:\\Users\\jJc\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino" "-IC:\\Users\\jJc\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\variants\\arduino_zero" "C:\\Users\\jJc\\AppData\\Local\\Temp\\arduino_build_377247\\sketch\\Blink.ino.cpp" -o nul
Generating function prototypes...
"C:\\Users\\jJc\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -w -x c++ -E -CC -DF_CPU=48000000L -DARDUINO=10815 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d -DUSBCON "-DUSB_MANUFACTURER=\"Arduino LLC\"" "-DUSB_PRODUCT=\"Arduino Zero\"" "-IC:\\Users\\jJc\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS\\4.5.0/CMSIS/Include/" "-IC:\\Users\\jJc\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS-Atmel\\1.2.0/CMSIS/Device/ATMEL/" "-IC:\\Users\\jJc\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated" "-IC:\\Users\\jJc\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated-avr-comp" "-IC:\\Users\\jJc\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino" "-IC:\\Users\\jJc\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\variants\\arduino_zero" "C:\\Users\\jJc\\AppData\\Local\\Temp\\arduino_build_377247\\sketch\\Blink.ino.cpp" -o "C:\\Users\\jJc\\AppData\\Local\\Temp\\arduino_build_377247\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\jJc\\AppData\\Local\\Temp\\arduino_build_377247\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Users\\jJc\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" -mcpu=cortex-m0plus -mthumb -c -g -Os -w -std=gnu++11 -ffunction-sections -fdata-sections -fno-threadsafe-statics -nostdlib --param max-inline-insns-single=500 -fno-rtti -fno-exceptions -MMD -DF_CPU=48000000L -DARDUINO=10815 -DARDUINO_SAMD_ZERO -DARDUINO_ARCH_SAMD -D__SAMD21G18A__ -DUSB_VID=0x2341 -DUSB_PID=0x804d -DUSBCON "-DUSB_MANUFACTURER=\"Arduino LLC\"" "-DUSB_PRODUCT=\"Arduino Zero\"" "-IC:\\Users\\jJc\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS\\4.5.0/CMSIS/Include/" "-IC:\\Users\\jJc\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS-Atmel\\1.2.0/CMSIS/Device/ATMEL/" "-IC:\\Users\\jJc\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated" "-IC:\\Users\\jJc\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino/api/deprecated-avr-comp" "-IC:\\Users\\jJc\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\cores\\arduino" "-IC:\\Users\\jJc\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\variants\\arduino_zero" "C:\\Users\\jJc\\AppData\\Local\\Temp\\arduino_build_377247\\sketch\\Blink.ino.cpp" -o "C:\\Users\\jJc\\AppData\\Local\\Temp\\arduino_build_377247\\sketch\\Blink.ino.cpp.o"
Compiling libraries...
Compiling core...
Using previously compiled file: C:\Users\jJc\AppData\Local\Temp\arduino_build_377247\core\variant.cpp.o
Using precompiled core: C:\Users\jJc\AppData\Local\Temp\arduino_cache_375444\core\core_arduino_samd_arduino_zero_native_81d526ce4b9a4db2b9b4eec5bffee802.a
Linking everything together...
"C:\\Users\\jJc\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-g++" "-LC:\\Users\\jJc\\AppData\\Local\\Temp\\arduino_build_377247" -Os -Wl,--gc-sections -save-temps "-TC:\\Users\\jJc\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\samd\\1.8.11\\variants\\arduino_zero/linker_scripts/gcc/flash_with_bootloader.ld" "-Wl,-Map,C:\\Users\\jJc\\AppData\\Local\\Temp\\arduino_build_377247/Blink.ino.map" --specs=nano.specs --specs=nosys.specs -mcpu=cortex-m0plus -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -o "C:\\Users\\jJc\\AppData\\Local\\Temp\\arduino_build_377247/Blink.ino.elf" "C:\\Users\\jJc\\AppData\\Local\\Temp\\arduino_build_377247\\sketch\\Blink.ino.cpp.o" "C:\\Users\\jJc\\AppData\\Local\\Temp\\arduino_build_377247\\core\\variant.cpp.o" -Wl,--start-group "-LC:\\Users\\jJc\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\CMSIS\\4.5.0/CMSIS/Lib/GCC/" -larm_cortexM0l_math -lm "C:\\Users\\jJc\\AppData\\Local\\Temp\\arduino_build_377247/..\\arduino_cache_375444\\core\\core_arduino_samd_arduino_zero_native_81d526ce4b9a4db2b9b4eec5bffee802.a" -Wl,--end-group
"C:\\Users\\jJc\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-objcopy" -O binary "C:\\Users\\jJc\\AppData\\Local\\Temp\\arduino_build_377247/Blink.ino.elf" "C:\\Users\\jJc\\AppData\\Local\\Temp\\arduino_build_377247/Blink.ino.bin"
"C:\\Users\\jJc\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-objcopy" -O ihex -R .eeprom "C:\\Users\\jJc\\AppData\\Local\\Temp\\arduino_build_377247/Blink.ino.elf" "C:\\Users\\jJc\\AppData\\Local\\Temp\\arduino_build_377247/Blink.ino.hex"
"C:\\Users\\jJc\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\arm-none-eabi-gcc\\7-2017q4/bin/arm-none-eabi-size" -A "C:\\Users\\jJc\\AppData\\Local\\Temp\\arduino_build_377247/Blink.ino.elf"
Sketch uses 11440 bytes (4%) of program storage space. Maximum is 262144 bytes.
Global variables use 2188 bytes (6%) of dynamic memory, leaving 30580 bytes for local variables. Maximum is 32768 bytes.
processing.app.debug.RunnerException
	at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:152)
	at cc.arduino.UploaderUtils.upload(UploaderUtils.java:77)
	at processing.app.SketchController.upload(SketchController.java:732)
	at processing.app.SketchController.exportApplet(SketchController.java:703)
	at processing.app.Editor$UploadHandler.run(Editor.java:2055)
	at java.lang.Thread.run(Thread.java:748)
Caused by: processing.app.SerialException: Error touching serial port 'COM39'.
	at processing.app.Serial.touchForCDCReset(Serial.java:107)
	at cc.arduino.packages.uploaders.SerialUploader.uploadUsingPreferences(SerialUploader.java:136)
	... 5 more
Caused by: jssc.SerialPortException: Port name - COM39; Method name - openPort(); Exception type - Port busy.
	at jssc.SerialPort.openPort(SerialPort.java:164)
	at processing.app.Serial.touchForCDCReset(Serial.java:101)
	... 6 more

Joseph

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.