kriswiner / Ladybug

9 stars 4 forks source link

problem uploading sketch #3

Open tomberko opened 5 years ago

tomberko commented 5 years ago

Hi, i have the ladybug L432KC with Arduino 1.8.5 with all the relevant libraries to support the ladybag. when i try to upload a sketch (after successfully compiling it for the ladybug) i get this message: Cannot open DFU device 0483:df11 1 Cannot open DFU device 0483:df11 2 Cannot open DFU device 0483:df11 3..... and so on until the board's port seems to disconnected.

do you have any idea or a lead on this issue? thanks.

kriswiner commented 5 years ago

Close the Arduino IDE, press and hold the boot button. press, and release reset button, release boot botton, open Arduino IDE, flash a blink rogram.

Windows dirver issue.

On Sat, Jan 12, 2019 at 1:26 PM tomberko notifications@github.com wrote:

Hi, i have the ladybug L432KC with Arduino 1.8.5 with all the relevant libraries to support the ladybag. when i try to upload a sketch (after successfully compiling it for the ladybug) i get this message: Cannot open DFU device 0483:df11 1 Cannot open DFU device 0483:df11 2 Cannot open DFU device 0483:df11 3..... and so on until the board's port seems to disconnected.

do you have any idea or a lead on this issue? thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kriswiner/Ladybug/issues/3, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qmoEu3LgDzOw8yh8Lt0gB00vhlp2ks5vClMMgaJpZM4Z82z_ .

tomberko commented 5 years ago

Hi, Thanks for the prompt response. unfortunately it didn't help the issue. after following the instruction, and trying to upload the blink sketch i get the same error as before with an additional core (attached) when compiling the blink sketch. core_grumpyoldpizza_stm32l4_Ladybug-L432KC_usb_cdc,dosfs_none,speed_80,opt_o3_1e564a70c550d0ce54af9d2648d552cd.zip

kriswiner commented 5 years ago

Try using Zadig.

Download Zadig, ut the L432 into boot mode,select list all devices in Zadig options, select STM32 bootloader and click replace driver.

Then try again.

Is this a Windows machine?

On Sun, Jan 13, 2019 at 8:07 AM tomberko notifications@github.com wrote:

Hi, Thanks for the prompt response. unfortunately it didn't help the issue. after following the instruction, and trying to upload the blink sketch i get the same error as before with an additional core (attached) when compiling the blink sketch.

core_grumpyoldpizza_stm32l4_Ladybug-L432KC_usb_cdc,dosfs_none,speed_80,opt_o3_1e564a70c550d0ce54af9d2648d552cd.zip https://github.com/kriswiner/Ladybug/files/2753241/core_grumpyoldpizza_stm32l4_Ladybug-L432KC_usb_cdc.dosfs_none.speed_80.opt_o3_1e564a70c550d0ce54af9d2648d552cd.zip

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/Ladybug/issues/3#issuecomment-453842053, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qsILAa-6yjWfHZ-f71GiP5k8JvIOks5vC1mtgaJpZM4Z82z_ .

tomberko commented 5 years ago

Will try. Yes, it is a windows 10 machine.

kriswiner commented 5 years ago

Did you install the SAMD board in the board manager? This is needed for compiling.

Windows often gets confused over drivers. So if you have other MCU device drivers like for Teensy orFTDI Windows can get confused. or of you happen to have tried to flash a program on the Ladybug with the wrong board variant selected. In all of these cases, loading a known good program while the Ladybug is in boot mode will always work. But this should be required rarely or never if properly drivers are available.

On Sun, Jan 13, 2019 at 9:09 AM tomberko notifications@github.com wrote:

Will try. Yes, it is a windows 10 machine.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kriswiner/Ladybug/issues/3#issuecomment-453847135, or mute the thread https://github.com/notifications/unsubscribe-auth/AGY1qk6bkvN-rzWLix7WClXz2v-tAyvxks5vC2hDgaJpZM4Z82z_ .

tomberko commented 5 years ago

reinstalling the driver using Zadig worked. guess the case was of flashing a program with the wrong board variant. Thanks!