Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 01:54 29 Nov 2024 Privacy Policy
Jump to

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 : PicoMite V5.07.06 preview - flash file system

     Page 1 of 5    
Author Message
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9131
Posted: 08:49am 16 Dec 2022
Copy link to clipboard 
Print this post




Support for flash chips > 2M
Copy to from SD to Flash
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6805
Posted: 08:59am 16 Dec 2022
Copy link to clipboard 
Print this post

LOL!
But you can't do that....  ;)

Nice one, Peter, very nice indeed. :)

Can you write data files to the flash, not just programs?
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9131
Posted: 09:32am 16 Dec 2022
Copy link to clipboard 
Print this post

 
Pluto
Guru

Joined: 09/06/2017
Location: Finland
Posts: 359
Posted: 10:51am 16 Dec 2022
Copy link to clipboard 
Print this post

Great Peter!
Just to clarify the "Flash".
-I suppose this is the "onboard" flash memory chip, which is 2M on the "standard" green modules shown in the PicoMite User Manual. The new features will not be possible for these modules?
-Do I have to buy an other module with e.g. 4M flash onboard or is it possible to add an "external" flash to the "standard" green modules for enabling the new features?

Thanks!
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9131
Posted: 11:04am 16 Dec 2022
Copy link to clipboard 
Print this post

Standard Pico 2Mb



 
thwill

Guru

Joined: 16/09/2019
Location: United Kingdom
Posts: 4047
Posted: 11:10am 16 Dec 2022
Copy link to clipboard 
Print this post

Impressive - can you tell us some other things that can't be done with the PicoMite so that we can look forward to enjoying them in the future ?

Joking aside, I thought the first post said it required flash > 2M ?

Is this compatible with storing programs in flash slots ?

Is access meaningfully faster than to the SDCard ? - I'm thinking in the context of using it to support the virtual memory that a full (128K) version of Z-MIM requires on the PicoMite.

Best wishes,

Tom
Edited 2022-12-16 21:17 by thwill
Game*Mite, CMM2 Welcome Tape, Creaky old text adventures
 
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 11:15am 16 Dec 2022
Copy link to clipboard 
Print this post

Whoa, my PGA2040s have 8MB  
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9131
Posted: 11:17am 16 Dec 2022
Copy link to clipboard 
Print this post

  Quote   I thought the first post said it required flash > 2M ?


No: just includes support for >2Mb as well as the standard

  Quote  Is access meaningfully faster than to the SDCard ?


Based on simple test of just loading a file - yes much faster - remember the flash chip is memory mapped for read

Current status is pretty much everything is working but only a single file allowed open at any one time (Same as ArmmiteL4) and single directory. That is the next (BIG) change (multiple files definite but directories not sure). Also not happy with the selection of the filesystem but can't use another command as no slots free. Finally haven't decided whether to allow file prefixes (A:, b:) also a very big change
Edited 2022-12-16 21:23 by matherp
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6805
Posted: 11:21am 16 Dec 2022
Copy link to clipboard 
Print this post

<me> cheers!  
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 11:24am 16 Dec 2022
Copy link to clipboard 
Print this post

  thwill said  Impressive - can you tell us some other things that can't be done with the PicoMite so that we can look forward to enjoying them in the future ?


 
 
JohnS
Guru

Joined: 18/11/2011
Location: United Kingdom
Posts: 3805
Posted: 11:33am 16 Dec 2022
Copy link to clipboard 
Print this post

Brilliant!

If some restrictions are needed, so be it.

John
 
Tinine
Guru

Joined: 30/03/2016
Location: United Kingdom
Posts: 1646
Posted: 05:11pm 16 Dec 2022
Copy link to clipboard 
Print this post

This is such great news. I was planning on SD card but I don't need such capacity and I'm not 100% comfortable with them.  
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9131
Posted: 05:33pm 16 Dec 2022
Copy link to clipboard 
Print this post

Question:

What trade-off between flash slots and flash disk?

Flash slots can chain and run immediately (already tokenised)
Disk is general purpose.

My instinct is to set the maximum flash slots to 5 - thoughts?
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6805
Posted: 06:10pm 16 Dec 2022
Copy link to clipboard 
Print this post

Could the max number of flash slots be a user option? Perhaps not to increase them, but to be able to sacrifice slots to get more "disk".
Edited 2022-12-17 04:12 by Mixtel90
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 4253
Posted: 07:04pm 16 Dec 2022
Copy link to clipboard 
Print this post

Woah,

I know I asked for this, never thought  it would ever be.

You are asking for flash slots versus filesystem. I would either go for flash slots -or- filesystem.
Personally I would use file system the most, since my programs are never large, but I do want to store data.
And in many applications one Mbyte filesystem will suffice (300k is a bit limitted). Sacrifice all flash slots in that case.

I would like to propose to make the command structure where possible identical to SD, since MMEdit filemanager can be used to pull data off. Or, discuss with Jim how this will work.

Waow....
PicomiteVGA PETSCII ROBOTS
 
gadgetjack
Senior Member

Joined: 15/07/2016
Location: United States
Posts: 146
Posted: 07:44pm 16 Dec 2022
Copy link to clipboard 
Print this post

I see this as a very nice gift for the picomite. Can't wait to try it out. Thanks Peter.
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 9131
Posted: 07:55pm 16 Dec 2022
Copy link to clipboard 
Print this post

Because of the complexity of the memory allocation flexible use of flash slots/flash disk is not possible
 
Bleep
Guru

Joined: 09/01/2022
Location: United Kingdom
Posts: 512
Posted: 08:08pm 16 Dec 2022
Copy link to clipboard 
Print this post

Can you give us a rough idea of what the trade off represents? ie. Is there any flash with 7 slots? How much flash do you gain for each slot lost? My current max is 3 slots linked, but I wouldn't want to be limited to only 3, so 5 may be a good compromise.
Thanks as always for all the work you put into this.
Regards Kevin
Edited 2022-12-17 06:11 by Bleep
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 6805
Posted: 08:10pm 16 Dec 2022
Copy link to clipboard 
Print this post

Never mind, it was just an idea.  :)
In that case I'm rather undecided... Although you can mess about with data files to preserve variables it's not as "clean" as CHAIN. Program switching would also be slower as the new program would have to be tokenized. Perhaps it's as well to keep *some* flash slots.

To get a command slot, would this be the time to get rid of, say, IRETURN which I doubt if anyone has used yet? It could be replaced by "*" or something to open up sub-commands:
*filesystem [sd|flash]
*copy
or whatever...  Probably a lot of work.
Edited 2022-12-17 06:29 by Mixtel90
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
TassyJim

Guru

Joined: 07/08/2011
Location: Australia
Posts: 6101
Posted: 08:58pm 16 Dec 2022
Copy link to clipboard 
Print this post

  Volhout said  
I would like to propose to make the command structure where possible identical to SD, since MMEdit filemanager can be used to pull data off. Or, discuss with Jim how this will work.


The preferred process is: Peter gets it working satisfactorily and then I adapt MMEdit to suit.

If I am lucky, I will have to change one line in the MMCC.INF preferences file

Change
Type5 = picomite|autosave|\026|0|1|1|files|0|1|1|30


to
Type5 = picomite|autosave|\026|0|2|1|files|0|1|1|30


The original Maximite had two drives so most of the 'user visible' work is already done in MMCC ready for any such innovation.
What I have to do to get it working is not relevant.

Jim
Edited 2022-12-17 07:04 by TassyJim
VK7JH
MMedit   MMBasic Help
 
     Page 1 of 5    
Print this page
© JAQ Software 2024