Re: F2FS On USB Sticks?

Liste des GroupesRevenir à col misc 
Sujet : Re: F2FS On USB Sticks?
De : tnp (at) *nospam* invalid.invalid (The Natural Philosopher)
Groupes : comp.os.linux.misc
Date : 25. Mar 2025, 12:13:30
Autres entêtes
Organisation : A little, after lunch
Message-ID : <vru34q$35tnk$2@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12
User-Agent : Mozilla Thunderbird
On 25/03/2025 05:18, c186282 wrote:
On 3/24/25 7:31 AM, The Natural Philosopher wrote:
On 23/03/2025 10:05, c186282 wrote:
On 3/22/25 8:52 PM, The Natural Philosopher wrote:
On 22/03/2025 19:09, rbowman wrote:
On Sat, 22 Mar 2025 13:35:54 +0000, The Natural Philosopher wrote:
>
The PICO has no filesystem. IN use you hold a button down while powering
up and it's Flash presents itself as a USB drive. You copy a special
binary file of compiled code onto that 'drive', and it reboots and runs
it..
>
Okay, you hold down BOOTSEL when plugging it into the USB. Then it shows
up on Files as RP2350.  If you click on that you see INDEX.HTM and
INFO_UF2.TXT. If you look at Properties it reports 2 items totaling 305
bytes and 134.1 MB free.
>
df -Th /dev/sda1
Filesystem     Type  Size  Used Avail Use% Mounted on
/dev/sda1      vfat  128M  8.0K  128M   1% /media/xxxxx/RP2350
>
Then you can
>
cp blink.uf2 /media/xxxxx/RP2350/
>
and, lo and behold, it starts blinking and vanishes from the file system!
I'm lazy so after it blinks 20 times it calls
>
reset_usb_boot(0, 0);
>
and miraculously reappears mounted.  How does it do all this without a
file system known to Ubuntu? I won't even ask why after copying the
CircuitPython uf2 it reboots mounted as CIRCUITPYTHON and you can copy .py
files directly.
>
My comment had nothing to do with the programmatic use of the flash
memory, only how the Pico presents as a mass storage device.
>
Well it spoofs the disk obviously
>
   Ya know ..... think I'm gonna stay away from Pico's  :-)
>
It is a big learning curve. But they are fearfully cheap...small...and light
>
   If I want microcontrollers, there are more traditional
   straight-up boards out there. If I want microprocessors
   there are the straight-up PIs and beyond.
>
   Did use PICs for a long time ... kinda remember their
   quirks and tricks. There are Pico/Nano style boards to
   be had cheap that use PICs. Atmel versions also exist.
