floitsch
01/09/2025, 11:25 AMjag flash esp32s3
MichaelK
01/09/2025, 11:44 AMMichaelK
01/09/2025, 11:45 AMfloitsch
01/09/2025, 11:49 AMjag monitor
to watch the output of the chip.floitsch
01/09/2025, 11:50 AMfloitsch
01/09/2025, 11:51 AMjag monitor
connects to the chip vial the serial connection and prints the output of the chip.
At the same time it automatically decodes stacktraces, ...MichaelK
01/09/2025, 12:04 PMfloitsch
01/09/2025, 12:05 PMMichaelK
01/09/2025, 12:09 PMfloitsch
01/09/2025, 12:10 PMfloitsch
01/09/2025, 12:10 PMMichaelK
01/09/2025, 12:14 PMbpmct
05/12/2025, 9:04 PMfloitsch
05/12/2025, 9:05 PMz3ugma
07/28/2025, 3:12 AMfloitsch
07/28/2025, 3:13 AMz3ugma
07/28/2025, 3:15 AMpixel-display-impl_.toit
and use the pixel-display library because I assume I am making some novice mistake that is causing me to run out of memoryfloitsch
07/28/2025, 3:15 AMz3ugma
07/28/2025, 3:16 AMfloitsch
07/28/2025, 3:18 AMz3ugma
07/28/2025, 3:20 AM// LCDWriteCommand(0x36); //Memory Data Access Control
// LCDWriteData(0x00);
command-spi 0x36 #[0x60]
start:= Time.monotonic-us
// // LCDWriteCommand(0x2C);//Write GRAM
3.repeat: |i|
bluary := #[0x85, 0xc0, 0x21, 0x70, 0x08, 0x5c, 0x02, 0x17, 0x00]
if i % 2 == 0:
bluary = #[0x80, 0xc0, 0xa0, 0x70, 0x48, 0x2c, 0x1a, 0x0f, 0x08]
chomps := #[]
times := 256
times.repeat:
chomps += bluary
device.transfer --command=0 #[0x2C]
device = bus.device --cs=cs --frequency=11_000_000
(320 * 320 / 4 / times).repeat: //8 chomps in bluary, so divide by 4 since it's 2 bytes of color data per memory location
device.transfer chomps
end := Time.monotonic-us
print "Duration: $((end - start) / 1_000) ms"
sleep --ms=10
z3ugma
07/28/2025, 3:21 AMchomps
array and running out of memoryfloitsch
07/28/2025, 3:23 AMfloitsch
07/28/2025, 3:24 AMz3ugma
07/28/2025, 3:25 AMz3ugma
07/28/2025, 3:25 AMfloitsch
07/28/2025, 3:26 AMz3ugma
07/28/2025, 3:27 AMfloitsch
07/28/2025, 3:28 AMfloitsch
07/28/2025, 3:41 AM