|
Forum Index : Microcontroller and PC projects : PicoMite V6.02.02 betas
| Author | Message | ||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11349 |
Jan Sounds like a system stack issue, I'll reduce the heap to 316 from 320 in the next beta. |
||||
| Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 1098 |
@matherp: Thank you very much for fixing the bug and enhancing the text viewer!!! Frank |
||||
| terekgabor Regular Member Joined: 02/01/2026 Location: HungaryPosts: 77 |
Peter! Thank you for all bugs repair, I will try the new beta in the evening. Many thanks for your work again! G@bor |
||||
| terekgabor Regular Member Joined: 02/01/2026 Location: HungaryPosts: 77 |
Peter! I tested long lines, mark mode behavior. Working good, only one thing I found. I really can’t remember how was it in previous versions. If I mark line(s) or char(s) then unmark them (move the cusror opposite direction) chars or lines looses its color in editor and became black and white. Then if I exit from mark mode with ESC or F4 or F5 colors are coming back. All other are working good including profiling pages! G@bor |
||||
| mozzie Guru Joined: 15/06/2020 Location: AustraliaPosts: 325 |
G'day Peter, Using V6.02.02B8, if PEEK(STEPPER ACTIVE) is used before the stepper system is initialised, or after STEPPER CLOSE, this causes the PicoMite to lock up, only hard RESET will fix. > option list PicoMiteHDMI MMBasic USB RP2350A Edition V6.02.02B8 OPTION SERIAL CONSOLE COM2,GP8,GP9 OPTION FLASH SIZE 4194304 OPTION COLOURCODE ON OPTION KEYBOARD US OPTION RESOLUTION 800x480 @ 333000KHz OPTION DISPLAY 40, 100 OPTION SDCARD GP22, GP2, GP3, GP4 > ? peek(stepper active) (no response) Just experimenting on a PicoMiteHDMIUSB at the moment, usually use base PicoMiteRP2350 Further to my previous post, it is probably best to leave the enable signal as is, I will post a circuit on the Stepper Thread that should work. Regards, Lyle. |
||||
| twofingers Guru Joined: 02/06/2014 Location: GermanyPosts: 1746 |
Hi Peter, Congratulations on the latest (beta) release! Is there already an equivalent to the MM.INFO$(SDCARD) function for the new C-Drive (USB stick)? Regards Michael causality ≠ correlation ≠ coincidence |
||||
| terekgabor Regular Member Joined: 02/01/2026 Location: HungaryPosts: 77 |
@matherp Good evening Peter! I continued testing long lines on Picocalc. When I press backspace in the beginning of a line after a long line I got the same problem. Check picture. The other lines I will never see (expect the long on where I can navigate) until I escape editor and come back. G@bor |
||||
| Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 1098 |
I have two files here in a ZIP archive that are causing problems in FM under PicoCalc: README.md and rgb.bas When I run rgb.bas, the font size in FM becomes smaller, and in the text viewer, the text is not only smaller but also black on white (After the program has closed again). When I open README.md in the text viewer, the viewer closes while the last page is still being displayed, and the text in FM is displayed in a larger font. When I open the file with F2, I can no longer close the editor with ESC: LINE TO LONG problem.zip Frank (P.S.: Maybe it wouldn't be such a bad idea if you could adjust the font size in the file manager and text viewer???) |
||||
| JanVolk Guru Joined: 28/01/2023 Location: NetherlandsPosts: 352 |
Peter, Could it be that the PicoMite occasionally freezes on values that appear in, for example, I2CLCD 1.13, Chr$(status_meteo) in a program with an LCD 2004 display? I thought it no longer occurred in V6.02.02B5, but it does after a certain time; see the printout below with the error message and a snippet of the program from the message. The display works normally until the error message, then the status R, the outside temperature, and the degree sign (which is Chr$(0)) disappear, leading to my suspicion regarding chr$(). The program is far from finished, and I am trying to convert it from BascomAVR to MMBasic. Jan. PicoMite RP2350A 6.020205 16777216 ---------------------------------- BuitenTemp. C: 19.5 BinnenTemp. C: 19.1875 Raamstand_adc : 2.867655678 Raamstand %: 0 Regenmelder <50 : 2.606153846 Raamstand_ber %: 0 Raamstand_b : 0 Raamstand_bui C: 0 Raamstand_min %: 0 Raamstand_tijd s: 0 Raamstand_potm : 0 Waarde(menu_T) : 1 Max.stuurtijd : 0 Status_meteo : 82 Status_kas : 128 Status_raam : 82 Vent.Temp. C: 20 Min.Raamstand %: 0 Max.Raamstand %: 100 Max.RaamRegen %: 0 P-Band C: 10 %InvBuTRaam %: 0 BuitenTRaam C: 15 Max.Raam Bui %: 0 TrajectRaamBu %C: 3 VorstTemp. C: 5 Inregelen = 1 : 0 LoopTRaam 10% s: 16 LoopTRaam 100% s: 160 Raamijken: 0% : 0 Raamijken:100% : 255 Raam10% = 3-20 %: 10 Hyst.Raam /10 %: 4 Tijd Regen s: 1 SturenInv = 1 : 0 Opslaan = 1 : 0 Datum : 21-04 Tijd : 20:57 [683] I2CLCD 1,13, Chr$(status_meteo) 'R=Chr$(82) V=Chr$(86) A=Chr$(65) L=Chr$(128) Error : Invalid character: > ********************************************************************************** PicoMite RP2350A 6.020205 16777216 ---------------------------------- BuitenTemp. C: 19.375 BinnenTemp. C: 19.3125 Raamstand_adc : 2.872087912 Raamstand %: 0 Regenmelder <50 : 2.566263736 Raamstand_ber %: 0 Raamstand_b : 0 Raamstand_bui C: 0 Raamstand_min %: 0 Raamstand_tijd s: 0 Raamstand_potm : 0 Waarde(menu_T) : 1 Max.stuurtijd : 0 Status_meteo : 82 Status_kas : 128 Status_raam : 82 Vent.Temp. C: 20 Min.Raamstand %: 0 Max.Raamstand %: 100 Max.RaamRegen %: 0 P-Band C: 10 %InvBuTRaam %: 0 BuitenTRaam C: 15 Max.Raam Bui %: 0 TrajectRaamBu %C: 3 VorstTemp. C: 5 Inregelen = 1 : 0 LoopTRaam 10% s: 16 LoopTRaam 100% s: 160 Raamijken: 0% : 0 Raamijken:100% : 255 Raam10% = 3-20 %: 10 Hyst.Raam /10 %: 4 Tijd Regen s: 1 SturenInv = 1 : 0 Opslaan = 1 : 0 Datum : 21-04 Tijd : 21:27 PC= *********************************************************************************** I2CLCD 3, 1, "Raamstand : %" Raamstand_menu = Cint(raamstand) Raamstand_m = Raamstand_menu ' Toon hier de gemeten raamstand op het display If Raamstand_m < 100.0 Then I2CLCD 3,15, " " If Raamstand_m < 10.0 Then I2CLCD 3,15, " " I2CLCD 3,16, Str$(raamstand_m, 1, 1) ' Status-meteo: R=Regen V=Vorst A=Alarm buitensensor L=Leeg I2CLCD 1,13, Chr$(status_meteo) ' R=Chr$(82) V=Chr$(86) A=Chr$(65) L=128 ' Status-raam: R=Regen V=Vorst A=Alarm I2CLCD 3,13, Chr$(status_raam) ' D=Dichtsturen O=Opensturen M=Min.raam ' B=Buitentemp.vochtstand Y=Ijkstand L=128 I2CLCD 2,13, Chr$(status_kas) ' Status-kas: A=Alarm kassensor H=Alarmkas ' ' A=65,B=66,D=68,H=72,M=77,O=79,R=82,V=86, ' Y=89,L=128 If Rek_d = 1 Then ' \ Rek_d = 0 ' \ Else ' ) De doorreken tik. Rek_d = 1 ' / End If ' / Print " "; MM.Info(device); MM.Info(version); MM.Info(option flash size) Print " ----------------------------------" Print " BuitenTemp. C: "; Buiten_temp Print " BinnenTemp. C: "; Binnen_temp Print " Raamstand_adc : "; Raamstand_adc Print " Raamstand %: "; Raamstand Print " Regenmelder <50 : "; Regenmelder Print " Raamstand_ber %: "; Raamstand_ber ********************************************************************************** > memory Program: 32K (10%) Program (865 lines) 292K (90%) Free Saved Variables: 16K (100%) Free RAM: 0K ( 0%) 0 Variables 0K ( 0%) General 371K (100%) Free > ? mm.info(heap) 331008 > ? mm.info(boot count) 7 > ? mm.info(stack) 537400656 > ? mm.info(system heap) 7736 |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11349 |
Jan, it is nothing to do with chr$ which cannot give that erro. Almost certainly stack overflow. I;ve already said I will reduce MMBasic heap and increase stanck in the next beta. |
||||
| JanVolk Guru Joined: 28/01/2023 Location: NetherlandsPosts: 352 |
Peter, Thank you for your response to my question. I appreciate all the great commands and functions available in PicoMiteBasic. Jan. |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11349 |
This is correct. The editor can't handle lines > 240 characters (255 with a tolerance). You will have to split the line. The response of the LIST command is caused by the same problem. I can probably solve that but the editor issue is fundamental to the way MMBasic works |
||||
| Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 1098 |
Okay, THANKS! ...I just wanted to point that out to you... Frank |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11349 |
I'll try and change it so non-basic files can have longer lines but for basic files it is a definite no. |
||||
| Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 1098 |
That would be fine! It goes without saying that lines in BASIC can't be any longer... Frank |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |