pxt-adafruit
pxt-adafruit copied to clipboard
Plug-in-to-USB goes to bootloader not program?
some instructors seem to expect that if you plug into a USB port, the program will run, not UF2
https://forums.adafruit.com/viewtopic.php?f=58&t=127805&p=644900
we could update UF2 or just instruct people? @mmoskal
It's going to be very difficult to change this behavior without confusing existing users.
Some teachers like the behavior we have today as they don't have to ask kids to go to bootloader mode for the first flash and program will run as soon as you flash. Changing this is going to be hard. May be we should better document the behavior. @ganicke What is the right place to document the behavior?
I see a few places to add a note for this:
https://makecode.adafruit.com/device https://makecode.adafruit.com/device/usb https://makecode.adafruit.com/device/usb/troubleshooting
Some of this could use a revamp in the vein of the LEGO troubleshooting page.
fyi i dont care to change it, just reporting from forums!
I've subscribed to the MakeCode forum now.
Hold on! We just need to enable the storage module in CPX. Then you can flash without hitting reset and we can require double-reset to go to bootloader (in case your program crashes badly and the storage module stops working; this shouldn't happen if you're not using C++).
i would luuuuv the storage module - did that get made!!?
Working on undusting it: https://github.com/Microsoft/pxt-adafruit/pull/740
From: ladyada [email protected] Sent: Thursday, June 7, 2018 7:55:39 AM To: Microsoft/pxt-adafruit Cc: Peli de Halleux; Comment Subject: Re: [Microsoft/pxt-adafruit] Plug-in-to-USB goes to bootloader not program? (#597)
i would luuuuv the storage module - did that get made!!?
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fpxt-adafruit%2Fissues%2F597%23issuecomment-395450891&data=02%7C01%7Cjhalleux%40microsoft.com%7C17470e184cc3447e8e8c08d5cc86bc34%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636639801410728836&sdata=XlKQTh2FeP%2FAgoKQj5qMg9sXA1GBe%2BW8Z6BBkrxktew%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAD-4KaG1kLtSIL0sHT2Flf6iQgMZNb_Uks5t6T7rgaJpZM4RiZHZ&data=02%7C01%7Cjhalleux%40microsoft.com%7C17470e184cc3447e8e8c08d5cc86bc34%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636639801410738844&sdata=wRt6Jp4CrSjYE4g9hCIXjeg7o19vd2rnnbfSyIUrK7I%3D&reserved=0.
sweeet i can test when its bumped - let me know. i have tons of .wav playing code ive written over the years, i know that would be a massively popular ability if available :)
Would you have some engineering cycles to add support playing .wav in CODAL? That piece of the puzzle is still missing :(
From: ladyada [email protected] Sent: Thursday, June 7, 2018 8:00 AM To: Microsoft/pxt-adafruit Cc: Peli de Halleux; Comment Subject: Re: [Microsoft/pxt-adafruit] Plug-in-to-USB goes to bootloader not program? (#597)
sweeet i can test when its bumped - let me know. i have tons of .wav playing code ive written over the years, i know that would be a massively popular ability if available :)
— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fpxt-adafruit%2Fissues%2F597%23issuecomment-395452669&data=02%7C01%7Cjhalleux%40microsoft.com%7C79150f5dadaf4bc9efd508d5cc87653e%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636639804248966771&sdata=aW8UUcVBfINjPDEfEPECIwDl7L54cZQTvK4OwS00uac%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAD-4KV0bC_rrlcGPJYhkQIigtnhIwZtOks5t6UAGgaJpZM4RiZHZ&data=02%7C01%7Cjhalleux%40microsoft.com%7C79150f5dadaf4bc9efd508d5cc87653e%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636639804248976783&sdata=VZJGpwHwHQffdc9iAACHqWgVZAGTkviUVXBlCJetdzQ%3D&reserved=0.
i could take a look when the file system access stuff is ready, and if DMA stuff is all handled for me!