|
Forum Index : Microcontroller and PC projects : MMBasic V6.03.00 release candidates
| Author | Message | ||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11352 |
V6.03.00RC8 PicoMiteRP2040V6.03.00RC8.zip PicoMiteRP2350V6.03.00RC8.zip All versions Relaxes the restriction whereby labels had to be the first thing on the line. They can now have white space before them. Changes to PIO RUN to ensure an existing PIO program is shutdown properly WebMite both MM.INFO(WIFI STATUS) is improved so that it doesn't return 1 during retries WebMite RP2350 Full implementation of HTTPS/TLS Program to create PEM encoded certificate bundles and sample certificates and instructions for use. fetch_ca.zip Test program for TLS functionality https_test.zip |
||||
| ville56 Guru Joined: 08/06/2022 Location: AustriaPosts: 490 |
thanks Peter, works great. Now trapping every non-connection situation so far. 73 de OE1HGA, Gerald |
||||
| Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 5884 |
@Peter, 1/ The mm.info(path) has changed since 6.02.01. Tested on 2040MIN version. Program print cwd$ print mm.info(path) Store this program, called "cwd.bas" in A:/ and B:/ option list PicoMite MMBasic RP2040 V6.02.01 <----------- Last official release on Geoff's site. OPTION SYSTEM SPI GP18,GP19,GP16 OPTION SYSTEM I2C GP14,GP15 OPTION COLOURCODE ON OPTION CPUSPEED (KHz) 200000 OPTION SDCARD GP17 OPTION F5 flash run 2 > a: > run "b:/cwd A:/ B:/ <---------------path is B:/ option list PicoMiteMin MMBasic RP2040 V6.03.00RC8 <------------- last version OPTION SYSTEM SPI GP6,GP3,GP4 OPTION AUTORUN 1,NORESET OPTION COLOURCODE ON OPTION CPUSPEED (KHz) 252000 OPTION DISPLAY 40, 80 OPTION LCDPANEL ILI9341, RLANDSCAPE,GP2,GP1,GP0 OPTION TOUCH GP5,GP7 GUI CALIBRATE 0, 407, 267, 897, 677 OPTION SDCARD GP22 OPTION AUDIO GP20,GP21', ON PWM CHANNEL 2 OPTION MODBUFF ENABLE 192 OPTION F5 flash run 2 OPTION PLATFORM Game*Mite > a: > run "b:/cwd A:/ NONE <---------------path = NONE > Filemanagers use this, and some games. Please repair this.. 2/ The fix you did to PIO is not working, in fact it makes things worse. Reading of FIFO always shows the same value, even if PIO is changing it (unless PIO is not running at all because of the change). The programs that run PIO DMA FIFO work. But the ones that read individual FIFO do not. But they work in V6.02.01. The only simple examples I have are the Quadrature decoder, and the NES decoder. But these require external hardware you may not have. Please indicate what I could do to help analyze. Regards, Volhout Edited 2026-05-17 06:19 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11352 |
Need a test program that shows the PIO problem - la_24_2 works fine The cwd bug is trivial Edited 2026-05-17 06:47 by matherp |
||||
| Volhout Guru Joined: 05/03/2018 Location: NetherlandsPosts: 5884 |
@Peter, Leave the PIO issue for now. Tried to create a good demo, but in trying to do so, all started working again. Strange. Volhout PicomiteVGA PETSCII ROBOTS |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11352 |
The change was trivial - just ensuring the old PIO was stopped before setting up the new one. Basically, the same as your workaround. |
||||
| phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 3222 |
There is a possible bug in the I2C SLAVE WRITE command. If the number of bytes requested by the Master doesn't exactly match the number sent by the Slave the slave I2C freezes. The freeze occurs after all the data has been sent and received by the master. Examples and a workaround are in the Stepper project thread. Also here. Edited 2026-05-17 21:20 by phil99 |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11352 |
V6.03.00RC9 PicoMiteRP2040V6.03.00RC9.zip PicoMiteRP2350V6.03.00RC9.zip Fixes bug introduced in MM.INFO(PATH) Fixes various bugs in I2C slave operation and use of string for single byte transfers (master and slave). The master/slave example in the manual should now work as-is (change nect to next) and LIST SYSTEM I2C will correctly identify a running I2C slave without it hanging. Edited 2026-05-17 23:43 by matherp |
||||
| twofingers Guru Joined: 02/06/2014 Location: GermanyPosts: 1746 |
Hi Peter, can you confirm that the DIR() function is not yet working correctly? In version 6.03.00RC8, the contents of drive "A:" are displayed to me even though I have selected drive "C:". I suspect similar issues may exist for other file functions/commands as well. Additionally, I receive an error message for the following: > ? MM.INFO(VALID CPUSPEED 315000) 1 > option cpuspeed 315000 Error : Invalid Option One more note: A potential bug—which, unfortunately, I have not yet been able to reproduce - is that yesterday, within the FM screensaver routine, additional opening parentheses were inserted after `RND` (resulting in `RND(`). Following the correction, this appears to be resolved. Good news: "Option KEYBOARD repeat" is working again. Thanks! Regards Michael causality ≠ correlation ≠ coincidence |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11352 |
Will fix the dir function. The cpuspeed message is correct assuming you are using vga or hdmi in which case the cpu speed can only be changed with the option resolution command. |
||||
| twofingers Guru Joined: 02/06/2014 Location: GermanyPosts: 1746 |
That is strange; something must have changed again. I never altered the resolution, yet on a different Pico2, I still ended up with 315000 as the CPU speed. Confusing - but your suggestion works! Thanks! Regards Michael causality ≠ correlation ≠ coincidence |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11352 |
Bug fix for DIR() function used on the C: drive - no version change. PicoMiteRP2350USBV6.03.00RC9.zip |
||||
| twofingers Guru Joined: 02/06/2014 Location: GermanyPosts: 1746 |
Hi Peter, I can confirm that DIR() is now working. Thank you very much! Unfortunately, `mm.info("Free space")` reports the free space for drive "B:" instead of "C:". Regards Michael causality ≠ correlation ≠ coincidence |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11352 |
I can also fix that but be warned, with a large USB flash drive the first time the command is run will be catastrophically slow because of the limitations on USB flash drive read/write speeds (2min28seconds for a 64Gb USB flash drive) |
||||
| twofingers Guru Joined: 02/06/2014 Location: GermanyPosts: 1746 |
With large SD cards, there are also significant delays. I avoid this by creating smaller partitions - e.g., 1 GB. Nevertheless, I appreciate the ability to use USB sticks. ![]() Edited 2026-05-18 04:01 by twofingers causality ≠ correlation ≠ coincidence |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11352 |
Here you go PicoMiteRP2350USBV6.03.00RC9.zip |
||||
| twofingers Guru Joined: 02/06/2014 Location: GermanyPosts: 1746 |
Hi Peter, I can confirm that "Free Space" is now working as well. The first time around, it takes about 40 seconds for a 2 GB stick. Subsequent updates appear to happen instantly. Thanks again! causality ≠ correlation ≠ coincidence |
||||
| terekgabor Regular Member Joined: 02/01/2026 Location: HungaryPosts: 77 |
Hello Peter! One more idea/question here: Can PLAY MODFILE command modify to work the same way as for example PLAY MP3?: if I put a folder name after it will play all files from folder. (Also LOOP option and fwd,bwd can be good here too as I mentioned above.) G@bor |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 11352 |
No: modfiles are designed to loop and never end. The codec doesn't know whwere it is in the file, it just keeps reading and playing. |
||||
| phil99 Guru Joined: 11/02/2018 Location: AustraliaPosts: 3222 |
Thank you, and a bonus is the fix for the master requesting the wrong number of bytes provides a means of error checking. If the master requests more than the slave has ready to send the data stream loops back to the beginning. Requesting double the amount available allows the first half of the received string to be compared with the second half to check for errors. Edit. Setup a MM2 v5.05.05 with the slave program and its behavior is exactly the same as RC9 is now. Edited 2026-05-18 15:53 by phil99 |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |