linguini1 commented on issue #16271:
URL: https://github.com/apache/nuttx/issues/16271#issuecomment-2868114738

   If we were to write such a bootloader for NuttX, would it be preferable to:
   
   1) Have a bootloader that puts the RP2040 into BOOTSEL when it detects 
something like 1200 baud on a UART line
   2) Have an application/NSH command that when run reboots the RP2040 into 
bootsel
   3) Expect some kind of special bytes over USB to enter BOOTSEL 
   
   My thought is that with 2) we could flash the Pico manually once, and then 
always be able to reboot into bootsel to flash more configurations, which would 
be suitable for creating test-farm setups. I think 1) will be inconvenient 
because it requires a UART connection (as opposed to just a USB connection 
which is used for both powering and interacting with the RP2040 in a lot of 
these boards) and I think 3) would be complicated to get right/integrate + 
require some special byte sequence known in advance and sent by the host device.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to