arduino-libraries / MKRWAN

An Arduino library for sending and receiving data using LoRaWAN protocol and LoRa® radios.
https://www.arduino.cc
GNU Lesser General Public License v3.0
88 stars 60 forks source link

Failed to init device. MKRWAN 1300 #67

Closed 03sarath closed 5 years ago

03sarath commented 5 years ago

When I try to upload _MKRWANFWUpdatestandalone.ino

Press a key to start FW update
Failed to init device.
Version      : 0x15
Option 1     : 0x00
Option 2     : 0x00
Device ID    : 0x0605 (JH8⸮⸮B⸮JK⸮B⸮
⸮
L⸮B⸮⸮)
- RAM        : Up to 3670017KiB  (-536869371b reserved by bootloader)
- Flash      : Up to 0KiB (size first sector: 0x536903676)
- Option RAM : 1b
- System RAM : 1KiB
Write to memory
Erasing memory

Hey,

This is Sarath, I'm developing new customize MKR WAN 1300 board. I'm trying to upload bootloader firmware to new CMWX1ZZABZ-078 on my board. But I got an error Failed to init device. I'm trying to figure out whether there is an issue with my Hardware soldering or firmware.

Can you please provide some suggestions regarding debugging my CMWX1ZZABZ-078 on my PCB.

I also tried reuploading bootloader firmware to MKR WAN 1300 which I bought from Arduino, that works completely fine.

For SAMD21 bootloader we simply replaced SAMD21 chip from Arduino MKR WAN 1300 board to my customized board, because we don't have Atmel ICE to upload the bootloader to my new SAMD21 chips. But we have already ordered Atmel ICE, it's on the way, out of curiosity I just used SAMD21 chips which is already boot loaded by Arduino on my board.

03sarath commented 5 years ago

Hey,

I have figure out my board issue, there is a soldering issue with SAMD21, now I have fixed it. Now I can upload bootloader to my CMWX1ZZABZ-078.

Thank you. :)