Open PabloOyarzo opened 1 year ago
Mhh when you set upload_protocol = mbed
you need to set upload_port = F:\
or whatever the upload bootloader disk will show up as.
It worked if I inserted the pico with the BOOT SEL button pressed. Its not forcing reset so i dont have to do that manual process each time.
Picotool did managed to reset the connection but failed to upload the file
If it fails in picotool, then you don't hve the right drivers installed with Zadig. Please checkout https://github.com/platformio/platform-raspberrypi/issues/2#issuecomment-828586398 and use either libusb or WinUSB drivers.
Ok that worked beautifly! For those that didnt understand the comment posted up there! Plug in the pico with the BOOT SEL button pressed and use the Zadig tool to install the lib 32 driver on the RPI PICO Interface 1. After that you should be good!
On another note, whats the diference between using picotool and mbed @maxgerhardt ?
I tried it once and it worked, and while trying to run some examples of adafruit dual host usb it broke again.
I tried transfer the .elf file once to see if it was gonna work after that automatically but it didn't and also tried to create the project fresh new and it didnt work either.
platform.ini [env:pico] platform = https://github.com/maxgerhardt/platform-raspberrypi.git board = pico framework = arduino board_build.core = earlephilhower board_build.filesystem_size = 0.5m upload_protocol = mbed
Any guidance?