|
Forum Index : Microcontroller and PC projects : MMBasic ANSI - MMBasic on Mac/Windows/Linux in a terminal
| Author | Message | ||||
| ville56 Guru Joined: 08/06/2022 Location: AustriaPosts: 531 |
Use the image from the link above with 40MHz psram clock. Did cure it for me. 73 de OE1HGA, Gerald |
||||
| jvanderberg Regular Member Joined: 06/05/2026 Location: United StatesPosts: 82 |
I just pushed a release build that sets things to a default of 40MHz as that seems generally safe and really isn't going to impact performance much. If somebody wants extreme mmbasic performance, they can tweak the build themselves :) https://github.com/jvanderberg/PicoMiteAllVersions/releases/download/latest/MMBasic-Anywhere-esp32-s3-octal-merged.bin Edited 2026-06-10 06:22 by jvanderberg |
||||
| gadgetjack Senior Member Joined: 15/07/2016 Location: United StatesPosts: 233 |
I got a little time to play with my board tonight. Got the sd card option set no problem. When I tried the vga option , it goes into a re-boot loop you can not get out of. I reloaded I think about 9 times and tried different pins , 3bit option, full vga option , but get the same re-boot loop. Am I missing something or am I using the wrong bin file? I used the octal for my type board. Kind of lost at this point. Any help would be great! Jack |
||||
| jvanderberg Regular Member Joined: 06/05/2026 Location: United StatesPosts: 82 |
I've changed a lot recently and haven't run my VGA setup to smoke test, it shouldn't crash, at the worst it just won't work - so that suggests maybe there's a memory issue. Memory is oddly tight on these boards. |
||||
| ville56 Guru Joined: 08/06/2022 Location: AustriaPosts: 531 |
just flashed that version and the psram bug seems to be back. I've attached the boot-logs 1) log for crash-reboot with active wifi option crash-wifi-2.zip 2) log for normal boot with no wifi option set no-crash-no-wifi-2.zip 73 de OE1HGA, Gerald |
||||
| jvanderberg Regular Member Joined: 06/05/2026 Location: United StatesPosts: 82 |
That appeared to have been a different issue related to WPA3 - I've pushed a fix. The VGA boot loop is also fixed. And wifi should now support TLS for web connect and MQTT |
||||
| ville56 Guru Joined: 08/06/2022 Location: AustriaPosts: 531 |
the fix is not working, can't connect to wifi. Please see log wifi-fail-octal.zip Also tried with quad version. This version doesn't find psram, which is expected, but also fails with a buffer allocation on wifi connect. 73 de OE1HGA, Gerald |
||||
| Doktorn Newbie Joined: 09/07/2019 Location: SwedenPosts: 36 |
WaveShare ESP32-S3-PICO with MMBasic-Anywhere-esp32-s3-quad-merged.bin MMBasic Anywhere (esp32-s3) 1.1.1 Copyright 2011-2026 Geoff Graham Copyright 2016-2026 Peter Mather MMBasic Anywhere - Copyright 2025-2026 Josh Vanderberg Bytecode VM, HAL refactor, host/WASM/stdio ports ESP32-S3 REPL. Profile: GENERIC option wifi "dd-wrt","********" I (28287) mm_options: saved options to raw mmslots sector ESP32-F81004 connecting to WiFi... W (28307) wifi:malloc buffer fail E (28307) wifi:Expected to init 6 rx buffer, actual is 5 W (28317) wifi_init: Failed to unregister Rx callbacks E (28317) wifi_init: Failed to deinit Wi-Fi driver (0x3001) E (28317) wifi_init: Failed to deinit Wi-Fi (0x3001) failed to connect. |
||||
| jvanderberg Regular Member Joined: 06/05/2026 Location: United StatesPosts: 82 |
Ok, the memory issues should be fixed with the latest release https://github.com/jvanderberg/PicoMiteAllVersions/releases/download/latest/MMBasic-Anywhere-esp32-s3-octal-merged.bin They've been test on two my boards locally and pass my networking smoke tests. VGA should be working, though I'd call it more a WIP. It works but tends to glitch a bit when the CPU bogs down. Still very usable. The LCD panel support is now more standardized and re-uses the pico panel drivers (as they are the same hardware), so if you have a panel attached, and it's one of the existing supported panels, it *should* work with the proper 'options' settings. |
||||
| ville56 Guru Joined: 08/06/2022 Location: AustriaPosts: 531 |
Connects now reliably to wifi, thanks! but, compared with the runtime for sieve.bas for the version tested before (see my post from 08:23am 09 Jun 2026) the current version is about 10 times (!!!) slower now. Sieve(6000) in 875.956 ms Sieve(6000) in 755.13 ms Sieve(6000) in 1135.285 ms Sieve(6000) in 2314.811 ms Sieve(6000) in 1084.235 ms Sieve(6000) in 907.463 ms Sieve(6000) in 799.189 ms Sieve(6000) in 724.963 ms Sieve(6000) in 2404.137 ms Sieve(6000) in 1571.621 ms Sieve(6000) in 1132.949 ms Sieve(6000) in 946.375 ms Sieve(6000) in 813.296 ms current values with the same hardware are Sieve(6000) in 9891.012 ms Sieve(6000) in 10135.867 ms Sieve(6000) in 9780.164 ms Sieve(6000) in 10076.767 ms Sieve(6000) in 10024.839 ms Sieve(6000) in 9973.238 ms Sieve(6000) in 9842.318 ms Sieve(6000) in 10031.271 ms Sieve(6000) in 9616.662 ms Sieve(6000) in 9923.624 ms Sieve(6000) in 10074.079 ms Sieve(6000) in 9763.779 ms Sieve(6000) in 10168.916 ms Sieve(6000) in 9672.678 ms Sieve(6000) in 10051.345 ms Sieve(6000) in 9628.35 ms just for comparison ... running that on a RP2350B at 240 MHz gives 283 ms. Edited 2026-06-11 04:35 by ville56 73 de OE1HGA, Gerald |
||||
| jvanderberg Regular Member Joined: 06/05/2026 Location: United StatesPosts: 82 |
I think there's some excess polling of the network stack going on. I think turning off the wifi stack should fix it, but I'll push a fix in a bit. |
||||
| ville56 Guru Joined: 08/06/2022 Location: AustriaPosts: 531 |
true, without wifi connection it is Sieve(6000) in 1033.489 ms Sieve(6000) in 3543.409 ms Sieve(6000) in 1642.319 ms Sieve(6000) in 1162.7 ms Sieve(6000) in 2522.896 ms Sieve(6000) in 1707.49 ms Sieve(6000) in 1461.504 ms 73 de OE1HGA, Gerald |
||||
| Doktorn Newbie Joined: 09/07/2019 Location: SwedenPosts: 36 |
WaveShare ESP32-S3-PICO with MMBasic-Anywhere-esp32-s3-quad-merged.bin Latest version, no errors on startup. Wifi OK, TLS OK. Running "server.bas" for half an hour with no issues. One thing, I have setup quite large longstring buff%(16384/8) but it will only fill to about 4k. no errors though. /Lasse |
||||
| gadgetjack Senior Member Joined: 15/07/2016 Location: United StatesPosts: 233 |
I got some free time today and tested the latest bin file on my board. VGA came up first try !! No loop ! Now I have a lot of playing to do with this board. Big thanks for all of your help on this. I had almost gave up using those esp32s3 boards. Jack |
||||
| jvanderberg Regular Member Joined: 06/05/2026 Location: United StatesPosts: 82 |
I just pushed a patch to decrease the wifi polling overhead. Give it a few minutes to deploy. I think most of the moles have been whacked. If I knew how hard this would be I don't think I would have tried it :). Lots of complexity in this little platform. But hopefully all this makes it a lot easier for other people to make new ports. The amount of shared code between the esp32-s3 platform and the original PicoMite source is quite large. |
||||
| gadgetjack Senior Member Joined: 15/07/2016 Location: United StatesPosts: 233 |
I am amazed at the code that comes out of these 3 smart men. Some great fun for all of us on the sweat of these guys and their code. I tip my hat to all three of you. Jack |
||||
| jvanderberg Regular Member Joined: 06/05/2026 Location: United StatesPosts: 82 |
Glad somebody else got VGA working. I am working on some VGA improvements, including driving the VGA signaling at 320x240 for better performance. I've got it working on my 15 year old Dell 30" monitor, so it should be pretty compatible. |
||||
| gadgetjack Senior Member Joined: 15/07/2016 Location: United StatesPosts: 233 |
I have that same monitor on my shelf. I use it a lot for testing. |
||||
| ville56 Guru Joined: 08/06/2022 Location: AustriaPosts: 531 |
I think most of the moles have been whacked. If I knew how hard this would be I don't think I would have tried it :). Lots of complexity in this little platform. But hopefully all this makes it a lot easier for other people to make new ports. The amount of shared code between the esp32-s3 platform and the original PicoMite source is quite large. the latest octal s3 build runs fine now. The only issue I still find is the big variation in runtime. Running the sieve in a loop it varies in the order of 1:5 (~600 ms to ~3000 ms) Thanks anyway, great work. 73 de OE1HGA, Gerald |
||||
| gadgetjack Senior Member Joined: 15/07/2016 Location: United StatesPosts: 233 |
I have tried several usb keyboards but keep getting a "usb keyboard not enumerated yet" error. Is it not ready yet? Or do i just have the wrong keyboard to use. |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |