daisy_bsp icon indicating copy to clipboard operation
daisy_bsp copied to clipboard

Is it possible to flash the Daisy Seed via DFU?

Open chaosprint opened this issue 2 years ago • 2 comments

The examples on Daisy Web Programmer work fine, but the cargo build binary does not work. Any idea on what might be the problem?

chaosprint avatar Oct 18 '22 18:10 chaosprint

Alright, I found some other DFU method here:

https://forum.electro-smith.com/t/rust-starter-for-daisy-seed/684/8

And here:

https://github.com/backtail/libdaisy-rust

For the examples in the second link, I manage to make the blinky work on my Daisy Seed Rev 5.

First:

cargo +nightly objcopy --example blinky --release -- -O binary blinky.bin  

Then:

  • Connect the Daisy to the Computer

  • Enter the system bootloader by holding the BOOT button down, and then pressing, and releasing the RESET button.

Lastly:

 dfu-util -a 0 -s 0x08000000 -D blinky.bin

This last step can be done with the Web Programmer.

You should have installed things based on the README here.

Still the blinky example on this crate does not work on my Daisy Seed Rev 5.

chaosprint avatar Oct 18 '22 19:10 chaosprint

Unfortunately I don't have a Rev 5 board handy, if anyone wanted to send me one I'd be more than happy to add support though!

antoinevg avatar Oct 19 '22 06:10 antoinevg