>
I looked at those. Many times the price of a pico.
>
I am slowly making up libraries of Code That Works (as opposed to what you find plastered around the Web.
    As I was talking about elsewhere, there's the price
   of the target CHIPS, and then the price of the
   development system/board. The price of the latter
   has become rather high in some cases ... can't even
   get a good all-purpose PIC programmer anymore that
   doesn't require special sockets/libs and such for $$$
 
?. Picos don't need development boards, I mean what are you going to hang round them that is so complex? I just go straight to the final PCB.
Works out at maybe $20 for 10 chinese made PCBs...

   MicroChip USED to sell a very useful serial appliance
   with a 40-pin ZIF socket. Upgraded it once. You could
   stick a large variety of their chips into the thing.
   Just specify in their dev app and it'd all work well.
    But now .........
    If you are an 'experimenter' or small-run person then
   the price of the dev/programming crap kinda now makes
   it just TOO.
 
?/ What???  The point about a PICO is that it *is* a development board, if you like, It's all in for $5.
All youi need is s computer running a GCC cross compiler and the free development envir9nmenmt

   Found people long back who sold an upgraded 8051 (it
   was 'fat', had an actual battery in the case to keep
   the RAM alive) AND a BASIC-like compiler. The programmer
   was a small, kinda bare, PC board - again serial interface.
   Not fancy at all - but GOT IT DONE. Made dozens of devices
   using that all for almost nothing.
    Oh, if a MHz or so is enough, the 8051 is STILL a great chip.
 
That must have been 50 years ago., Things have moved on

   In any case, I *understand* the Pico/Nano approach. It's
   "all in one" and no vast other investment required. As
   for whether they're good/easy for EVERYTHING, well ....
   actually ARDs are still competitive, esp for low-power
   applications. Sleep the thing and wait for the next
   interrupt ........
 
PICOS essentially the same. Or what I am looking to do is to use an external  ultra low power timer to switch the board on after a long delay, and the board switches  itself off when its done its business. Rinse and repeat
--
The urge to save humanity is almost always a false front for the urge to rule.
– H. L. Mencken, American journalist, 1880-1956

Date Sujet#  Auteur
21 Mar 25 * F2FS On USB Sticks?133Lawrence D'Oliveiro
21 Mar 25 +* Re: F2FS On USB Sticks?21c186282
21 Mar 25 i`* Re: F2FS On USB Sticks?20The Natural Philosopher
21 Mar 25 i +- Re: F2FS On USB Sticks?1Richard Kettlewell
22 Mar 25 i `* Re: F2FS On USB Sticks?18Carlos E.R.
26 Mar 25 i  `* Re: F2FS On USB Sticks?17Lawrence D'Oliveiro
28 Mar 25 i   `* Re: F2FS On USB Sticks?16Carlos E.R.
28 Mar 25 i    +* Re: F2FS On USB Sticks?3Lawrence D'Oliveiro
28 Mar 25 i    i`* Re: F2FS On USB Sticks?2Carlos E.R.
29 Mar 25 i    i `- Re: F2FS On USB Sticks?1Lawrence D'Oliveiro
29 Mar 25 i    `* Re: F2FS On USB Sticks?12The Natural Philosopher
29 Mar 25 i     +* Re: F2FS On USB Sticks?6Richard Kettlewell
29 Mar 25 i     i`* Re: F2FS On USB Sticks?5Lawrence D'Oliveiro
29 Mar 25 i     i `* Re: F2FS On USB Sticks?4Richard Kettlewell
31 Mar 25 i     i  `* Re: F2FS On USB Sticks?3Lawrence D'Oliveiro
31 Mar 25 i     i   `* Re: F2FS On USB Sticks?2c186282
31 Mar 25 i     i    `- Re: F2FS On USB Sticks?1The Natural Philosopher
29 Mar 25 i     `* Re: F2FS On USB Sticks?5c186282
29 Mar 25 i      `* Re: F2FS On USB Sticks?4The Natural Philosopher
30 Mar 25 i       `* Re: F2FS On USB Sticks?3c186282
31 Mar 25 i        `* Re: F2FS On USB Sticks?2Ant
31 Mar 25 i         `- Re: F2FS On USB Sticks?1c186282
21 Mar 25 `* Re: F2FS On USB Sticks?111Anssi Saari
21 Mar 25  +- Re: F2FS On USB Sticks?1Carlos E.R.
21 Mar 25  `* Re: F2FS On USB Sticks?109c186282
21 Mar 25   +* Re: F2FS On USB Sticks?100Carlos E.R.
21 Mar 25   i+* Re: F2FS On USB Sticks?98The Natural Philosopher
22 Mar 25   ii+* Re: F2FS On USB Sticks?92rbowman
22 Mar 25   iii+* Re: F2FS On USB Sticks?6Computer Nerd Kev
22 Mar 25   iiii+- Re: F2FS On USB Sticks?1rbowman
22 Mar 25   iiii`* Re: F2FS On USB Sticks?4The Natural Philosopher
22 Mar 25   iiii `* Re: F2FS On USB Sticks?3Computer Nerd Kev
27 Mar 25   iiii  `* Re: F2FS On USB Sticks?2Lawrence D'Oliveiro
27 Mar 25   iiii   `- Re: F2FS On USB Sticks?1Computer Nerd Kev
22 Mar 25   iii+* Re: F2FS On USB Sticks?46c186282
22 Mar 25   iiii+* Re: F2FS On USB Sticks?11Marc Haber
22 Mar 25   iiiii+* Re: F2FS On USB Sticks?8Carlos E.R.
22 Mar 25   iiiiii`* Re: F2FS On USB Sticks?7Marc Haber
22 Mar 25   iiiiii +* Re: F2FS On USB Sticks?3Carlos E.R.
23 Mar 25   iiiiii i`* Re: F2FS On USB Sticks?2Marc Haber
23 Mar 25   iiiiii i `- Re: F2FS On USB Sticks?1Carlos E.R.
22 Mar 25   iiiiii `* Re: F2FS On USB Sticks?3Anssi Saari
22 Mar 25   iiiiii  +- Re: F2FS On USB Sticks?1Carlos E.R.
23 Mar 25   iiiiii  `- Re: F2FS On USB Sticks?1Marc Haber
27 Mar 25   iiiii`* Re: F2FS On USB Sticks?2Lawrence D'Oliveiro
27 Mar 25   iiiii `- Re: F2FS On USB Sticks?1c186282
22 Mar 25   iiii+* Re: F2FS On USB Sticks?32The Natural Philosopher
22 Mar 25   iiiii`* Re: F2FS On USB Sticks?31Carlos E.R.
22 Mar 25   iiiii `* Re: F2FS On USB Sticks?30rbowman
22 Mar 25   iiiii  +* Re: F2FS On USB Sticks?18Marc Haber
22 Mar 25   iiiii  i+* Re: F2FS On USB Sticks?8Anssi Saari
23 Mar 25   iiiii  ii+* Re: F2FS On USB Sticks?6Marc Haber
23 Mar 25   iiiii  iii`* Re: F2FS On USB Sticks?5Carlos E.R.
23 Mar 25   iiiii  iii `* Re: F2FS On USB Sticks?4David W. Hodgins
27 Mar 25   iiiii  iii  `* Re: F2FS On USB Sticks?3Lawrence D'Oliveiro
27 Mar 25   iiiii  iii   `* Re: F2FS On USB Sticks?2c186282
27 Mar 25   iiiii  iii    `- Re: F2FS On USB Sticks?1Marc Haber
23 Mar 25   iiiii  ii`- Re: F2FS On USB Sticks?1c186282
22 Mar 25   iiiii  i+* Re: F2FS On USB Sticks?7Computer Nerd Kev
23 Mar 25   iiiii  ii+- Re: F2FS On USB Sticks?1Marc Haber
23 Mar 25   iiiii  ii`* Re: F2FS On USB Sticks?5Stéphane CARPENTIER
27 Mar 25   iiiii  ii +- Re: F2FS On USB Sticks?1Lawrence D'Oliveiro
6 Apr06:10   iiiii  ii `* Re: F2FS On USB Sticks?3candycanearter07
6 Apr07:42   iiiii  ii  +- Re: F2FS On USB Sticks?1rbowman
6 Apr08:07   iiiii  ii  `- Re: F2FS On USB Sticks?1Lawrence D'Oliveiro
22 Mar 25   iiiii  i+- Re: F2FS On USB Sticks?1rbowman
23 Mar 25   iiiii  i`- Re: F2FS On USB Sticks?1The Natural Philosopher
22 Mar 25   iiiii  `* Re: F2FS On USB Sticks?11Carlos E.R.
23 Mar 25   iiiii   `* Re: F2FS On USB Sticks?10c186282
23 Mar 25   iiiii    `* Re: F2FS On USB Sticks?9Marc Haber
23 Mar 25   iiiii     +* Re: F2FS On USB Sticks?2c186282
23 Mar 25   iiiii     i`- Re: F2FS On USB Sticks?1Marc Haber
23 Mar 25   iiiii     +* Re: F2FS On USB Sticks?2Stéphane CARPENTIER
23 Mar 25   iiiii     i`- Re: F2FS On USB Sticks?1Marc Haber
23 Mar 25   iiiii     +* Re: F2FS On USB Sticks?3Richard Kettlewell
24 Mar 25   iiiii     i`* Re: F2FS On USB Sticks?2The Natural Philosopher
24 Mar 25   iiiii     i `- Re: F2FS On USB Sticks?1Richard Kettlewell
27 Mar 25   iiiii     `- Re: F2FS On USB Sticks?1Lawrence D'Oliveiro
22 Mar 25   iiii`* Re: F2FS On USB Sticks?2rbowman
22 Mar 25   iiii `- Re: F2FS On USB Sticks?1Carlos E.R.
22 Mar 25   iii`* Re: F2FS On USB Sticks?39The Natural Philosopher
22 Mar 25   iii `* Re: F2FS On USB Sticks?38rbowman
23 Mar 25   iii  `* Re: F2FS On USB Sticks?37The Natural Philosopher
23 Mar 25   iii   `* Re: F2FS On USB Sticks?36c186282
23 Mar 25   iii    +* Re: F2FS On USB Sticks?4rbowman
24 Mar 25   iii    i`* Re: F2FS On USB Sticks?3c186282
24 Mar 25   iii    i `* Re: F2FS On USB Sticks?2rbowman
24 Mar 25   iii    i  `- Re: F2FS On USB Sticks?1c186282
24 Mar 25   iii    `* Re: F2FS On USB Sticks?31The Natural Philosopher
25 Mar 25   iii     `* Re: F2FS On USB Sticks?30c186282
25 Mar 25   iii      `* Re: F2FS On USB Sticks?29The Natural Philosopher
25 Mar 25   iii       `* Re: F2FS On USB Sticks?28c186282
25 Mar 25   iii        +* Re: F2FS On USB Sticks?26The Natural Philosopher
26 Mar 25   iii        i+* Re: F2FS On USB Sticks?10rbowman
26 Mar 25   iii        ii`* Re: F2FS On USB Sticks?9c186282
26 Mar 25   iii        ii `* Re: F2FS On USB Sticks?8rbowman
27 Mar 25   iii        ii  `* Re: F2FS On USB Sticks?7c186282
27 Mar 25   iii        ii   `* Re: F2FS On USB Sticks?6rbowman
27 Mar 25   iii        ii    +* Re: F2FS On USB Sticks?2Richard Kettlewell
28 Mar 25   iii        ii    i`- Re: F2FS On USB Sticks?1rbowman
28 Mar 25   iii        ii    `* Re: F2FS On USB Sticks?3c186282
27 Mar 25   iii        i`* Re: F2FS On USB Sticks?15Anssi Saari
26 Mar 25   iii        `- Re: F2FS On USB Sticks?1rbowman
22 Mar 25   ii+* Re: F2FS On USB Sticks?4Carlos E.R.
27 Mar 25   ii`- Re: F2FS On USB Sticks?1Lawrence D'Oliveiro
22 Mar 25   i`- Re: F2FS On USB Sticks?1c186282
21 Mar 25   `* Re: F2FS On USB Sticks?8The Natural Philosopher

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal