M0 - Interessting upload issues

Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
ChristianD
 
Posts: 1
Joined: Tue Jan 11, 2022 7:17 am

M0 - Interessting upload issues

Post by ChristianD »

Hi,

I have an interessting problem on all of my itsyBitsy M0( i tried 3 of them ) no matter which firmware (Bootloader) they have on.
If i upload the "Blink" example it works the first time. Then, if i try to upload the "Blink" example again it fails.
When this happens i get a windows error message that the USB device could not be installed.
A re-plugin of the itsy leads to the fading led and in windows it will show up the ITSYBOOT device for about 5 seconds and then the windows error message thet the USB device could not be installed pops up again. If i am very fast i can copy a new bootloader file and then the itsy will allow exactly one upload until it gets into the interessting state again.

BTW: I may use the double tap on reset while uploading from ArduinoIDE to get the blink example to upload and work again.
What could cause this issue?

Here the steps i did:
  • Plug in ItsyBitsy M0
  • Upload Blink example - Works
  • Upload Blink example again - Fails with following error:

    Code: Select all

    Set binary mode
    SAM-BA operation failed
    Send auto-baud
    Set binary mode
    readWord(addr=0)=0x20002dd8
    readWord(addr=0xe000ed00)=0x410cc601
    readWord(addr=0x41002018)=0x10010305
    version()=v1.1 [Arduino:XYZ] Jun 23 2019 17:45:14
    chipId=0x10010005
    Connected at 115200 baud
    readWord(addr=0)=0x20002dd8
    readWord(addr=0xe000ed00)=0x410cc601
    readWord(addr=0x41002018)=0x10010305
    Atmel SMART device 0x10010005 found
    write(addr=0x20004000,size=0x34)
    An error occurred while uploading the sketch
    
  • Itsy goes into LED Fading mode and after a while following errors pops up
  • disconnect itsy bitsy and plug in again
  • fading led mode. ITSYBOOT shows up for about 5 seconds
  • windows USB error that it could not install device
  • upload with doubletap on reset while uploading. Bloink example does sucessfully upload.
Bootloader INFO:

Code: Select all

UF2 Bootloader v3.7.0 SFHWRO
Model: ItsyBitsy M0 Express
Board-ID: SAMD21G18A-ItsyBitsy-v0

User avatar
ChriD
 
Posts: 1
Joined: Tue Jan 11, 2022 9:53 am

Re: M0 - Interessting upload issues

Post by ChriD »

Well....
I tried another PC and there it works flawlessly.

User avatar
danhalbert
 
Posts: 4649
Joined: Tue Aug 08, 2017 12:37 pm

Re: M0 - Interessting upload issues

Post by danhalbert »

Try cleaning out your Windows USB devices on the "bad" PC: https://learn.adafruit.com/welcome-to-c ... 3094694-11

Locked
Please be positive and constructive with your questions and comments.

Return to “Itsy Bitsy Boards”