Click here to Skip to main content
15,890,512 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Unit Testing Framework Pin
Marc Clifton13-May-22 7:52
mvaMarc Clifton13-May-22 7:52 
GeneralRe: Unit Testing Framework Pin
Jon McKee13-May-22 8:00
professionalJon McKee13-May-22 8:00 
GeneralRe: Unit Testing Framework Pin
r_hyde13-May-22 8:59
r_hyde13-May-22 8:59 
GeneralRe: Unit Testing Framework Pin
Southmountain13-May-22 15:07
Southmountain13-May-22 15:07 
GeneralRe: Unit Testing Framework Pin
Jacquers13-May-22 19:31
Jacquers13-May-22 19:31 
GeneralRe: Unit Testing Framework Pin
Sander Rossel14-May-22 0:14
professionalSander Rossel14-May-22 0:14 
GeneralRe: Unit Testing Framework Pin
#realJSOP15-May-22 0:22
mve#realJSOP15-May-22 0:22 
PraiseBeta woes, and the mother of invention Pin
honey the codewitch13-May-22 4:39
mvahoney the codewitch13-May-22 4:39 
I got a fancy ESP32S3 MCU but it had no PSRAM in it, so I was stuck with the < 512kB of SRAM - about 300kB+ is what I get on system boot.

So I bought another one, this one with 8MB of PSRAM in it. I'm thinking "great, that was almost twice as expensive as the last one I bought, but whatever"

Turns out both are beta rev 3 boards. That's bad. The betas can't use their PSRAM. Also, they aren't labeled as betas. You either have to decode its model id which I don't even know where the docs for that are (and might be in Chinese), or plug the chip into a PC and watch it fail under the latest Arduino branch with "Wrong chip type". I can get Arduino working on it through my own means, but no PSRAM.

I don't even know of a reliable source of post beta boards.

So...

I've been working with about 300kB. With truetype. I've been loading and unloading fonts in and out of RAM as needed. I've been juggling MIDI data, such that I had to come up with a bit packing scheme to store all the currently depressed notes and ignore the velocities instead of tracking it all.

It's heckin difficult. I don't even know if this is doable. I won't know until I hit the memory wall.

Fortunately if I do hit that wall, I can probably get it working on a WROVER with an external USB device breakout. I don't want to. I also fear the processor isn't as quick.

Anyway, one thing about all of this is I'm getting bigger getting better in terms of coding.

Juggling RAM, doing so quickly. Running truetype in real time, using the 2nd core to render my display, while the primary core handles MIDI, etc. Workin' it baby.

There's something deeply satisfying about writing code that pushes the hardware envelope, even when that hardware is very small. Getting it firing on all cylinders is a gratifying accomplishment.
To err is human. Fortune favors the monsters.

GeneralRe: Beta woes, and the mother of invention Pin
Mike Hankey13-May-22 4:53
mveMike Hankey13-May-22 4:53 
GeneralRe: Beta woes, and the mother of invention Pin
jmaida13-May-22 15:05
jmaida13-May-22 15:05 
GeneralRe: Beta woes, and the mother of invention Pin
Slow Eddie14-May-22 2:45
professionalSlow Eddie14-May-22 2:45 
GeneralCCC Solution Pin
pkfox13-May-22 2:04
professionalpkfox13-May-22 2:04 
GeneralCCC 13-05-2022 Pin
pkfox12-May-22 22:05
professionalpkfox12-May-22 22:05 
GeneralRe: CCC 13-05-2022 Pin
Rich Leyshon12-May-22 23:06
Rich Leyshon12-May-22 23:06 
GeneralRe: CCC 13-05-2022 Pin
pkfox12-May-22 23:30
professionalpkfox12-May-22 23:30 
GeneralRe: CCC 13-05-2022 Pin
Rich Leyshon12-May-22 23:34
Rich Leyshon12-May-22 23:34 
GeneralRe: CCC 13-05-2022 Pin
Greg Utas13-May-22 0:32
professionalGreg Utas13-May-22 0:32 
GeneralRe: CCC 13-05-2022 Pin
pkfox13-May-22 1:04
professionalpkfox13-May-22 1:04 
GeneralSound of the Week Pin
Sander Rossel12-May-22 20:37
professionalSander Rossel12-May-22 20:37 
GeneralRe: Sound of the Week Pin
Craig Robbins13-May-22 1:27
Craig Robbins13-May-22 1:27 
GeneralRe: Sound of the Week Pin
David O'Neil13-May-22 3:04
professionalDavid O'Neil13-May-22 3:04 
GeneralRe: Sound of the Week Pin
Sander Rossel14-May-22 21:15
professionalSander Rossel14-May-22 21:15 
GeneralMeanwhile in Australia... Pin
Super Lloyd12-May-22 19:52
Super Lloyd12-May-22 19:52 
GeneralRe: Meanwhile in Australia... Pin
OriginalGriff12-May-22 19:56
mveOriginalGriff12-May-22 19:56 
GeneralRe: Meanwhile in Australia... Pin
Peter_in_278012-May-22 20:00
professionalPeter_in_278012-May-22 20:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.