Deutsch English Français Italiano |
<vci7f7$o1le$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lasse Langwadt <llc@fonz.dk> Newsgroups: comp.sys.raspberry-pi,sci.electronics.design Subject: Re: RP2040 reset idea Date: Fri, 20 Sep 2024 00:09:43 +0200 Organization: A noiseless patient Spider Lines: 62 Message-ID: <vci7f7$o1le$1@dont-email.me> References: <biphejl03r86ebf5dkpcav9ud7u8vcjclj@4ax.com> <vcbkcl$3evhe$7@dont-email.me> <eaajej9hlmkdb4dbbdafiff63o549dlgas@4ax.com> <vccaag$3je29$4@dont-email.me> <pf0kejtj8b8riu7aa73ma5700o4bj0mr3e@4ax.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 20 Sep 2024 00:09:44 +0200 (CEST) Injection-Info: dont-email.me; posting-host="cf574e81fcae18a416bf282a2d9d0ee4"; logging-data="788142"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/XllgkD0waxIWn7U54SGxyvAd7/JmINCY=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:z6qY6fI3f5TzIh2gSjcPo993c1c= Content-Language: en-US In-Reply-To: <pf0kejtj8b8riu7aa73ma5700o4bj0mr3e@4ax.com> Bytes: 3467 On 9/18/24 00:33, john larkin wrote: > On Tue, 17 Sep 2024 17:21:36 +0100, The Natural Philosopher > <tnp@invalid.invalid> wrote: > >> On 17/09/2024 17:09, john larkin wrote: >>> On Tue, 17 Sep 2024 11:07:17 +0100, The Natural Philosopher >>> <tnp@invalid.invalid> wrote: >>> >>>> On 17/09/2024 03:58, john larkin wrote: >>>>> The RP2040 has a cool mode where it can be made to boot up with the >>>>> USB port looking like a memory stick. That's great for software >>>>> installs or upgrades. The Pico board has a BOOT button on the board; >>>>> if the pico is powered up with the button pushed, it goes into that >>>>> boot mode. >>>>> >>>>> But if I have a product (actually a family of products) in a nice >>>>> aluminum box, a user would have to remove the top cover, remove all >>>>> power sources (there can be three), and hold the button down while >>>>> reconnecting power. >>>>> >>>>> Some of my customers also want to lock a box such that it's impossible >>>>> to write to any nonvolatile memory while it's in a secure area. >>>>> >>>>> So here's an idea: a small hole in the box allows a toothpick or a >>>>> paper clip to push a button. A short push is a regular reset. A long >>>>> push is a memory-stick mode boot. We can have a rotary switch LOCK >>>>> hole too. >>>>> >>>> Thats' what my PICO powered thermostats have. For the onboard button though >>>> Resetting is done by pulling the power. >>>> >>>> The point is that if you do power up with the button pressed, you wipe >>>> the entire FLASH RAM I think. >>>> >>> >>> My Pi guy verifies that entering boot mode doesn't change the contents >>> of flash. Power cycle and things run like before. >>> >>> You had me worried! >>> >> >> Really? >> >> I guess whenever I entered that mode it was to download fresh code... > > It looks like a USB memory stick. You can delete or add files if you > want. > > It boots CPU 0 (the one we call Alice) from a file with the extension > .UL2 > > Why .UL2 one wonders. > > We'll put a bunch of files into the flash. Code for Bob, the 2nd CPU. > An FPGA bitstream file. A prototype calibration table. A README file > to explain everything in plain English. sure it's not UF2? https://github.com/microsoft/uf2