russhughes / s3lcd

ESP_LCD based MicroPython driver for ESP32-S3 Devices with ST7789 or compatible displays.
Other
60 stars 10 forks source link

firmware /S3LCD_QUAD_8M firmware configured FLASH wrong size #1

Closed Wind-stormger closed 1 year ago

Wind-stormger commented 1 year ago
MPY: soft reboot
Traceback (most recent call last):
  File "_boot.py", line 11, in <module>
  File "inisetup.py", line 34, in setup
  File "inisetup.py", line 7, in check_bootsec
OSError: (-24579, 'ESP_ERR_FLASH_NOT_INITIALISED')
MicroPython v1.19.1-1009-gcfd3b7093-dirty on 2023-04-22; ESP32S3 (S3LCD_QUAD_8M) with ESP32S3
Type "help()" for more information.
>>> import esp,machine
>>> print("CPU frequency = {CPU}Mhz".format(CPU = machine.freq()/1000000))# CPU 
CPU frequency = 160.0Mhz
>>> print("RAM used = {RAM_used}KB".format(RAM_used = gc.mem_alloc()/1024))# RAM 
RAM used = 10.25KB
>>> print("RAM free = {RAM_free}KB".format(RAM_free = gc.mem_free()/1024))# RAM 
RAM free = 1990.391KB
>>> print("FLASH total = {FLASH_total}KB".format(FLASH_total = esp.flash_size()/1024))# FLASH 
FLASH total = 16384.0KB
>>>
>>> 16384/1024
16.0
>>>