I've bought an Arduino Zero Pro from https://www.coolcomponents.co.uk/the-arduino-zero-pro-32-bit-with-debug-interface.html.
First of all, I've tried the Arduino IDE 1.7 with the programming port, and the Blink uploaded successfully.
After that, i wanted to try the debug. So i've connected the programming port and used the Atmel Studio 6.2. It detected the EDBG and wanted to update the firmware.
The firmware upgrade was successfully and then i tried to debug a blink on AS: didn't work. My first thought was the EDBG firmware was no OK (very big mistake) so i Google it and found the command to manually update the EDBG firmware.
atfd -t edbg -a edbg_fw.zip
I've asked support to Arduino.org and they point me to the ATSAMD21G18A bootloader and told me to upgrade it. I was unable to do it because the board stop programming.
One day later, i've bought an Atmel-ICE (yes it was more expensive than buying another Zero) and manage to do step by step their recommendations:
1) Start AtmelStudio 2) Plug in the Arduino Zero Pro by means of th programming port to your PC 3) Select "Tools -> Device Programming" 4) Select "EDBG" + "ATSAMD21G18A" + "SWD" 5) Click on "Apply" 6) In the "Memories" field select "Erase Chip" and then click on "Erase now" 7) Move to "Fuses" section 8) Set "NVMCTRL_BOOTPROT" to 0x07 9) Click on "Programming" 10) Move to "Memories" section 11) In "Flash (256KB)" section select the boolader file (bootloader_zero_pro_150226.hex) attached 12) Click on "Program"
Now the board flashes the Leds, the native port gets recognized again but the problem with the EDBG remains: The serial number is not recognized.
I found a similar problem with the Atmel Xplained Minis and the have a executable to fix the serial number (http://spaces.atmel.com/gf/project/avr_xp_mini/news/?id=75) but i can't find anything related to EDBG.
I've also asked support to Atmel and they said gently that i must ask support to Arduino.org :)
Anyone knows a way to fix this serial number not recognized issue?
The images are attached.