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 V6.00.01 release candidates - please test thoroughly
Page 17 of 20 | |||||
Author | Message | ||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9286 |
There is but without the PSRAM CS pulled up the PSRAM will be corrupting flash access so the code simply doesn't run. Nothing the firmware can do about this. |
||||
JanVolk Senior Member Joined: 28/01/2023 Location: NetherlandsPosts: 166 |
Peter, Thank you for the many improvements. It works. RP2040-Geek.pdf Greetings, Jan. |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 4343 |
About PSRAM, Although technically PSRAM can be attached to a RP2040, it is the RP2350 that is prepared for the use of PSRAM by means of a hardware interface. That hardware interface is shared with FLASH. Early tests with Pimoroni Pico Plus 2 modules has shown that PSRAM works, and MMBasic implementation made the use of PSRAM transparent (not a RAM DISK or similar, but a large amount of data memory that can be used in conunction with built in RAM). PSRAM comes with a disadvantage: speed. 1/ The PSRAM as such is nt as fast as the built in RAM. So prepare for slower access (execution) of your code. PSRAM is cached, and as long as you are using the cache, it is faster, but once you need a cache refresh, it is slower. The cache is 16kbyte in size. 2/ Because the PSRAM shares the bus with FLASH, the FLASH program cannot execute as fast. 3/ RP2350 has one big benefit over the RP2040, and that is the HDMI (DVI) interface. To use HDMI, it is required to "overclock" the RP2350 chip. At the moment the RP2350 equipped with PSRAM cannot be overclocked as much as a non-PSRAM module. I am not aware the exact cause, but fact is that by using PSRAM, HDMI may only be usable in 640x480, or not at all. I absence of facts, I believe it is because of the extra chip (FLASH + extra PSRAM) on the QSPI bus. If this is the case, switching off the PSRAM by disconnecting the chip select pin (CSn) will still not allow you to overclock the RP2350 to HDMI speeds. Summary: PSRAM makes the Picomite execute slower, PSRAM has impacton HDMI. There may be applications that require much RAM, and need PSRAM, be happy.. it is supported. Volhout EDIT: in the future it may be possible that a solution is found to solve the overclock issue. But the data access in PSRAM will per defintion always be slower. Edited 2024-12-19 17:54 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
twofingers Guru Joined: 02/06/2014 Location: GermanyPosts: 1306 |
@Peter I'm observing a strange behavior of the "List" command. If the file has no file extension, then it is not found. (Note: I think I've experienced the same issue with the "Open" command. But I can't reproduce it.) isbox_raw.txt and isbox_raw1 have the same content. If the file is zero bytes in size and I try a >List "filename"< the system freezes. Maybe you want to take a look at it. PicoMiteHDMI MMBasic RP2350A Edition V6.00.01RC9 Screenshot: Another thing: I recently started having automatic ".bak" files, like with CMM2. Is that new, can it be turned off? Kind regards Michael Edited 2024-12-19 21:02 by twofingers causality ≠ correlation ≠ coincidence |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 4343 |
Why ? It is a feature, not a bug... After you have finished editting, type KILL "*.bak" Volhout Edited 2024-12-19 21:11 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
twofingers Guru Joined: 02/06/2014 Location: GermanyPosts: 1306 |
Hi Harm, I see it differently. It was introduced on the CMM2 because there was a temporary lack of reliability when saving files. It was retained. It seems to be new on the Pico. I'll take a look at the manual... I found it: Page 106 () Apart from that, I find the behavior rather annoying. Kind Regards Michael Edited 2024-12-19 21:23 by twofingers causality ≠ correlation ≠ coincidence |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9286 |
I'll fix list so you can list files without an extension - currently appends .bas. Can't replicate any lockup with empty files. I'm not changing .bak. One day you will need it after saving a file and then realising you made a big mistake and then you would ask for it. |
||||
Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 4343 |
Hi Twofingers, It is new. It did not exist in the previous 5.09.00 series. And given the fact that the A:/ drive is quite small in size (600-800kbyte) it could present an issue when there is not room to put the .bak file. In that case it could cause more harm. In case of the Game*Mite where the A:/ drive is nearly full, editting is not possible anymore. I think it is worth testing exactly that problem case... Volhout Edited 2024-12-19 21:36 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6904 |
It used to happen in DOS too. :) In fact, most commercial programs create BAK files of some sort. SL6 does, as does TinyCAD not to mention the proper stuff like AutoCAD. There are very few reasons not to produce them, apart from them looking a bit untidy. As Harm says, it's easy enough to delete them after. They can be very useful if you mess something up though! Rename your working file, rename the BAK file to BAS and load it. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9286 |
let's be clear you ONLY get a .bak file when using EDIT fname$. Editing a loaded file does not save to disk. |
||||
twofingers Guru Joined: 02/06/2014 Location: GermanyPosts: 1306 |
Tested several times ... Tested again and I can now go back to the prompt with CTRL-C. Well, in my workflow I save extremely frequently, so backup files are unnecessary. But I can live with it. Regards Michael causality ≠ correlation ≠ coincidence |
||||
twofingers Guru Joined: 02/06/2014 Location: GermanyPosts: 1306 |
@Peter You write in your comment on the new AES function: What are the reasons for the restriction to 128 characters when 'in' and 'out' are defined as strings? In my tests, more than 128 seem to be feasible. Kind regards Michael causality ≠ correlation ≠ coincidence |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9286 |
Its not 128 - brain fade - it is 240. The point is that it is not 256 |
||||
ville56 Senior Member Joined: 08/06/2022 Location: AustriaPosts: 118 |
() is this behaviour for all variants as I cannot reproduce it onWebmite V6.00.01 RC9. Editing a .bas file does not create a .bak file. 73 de OE1HGA, Gerald |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6904 |
If you are editing a file that's already in flash then no BAK file is created. It's only if you use EDIT <filename>.Is that what you are doing? Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
PhenixRising Guru Joined: 07/11/2023 Location: United KingdomPosts: 918 |
Anyone running the I2C @ >100KHz? Manual still recommends 100KHz. |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9286 |
By default OPTION SYSTEM I2C runs the I2C at 400KHz. You can override this by using OPTION SYSTEM I2C clkpin,sdapin [FAST/SLOW] This is in the manual. Edited 2024-12-20 04:37 by matherp |
||||
ville56 Senior Member Joined: 08/06/2022 Location: AustriaPosts: 118 |
yes, correct 73 de OE1HGA, Gerald |
||||
Mixtel90 Guru Joined: 05/10/2019 Location: United KingdomPosts: 6904 |
Oh, I don't know then. :) It's something new so I don't know if it's in that particular version. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
ville56 Senior Member Joined: 08/06/2022 Location: AustriaPosts: 118 |
According to Michaels post it should be built in beginning with V6.00.01RC9 -------snip ----------- PicoMiteHDMI MMBasic RP2350A Edition V6.00.01RC9 -------snip ----------- Another thing: I recently started having automatic ".bak" files, like with CMM2. Is that new, can it be turned off? -------snip ----------- so i thought it should apply to all variants. Can EDIT "filename.bas" without problems, but no .bak file. 73 de OE1HGA, Gerald |
||||
Page 17 of 20 |
Print this page |