After some major re-writing in the MIDI handling code, specifically changing midi messages (both UART, and USB) from being handled immediately, to being added to a buffer and handled at a more convenient time, as well as removing a large portion of (unused, but I assume it was using up RAM space) debug print out code, the problem is now gone.
Thanks for all the help and eliminations though, speficially Kilograham's response to set the gcc unroll to 0 and to test shrinking the loops but not the arrays in the first place.
Thanks for all the help and eliminations though, speficially Kilograham's response to set the gcc unroll to 0 and to test shrinking the loops but not the arrays in the first place.
Statistics: Posted by Neo_nmik — Sat Jan 04, 2025 4:54 pm