Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with Auto port selection #33

Open
PabloOyarzo opened this issue Jun 23, 2023 · 5 comments
Open

Issues with Auto port selection #33

PabloOyarzo opened this issue Jun 23, 2023 · 5 comments

Comments

@PabloOyarzo
Copy link

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

Screenshot_189

Any guidance?

@maxgerhardt
Copy link
Owner

Mhh when you set upload_protocol = mbed you need to set upload_port = F:\ or whatever the upload bootloader disk will show up as.

@PabloOyarzo
Copy link
Author

PabloOyarzo commented Jun 26, 2023

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.

image

@PabloOyarzo
Copy link
Author

Picotool did managed to reset the connection but failed to upload the file

image

@maxgerhardt
Copy link
Owner

If it fails in picotool, then you don't hve the right drivers installed with Zadig. Please checkout platformio#2 (comment) and use either libusb or WinUSB drivers.

@PabloOyarzo
Copy link
Author

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants