I can’t connect to board from Arduino IDE. I select Seeeduino Zero board in IDE, connect to 4pin header UART and IDE can’t program it.
I even connect to SWD port and burn bootloader. Still can’t program board through bootloader.
I have application working perfectly on Nucleo 64 board. When i upload this app from Arduino IDE to board through Atmel ICE i receive:
** Programming Started ** auto erase enabled Info : SAMD MCU: SAMD21G18A (256KB Flash, 32KB RAM) wrote 50432 bytes from file C:\Users\PA331~1.MAC\AppData\Local\Temp\arduino_build_291381/prg.ino.elf in 4.736000s (10.399 KiB/s) ** Programming Finished ** ** Verify Started ** verified 50228 bytes in 4.110000s (11.934 KiB/s) ** Verified OK **
** Resetting Target **
Error: at91samd21g18.cpu – clearing lockup after double fault
target halted due to debug-request, current mode: Handler HardFault
xPSR: 0x60000003 pc: 0xfffffffe msp: 0x464c4558
shutdown command invoked