SoftwareGuy / esp32-composite-kickstart

A kickstart project for ESP32 Composite Graphics
1 stars 0 forks source link

Composite.sendFrame causes LoadProhibited CPU Panic #1

Open SoftwareGuy opened 6 years ago

SoftwareGuy commented 6 years ago

Seems that the latest version of the Arduino framework for ESP32 being pulled in by PlatformIO has deprecated some stuff that bitluni's composite code uses in regards to DAC manipulation and unfortunately composite.sendFrame() causes a LoadProhibited panic. I have yet to decode the stack trace, but commenting out or removing composite.sendFrame() from the while(true) loop resumes normal non-rebooting activity.

This is a major showstopper. TODO: Is composite audio affected too? Framework versions known faulty: 1.5.0 and 1.6.0 (?).

I know this was working with an older version of the framework, but unfortunately PlatformIO hosed that configuration file. Bugger!

Workaround: Comment out the sendFrame call, but you lose composite video out.

SoftwareGuy commented 5 years ago

After decoding the stack trace using an suppose-to-be-only-for-esp8266 tool that worked for the ESP32 exception dump, this is what it came up as:

Exception Cause: Not found

0x400d13a4: SimplePALOutput::sendFrame(char***) at ??:?
0x4000c2e0: ?? ??:0
0x4000c2f6: ?? ??:0
0x400d13a4: SimplePALOutput::sendFrame(char***) at ??:?
0x400d1489: secondaryLoop(void*) at ??:?

Seems something is breaking inside SimplePALOutput...