bitluni / ESP32VGA

http://bitluni.net/esp32-vga
128 stars 24 forks source link

3bit hello world crashes uC #14

Closed mtraven closed 2 years ago

mtraven commented 2 years ago

been trying to get the basic VGA output running, I have the hardware wired, though I've disconnected everything from the uC at the moment trying to figure out whats going wrong. I have 3 chips (esp32 devkitv1), all of which cause a panic loop & none have had any problems running any other code, so I have no reason to think this is a hardware issue.

I've tried the example exactly as is, I've tried playing with a variety of pin allocations, I've tried a variety(not all) the modes...no matter what do, I get this message over & over, so much that I have to kill that window to free up the port for upload . understanding all that hex is beyond me, so any suggestions would be greatly appreciated.

ELF file SHA256: 0000000000000000

Rebooting...
Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.

Core  1 register dump:
PC      : 0x400d1b5a  PS      : 0x00060a30  A0      : 0x800d1d67  A1      : 0x3ffb2740
A2      : 0x00000000  A3      : 0x00000382  A4      : 0x00000000  A5      : 0x000000a0
A6      : 0x00000000  A7      : 0x3ffc1e48  A8      : 0x00000000  A9      : 0x00000000
A10     : 0x00000026  A11     : 0x00000000  A12     : 0x40000000  A13     : 0xe0ffffff
A14     : 0xdfffffff  A15     : 0x80000000  SAR     : 0x00000018  EXCCAUSE: 0x0000001c  
EXCVADDR: 0x00000000  LBEG    : 0x40085ff1  LEND    : 0x40086001  LCOUNT  : 0xffffffff

Backtrace:0x400d1b57:0x3ffb27400x400d1d64:0x3ffb2760 0x400d11b4:0x3ffb2790 0x400d2123:0x3ffb27b0 0x400d13e8:0x3ffb27e0 0x400d31e2:0x3ffb2820
mtraven commented 2 years ago

Looks like I was just running out of memory. I wasn't aware of the 3bit (I) mode for single buffer. that let me get the resolution up into a reasonable territory.