![]() |
Forum Index : Microcontroller and PC projects : PicoMite Firmware Release Version 6.00.03
![]() ![]() ![]() ![]() |
|||||
Author | Message | ||||
javavi![]() Guru ![]() Joined: 01/10/2023 Location: UkrainePosts: 508 |
@matherp, There seems to be a problem with the EDIT FILE fname$ command, opening files for editing from the program somehow corrupts the contents of variables in RAM. A problem was detected when trying to open files for editing from FM on PicoMite VGA/HDMI firmware versions 6.00.02 and 6.00.03, although on version 6.00.01 it worked fine. Edited 2025-07-17 02:14 by javavi |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10323 |
Did you download the very latest from Geoff? If this doesn't fix it then this will have to wait for the next release. |
||||
javavi![]() Guru ![]() Joined: 01/10/2023 Location: UkrainePosts: 508 |
I downloaded it again from Geoff, reflashed Pico with PicoMiteVGA 6.00.03 firmware and Yes, I confirm the problem! Edited 2025-07-17 04:05 by javavi |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10323 |
Can you post a small test program to demonstrate the issue please |
||||
javavi![]() Guru ![]() Joined: 01/10/2023 Location: UkrainePosts: 508 |
FM170.zip FM02078.zip Try to open the file for editing (F4) and exit (possibly several times) and you will see the error of data failure in variables yourself. With respect for your attention, Javavi |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10323 |
Sorry, that doesn't count as a "small test program ". |
||||
javavi![]() Guru ![]() Joined: 01/10/2023 Location: UkrainePosts: 508 |
Dim a1(1000),a2(1000) For i=0 To 1000 a1(i)=Rnd a2(i)=a1(i) Next Compairing_Arreys Edit File "Comp.bas" Compairing_Arreys End Sub Compairing_Arreys Local res=0 For i=0 To 1000 If a1(i)<>a2(i) Then Inc res Next Print "Missmatches:",res End Sub Save this program with the name Comp.bas and run it. After opening and closing the EDITOR, the program gives me 9 mismatches. |
||||
homa![]() Guru ![]() Joined: 05/11/2021 Location: GermanyPosts: 471 |
So far I can confirm that. @javavi: Do you use so many variables? For i=0 To 991 'From 992 onwards, it no longer works first mistake! a1(i)=Rnd a2(i)=a1(i) 'Print i,a1(i),a2(i) Next Compairing_Arreys Edit File "comp.bas" Compairing_Arreys End Sub Compairing_Arreys Local res=0 For i=0 To 991 If a1(i)<>a2(i) Then Inc res Print a1(i),a2(i) End If Next Print "Missmatches:",res End Sub > option list PicoMiteHDMI MMBasic USB RP2350A Edition V6.00.03 OPTION SERIAL CONSOLE COM2,GP8,GP9 OPTION SYSTEM I2C GP20,GP21 OPTION FLASH SIZE 4194304 OPTION COLOURCODE ON OPTION KEYBOARD GR OPTION RESOLUTION 640x480 @ 315000KHz OPTION SDCARD GP22, GP26, GP27, GP28 OPTION AUDIO GP10,GP11', ON PWM CHANNEL 5 OPTION RTC AUTO ENABLE OPTION MODBUFF ENABLE 192 OPTION PLATFORM HDMIUSB > |
||||
javavi![]() Guru ![]() Joined: 01/10/2023 Location: UkrainePosts: 508 |
Yes! There is no such thing as too much memory, and I always lack it. )) |
||||
dddns Guru ![]() Joined: 20/09/2024 Location: GermanyPosts: 544 |
With enabled PSRAM it works for me and there is no delay while editor opens. Both, your test program as well as your latest FM Edited 2025-07-17 16:28 by dddns |
||||
toml_12953 Guru ![]() Joined: 13/02/2015 Location: United StatesPosts: 447 |
When I change the dimensions to 50, I get 19 mismatches! |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10323 |
Try the relevant version out of the attached. PicoMiteV6.00.03.zip |
||||
javavi![]() Guru ![]() Joined: 01/10/2023 Location: UkrainePosts: 508 |
Checked on PicoMite RP2040 VGA V6.00.03 How strange! A simple test passes, but the array c(15) in FM still gets corrupted. [92] Color c(7),c(0) Error : 5424127535405417485 is invalid (valid is 0 to 268435455) > Edited 2025-07-17 20:56 by javavi |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10323 |
Can you provide another test file that shows the issue? |
||||
javavi![]() Guru ![]() Joined: 01/10/2023 Location: UkrainePosts: 508 |
How long are we going to play this game? I'm a user, not a tester! ![]() Edited 2025-07-17 21:25 by javavi |
||||
javavi![]() Guru ![]() Joined: 01/10/2023 Location: UkrainePosts: 508 |
Why isn't the FM program a test? FM170.zip The failure in the c() array only occurs after opening the file for editing (F4). This does not happen on PicoMite firmware version 6.00.01 |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10323 |
If users won't put the effort in how am I supposed to fix problems that arise? It is completely impossible to take a massive program which has a reported issue and tell whether it is a problem in the program or a bug in the firmware. Remember, I do this for fun without any recompense. If the wider community doesn't engage in testing and debugging then there won't be any progress. |
||||
thwill![]() Guru ![]() Joined: 16/09/2019 Location: United KingdomPosts: 4311 |
And Peter is not a paid software engineer working for a professional software vendor to sell you a paid version of MMBasic, he is an accomplished hobbyist. Best wishes, Tom MMBasic for Linux, Game*Mite, CMM2 Welcome Tape, Creaky old text adventures |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7942 |
^^^^^ This ^^^^^ You can't spend time debugging someone else's code, that you are unfamiliar with, when you are trying to fix a problem in the interpreter itself. You can see that there's a problem, yes, but the source of the problem in a big piece of code can be anywhere. You need a short, simple program that shows the problem reliably every time you run it. The simpler the test routine the better. Remember that the most difficult part of the job is in identifying precisely what is causing the problem. Once you know that the fix becomes so much easier! :) Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Gadgetguy Senior Member ![]() Joined: 26/04/2025 Location: FrancePosts: 104 |
Hello all, I have a "newbie" moment - sorry for that. I have just updated my Picomite with the most recent USB HDMI 2350 firmware (file name PicoMiteHDMIUSBV6.00.03.uf2) After doing so my HDMI out does not work any more (tried two different monitors) - while it worked before the update. I am able to log into the box via serial and it seems fine (as far as I can see). What am I doing wrong here please? Thank you for any pointers. |
||||
![]() ![]() ![]() ![]() |
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |