Search found 8 matches

by NuttyMonk
Wed Aug 03, 2022 6:46 pm
Forum: ESP32 Arduino
Topic: Guru Meditation Error (LoadProhibited) EXCVADDR: 0x80081122
Replies: 5
Views: 4187

Re: Guru Meditation Error (LoadProhibited) EXCVADDR: 0x80081122

Hi Sprite, i moved the code that i was using in the ISR into the task itself and i'm just using the ISR to set a bool variable to indicate to the task that the code should be run in it. That all works fine. Now i've got a watchdog error on core 0, where this task is running, telling me that the task...
by NuttyMonk
Wed Aug 03, 2022 1:47 am
Forum: ESP32 Arduino
Topic: Guru Meditation Error (LoadProhibited) EXCVADDR: 0x80081122
Replies: 5
Views: 4187

Re: Guru Meditation Error (LoadProhibited) EXCVADDR: 0x80081122

Ah, OK. Thanks Sprite.

I wasn't sure if it was something simple or not.

I'm surprised that it can't do floating point in an ISR though when other microcontrollers can. Is that just part of the xtensa architecture?

Cheers

NM
by NuttyMonk
Tue Aug 02, 2022 6:42 pm
Forum: ESP32 Arduino
Topic: Guru Meditation Error (LoadProhibited) EXCVADDR: 0x80081122
Replies: 5
Views: 4187

Guru Meditation Error (LoadProhibited) EXCVADDR: 0x80081122

Hi all, I'm running some code on an ESP32 PICO that would work fine on an Arduino or other microcontroller (i've run the same code on Atmega328p, SAMD21 and ESP32 C3) but on an ESP32 PICO i get the following error (shown at the bottom). I've done some reading and the EXCVADDR: 0x80081122 seems to po...
by NuttyMonk
Mon Aug 01, 2022 3:29 pm
Forum: Hardware
Topic: ERROR when trying to use multiple cores
Replies: 4
Views: 3102

Re: ERROR when trying to use multiple cores

I tried that and it worked! Here is my final code for creating a hardware timer to run on a specific core and then deleting the task after the timer is created. The timer keeps on running on the core it was created on. volatile int interruptCounter; hw_timer_t * timer = NULL; #define LED_PIN (G25) /...
by NuttyMonk
Mon Aug 01, 2022 3:21 am
Forum: Hardware
Topic: ERROR when trying to use multiple cores
Replies: 4
Views: 3102

Re: ERROR when trying to use multiple cores

Thanks Sprite,

that was very helpful and i got it working now.

Is it possible to start a timer in the Task1 startInputTimer() function and then delete the Task1 task, but the timer will run on the core it is assigned to in the task before it was deleted?

Thanks for your help.

NM
by NuttyMonk
Sun Jul 31, 2022 7:13 pm
Forum: Hardware
Topic: ERROR when trying to use multiple cores
Replies: 4
Views: 3102

ERROR when trying to use multiple cores

Hi all, i am trying to get used to using both of the cores in the PICO and am getting this error message. Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled. Memory dump at 0x400ebf1c: 00000090 1d004136 000000f0 Core 1 register dump: PC : 0x400ebf23 PS : 0x00050030 ...
by NuttyMonk
Tue Jun 07, 2022 7:33 pm
Forum: Hardware
Topic: Barebones ESP32-U4WDH with separate programming board
Replies: 1
Views: 1627

Barebones ESP32-U4WDH with separate programming board

Hi all, i've come up with a schematic which i hope someone with more knowledge than me can check. The idea is for an ESP32 with no external memory and not using WIFI or Bluetooth and as small a footprint as possible. To help achieve the smaller footprint i want to keep the USB connector and the USB ...
by NuttyMonk
Mon Jun 06, 2022 6:12 pm
Forum: Hardware
Topic: ESP32-U4DWH - analog power supply design when not using WiFi
Replies: 13
Views: 7398

Re: ESP32-U4DWH - analog power supply design when not using WiFi

Hi Nullbert, i've just registered on this forum as i was coming to look for info to design a barebones ESP32-U4DWH project which doesn't use wifi/bluetooth and have found that you are doing the same thing. This is my first attempt at designing a PCB for a microcontroller and was hoping you could sha...