Author Topic: micronucleus fail with beta  (Read 2628 times)

gkr

  • Newbie
  • *
  • Posts: 8
micronucleus fail with beta
« on: December 14, 2014, 11:45:43 am »
Hello board.
I get this error message everytime I try to upload a sketch on my digispark pro beta.
Quote
Running Digispark Uploader...
Plug in device now... (will timeout in 60 seconds)
micronucleus: library/micronucleus_lib.c:69: micronucleus_connect: Assertion `res >= 6' failed.
> Please plug in the device ...
> Press CTRL+C to terminate the program.

I tried two different sketch, neither work. I tried another digispark pro and it worked fine.
I also tried to hook the digispark to an usb hub without success.
the micronucleus is a fresh build from the git branch testing-V2-New.
I've altered the micronucleus command line program a bit to tell me what's going on. usb_control_msg is only reading 4 characters, always the sames.  Hex numbers 3a, 7a, 40, 05.

I was planning to simply remove the assert but I'm wondering if that could be bad or really bad.