MMBasic ANSI - MMBasic on Mac/Windows/Linux in a terminal


Author Message
ville56
Guru

Joined: 08/06/2022
Location: Austria
Posts: 560
Posted: 05:14pm 08 Jun 2026      

got it running on a ESP32-S3-WROOM-2 (MCN32R16V) with OPI flash which is currently not supported by Annex32 anymore.
Flashed in DIO mode, but running anyway.


> cpu restart

Restarting...
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40375f90
SPIWP:0xee
Octal Flash Mode Enabled
For OPI Flash, Use Default Flash Boot Mode
mode:SLOW_RD, clock div:1
load:0x3fce2810,len:0x178c
load:0x403c8700,len:0x4
load:0x403c8704,len:0xc10
load:0x403cb700,len:0x2dc0
entry 0x403c8904
I (32) boot: ESP-IDF v5.3 2nd stage bootloader
I (32) boot: compile time Jun  8 2026 14:33:27
I (33) boot: Multicore bootloader
I (33) boot: chip revision: v0.2
I (33) boot.esp32s3: Boot SPI Speed : 80MHz
I (33) boot.esp32s3: SPI Mode       : SLOW READ
I (34) boot.esp32s3: SPI Flash Size : 4MB
I (34) boot: Enabling RNG early entropy source...
I (34) boot: Partition Table:
I (34) boot: ## Label            Usage          Type ST Offset   Length
I (34) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (35) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (35) boot:  2 factory          factory app      00 00 00010000 00200000
I (36) boot:  3 lfsdata          Unknown data     01 81 00210000 000e0000
I (36) boot:  4 mmslots          Unknown data     01 40 002f0000 00100000
I (37) boot: End of partition table
I (37) esp_image: segment 0: paddr=00010020 vaddr=3c160020 size=57398h (357272) map
I (122) esp_image: segment 1: paddr=000673c0 vaddr=3fc9e000 size=06008h ( 24584) load
I (129) esp_image: segment 2: paddr=0006d3d0 vaddr=40374000 size=02c48h ( 11336) load
I (133) esp_image: segment 3: paddr=00070020 vaddr=42000020 size=15e514h (1434900) map
I (474) esp_image: segment 4: paddr=001ce53c vaddr=40376c48 size=172b4h ( 94900) load
I (500) esp_image: segment 5: paddr=001e57f8 vaddr=600fe100 size=00004h (     4) load
I (511) boot: Loaded app from partition at offset 0x10000
I (512) boot: Disabling RNG early entropy source...
I (513) octal_psram: vendor id    : 0x0d (AP)
I (513) octal_psram: dev id       : 0x03 (generation 4)
I (514) octal_psram: density      : 0x05 (128 Mbit)
I (514) octal_psram: good-die     : 0x01 (Pass)
I (514) octal_psram: Latency      : 0x01 (Fixed)
I (514) octal_psram: VCC          : 0x00 (1.8V)
I (515) octal_psram: SRF          : 0x01 (Fast Refresh)
I (515) octal_psram: BurstType    : 0x01 (Hybrid Wrap)
I (515) octal_psram: BurstLen     : 0x01 (32 Byte)
I (516) octal_psram: Readlatency  : 0x02 (10 cycles@Fixed)
I (516) octal_psram: DriveStrength: 0x00 (1/1)
I (517) MSPI Timing: PSRAM timing tuning index: 6
I (517) esp_psram: Found 16MB PSRAM device
I (517) esp_psram: Speed: 80MHz
I (518) cpu_start: Multicore app
I (1330) esp_psram: SPI SRAM memory test OK
I (1339) cpu_start: Pro cpu start user code
I (1339) cpu_start: cpu freq: 240000000 Hz
I (1339) app_init: Application information:
I (1340) app_init: Project name:     mmbasic_anywhere_esp32_s3
I (1340) app_init: App version:      e7b7b6b
I (1340) app_init: Compile time:     Jun  8 2026 14:33:22
I (1340) app_init: ELF file SHA256:  6f027a83e...
I (1340) app_init: ESP-IDF:          v5.3
I (1340) efuse_init: Min chip rev:     v0.0
I (1341) efuse_init: Max chip rev:     v0.99
I (1341) efuse_init: Chip rev:         v0.2
I (1341) heap_init: Initializing. RAM available for dynamic allocation:
I (1341) heap_init: At 3FCD85D8 len 00011138 (68 KiB): RAM
I (1342) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (1342) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (1342) heap_init: At 600FE104 len 00001EE4 (7 KiB): RTCRAM
I (1342) esp_psram: Adding pool of 16384K of PSRAM memory to heap allocator
W (1343) spi_flash: Octal flash chip is using but dio mode is selected, will automatically swich to Octal mode
I (1343) spi_flash: detected chip: mxic (opi)
I (1343) spi_flash: flash io: opi_str
W (1344) spi_flash: Detected size(32768k) larger than the size in the binary image header(4096k). Using the size in the binary image header.
W (1344) i2c: This driver is an old driver, please migrate your application code to adapt `driver/i2c_master.h`
I (1345) sleep: Configure to isolate all GPIO pins in sleep state
I (1345) sleep: Enable automatic switching of GPIO sleep configuration
I (1346) main_task: Started on CPU0
I (1356) main_task: Calling app_main()
hal_psram_init: slab=0x3c1c0c00 slab_bytes=6930432 heap=6291456 slot=245760 PSRAMbase=0x3c1c0c00 PSRAMsize=6291456
I (1356) mm_options: loaded options from raw mmslots sector
.....I (2366) mmslots: partition: size=1048576 slots=3 slot_size=49152I (2556) lfs: lfsdata partition: size=917504, 224 blocksI (2556) lfs: LittleFS mounted (A:)I (2666) lfs: wrote demo site.bas (5395 bytes)I (2736) lfs: wrote demo server.bas (5395 bytes)I (2766) lfs: wrote demo index.htm (1744 bytes)I (2806) lfs: wrote demo status.htm (1960 bytes)I (2836) lfs: wrote demo about.htm (2223 bytes)I (2876) lfs: wrote demo gpio.htm (1101 bytes)I (2906) lfs: wrote demo files.htm (771 bytes)I (2936) lfs: wrote demo style.css (1957 bytes)
MMBasic Anywhere (esp32-s3) 1.1.0
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

>