Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : Do I degrade something when loading programms?
Page 2 of 2 | |||||
Author | Message | ||||
andreas Senior Member Joined: 07/12/2020 Location: GermanyPosts: 206 |
When you tell the development-cycle is resource consuming - how about a Pico-Virtual Machine? Is there anybody simulating a pico? PicoSimulator! That would be a thing! -andreas |
||||
stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2109 |
yeah,been there but only use mmedit and mmcc. tweaking code for hours :) |
||||
Michal Senior Member Joined: 02/02/2022 Location: PolandPosts: 123 |
Do programs placed on the SD card run without saving to flash? |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6761 |
No. RUN runs the current program from program area flash. RUN filename Copies the file into the program area flash then runs it. AFAIK the only way to run a program without overwriting the program flash area is to use FLASH RUN or FLASH CHAIN as these are already in the systems flash memory. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 4026 |
As I understand it, it copies the file into RAM, which it then tokenises and writes into flash. Same result in terms of number of flash writes though. Best wishes, Tom Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6761 |
That makes sense. It can use the variables area to do that. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
thwill Guru Joined: 16/09/2019 Location: United KingdomPosts: 4026 |
And this is why there is no (non-FLASH) CHAIN command. I wonder if it could read, tokenise, write a line at a time (thus requiring only ~256 bytes) of RAM and thus allow CHAIN, but given it doesn't I suspect Peter/Geoff had a reason. Best wishes, Tom Edited 2024-11-08 20:20 by thwill Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6761 |
It may depend on the flash. It may need fixed block sizes to write efficiently. Only a guess. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
mclout999 Guru Joined: 05/07/2020 Location: United StatesPosts: 469 |
That's the only issue I have with the board as well. I was hoping for some 2350 based Chinese boards with more Flash and maybe some PSRAM would be selling on Aliexpress I would have liked to yank out the PICO 2 and plug one of those in, that is if it was pin compatible and was able to run at the higher speeds nessasry for the HDMIUSB. |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6761 |
For ease of connection to the HSTX and TP pads you can't beat surface mount. I can do boards with plug-in Pico 2s that work with HDMI, but you'd have to wire to the TP pads. Also, unless you can get the Adafruit module, you need to be able to solder a surface mount HDMI socket and 0805 resistors - both far more difficult than soldering a Pico down. It may be some time before you get any Chinese boards with the RP2350 on them. Not until Raspberry Pi can fulfil all their usual channels anyway. There'll be no guarantee that they'll work at HDMI speed anyway, although they may be within spec. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Page 2 of 2 |
Print this page |