Search found 19 matches

by akasaka_spk
Mon Mar 10, 2025 2:42 pm
Forum: Showcase
Topic: ESP32-based HiFi CD Player
Replies: 0
Views: 7516

ESP32-based HiFi CD Player

Many of you may know the cheap IDE CD drive control boards sold on Taobao et al, as well as the countless projects accomplishing the same task — starting with the infamous ATAPIduino, and a handful of PIC-based projects just among those that I've seen.

Back in my childhood I had a crazy dream of ...
by akasaka_spk
Mon Dec 02, 2024 11:42 pm
Forum: ESP32 Arduino
Topic: Bootlooping once the program exceeds a specific size
Replies: 4
Views: 3484

Re: Bootlooping once the program exceeds a specific size

ibernstone
Thanks for the insight. That probably is what is happening, and that is what I did already: https://github.com/platformio/platform-espressif32/issues/1500 (albeit I forgot to link the thread there, will do in a bit)

IIRC pio allows to set a custom size limit in the project settings ...
by akasaka_spk
Mon Dec 02, 2024 1:52 pm
Forum: ESP32 Arduino
Topic: Bootlooping once the program exceeds a specific size
Replies: 4
Views: 3484

Re: Bootlooping once the program exceeds a specific size

Sadly I cannot adjust anything about the bootloader, as it's precompiled in the esp32-arduino framework.

All of the addresses however seem to line up in the working version with no difference to the broken one:


rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk ...
by akasaka_spk
Mon Dec 02, 2024 10:18 am
Forum: ESP32 Arduino
Topic: Bootlooping once the program exceeds a specific size
Replies: 4
Views: 3484

Bootlooping once the program exceeds a specific size

So, my program has grown very close to the 2MB per partition size of a 4MB flash with OTA.

However, even though it technically fits, for some reason it won't boot after surpassing some specific size.

E.g. currently I have:


Checking size .pio\build\AKI_K875\firmware.elf
Advanced Memory Usage is ...
by akasaka_spk
Thu Nov 21, 2024 1:02 pm
Forum: General Discussion
Topic: Persistent time counter using NVS without burning a hole in the FLASH?
Replies: 7
Views: 3180

Re: Persistent time counter using NVS without burning a hole in the FLASH?

Yes, that is also something I'm considering for the next revision of the PCB. Who knew a clock could use an RTC, huh! :lol:
by akasaka_spk
Thu Nov 21, 2024 12:01 pm
Forum: General Discussion
Topic: Persistent time counter using NVS without burning a hole in the FLASH?
Replies: 7
Views: 3180

Re: Persistent time counter using NVS without burning a hole in the FLASH?


Probably a waste of storage space as vacuum tubes and their enclosing universes tend to break down a lot earlier than 2^64 hours after first deployment ;-)


You can never know! Especially if using only 450 out of the 512 byte block why bother saving space :P


... write a new NVS entry ...
by akasaka_spk
Thu Nov 21, 2024 8:23 am
Forum: General Discussion
Topic: Persistent time counter using NVS without burning a hole in the FLASH?
Replies: 7
Views: 3180

Persistent time counter using NVS without burning a hole in the FLASH?

Once again I'm designing weird features into my clock OS/platform.

This time I want the settings menu to display a runtime counter on vacuum tube based displays, to be able to tell how many hours the VFD/plasma display has spent actively showing something and/or with the heater turned on.

Of ...
by akasaka_spk
Sat Nov 16, 2024 3:06 am
Forum: General Discussion
Topic: Do ROM updates exist for the ESP32?
Replies: 4
Views: 1789

Re: Do ROM updates exist for the ESP32?

Thanks for the insight! Just tried that, but it seems to have actually made things worse — with a bunch of memw calls splashed here and there it decompresses fine on the second or third attempt, but without interrupts it fails altogether. I wonder if actually it needs to access somewhere in PSRAM ...
by akasaka_spk
Sat Nov 16, 2024 12:09 am
Forum: General Discussion
Topic: Do ROM updates exist for the ESP32?
Replies: 4
Views: 1789

Re: Do ROM updates exist for the ESP32?

Yes, I considered using a partition too, but the firmware has an OTA function for the data side of things too, and I was thinking of implementing something similar to an online catalog of fonts eventually, so the file system really makes things easier in that regard.

As for external libraries, I ...
by akasaka_spk
Fri Nov 15, 2024 4:04 pm
Forum: General Discussion
Topic: Do ROM updates exist for the ESP32?
Replies: 4
Views: 1789

Do ROM updates exist for the ESP32?

I have run into a brick wall with the infamous PSRAM bug again.

My firmware uses PSRAM to store fonts, which are loaded from compressed files on SPIFFS.
To reduce the firmware size, I used the miniz functions available in the ROM.

However here comes the fun part — I load the file temporarily into ...

Go to advanced search