ESP32 DevKit V1 + GRBL equals error :(

mjozwiak
Posts: 4
Joined: Thu Mar 28, 2019 7:10 pm

ESP32 DevKit V1 + GRBL equals error :(

Postby mjozwiak » Thu Mar 28, 2019 7:27 pm

Hi, i'm trying to run GRBL software on my ESP32, unfortunately i'm getting some issues.

After uploading sketch, everything looks fine - Grbl starts i can see it and control from Serial Port Monitor in Arduino IDE. But after trying connect to wi-fi most of the tries ends with errors. I don't know exactly what is wrong. I'm trying to find solution in internet but with no success. Here is the communicates:
Any ideas? :(

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1100
load:0x40078000,len:10312
load:0x40080400,len:6460
entry 0x400806a4

[MSG:AP Started 192.168.0.1]
[MSG:Captive Portal Started]
[MSG:HTTP Started]
[MSG:TELNET Started 23]

Grbl 1.1f ['$' for help]
Guru Meditation Error: Core 1 panic'ed (Cache disabled but cached memory region accessed)
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x4017dd2c: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x4017dd2c: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x4017dd2c: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x4017dd2c: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x4017dd2c: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x4017dd2c: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x4017dd2c: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x4017dd2c: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x4017dd2c: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x4017dd2c: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x4017dd2c: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x4017dd2c: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x4017dd2c: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x4017dd2c: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x4017dd2c: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x4017dd2c: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x4017dd2c: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x4017dd2c: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x4017dd2c: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x4017dd2c: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x4017dd2c: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x4017dd2c: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x4017dd2c: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x4017dd2c: bad00bad bad00bad bad00bad
Guru Meditation Error: Core 1 panic'ed (IllegGuru Meditation Error: Core 1 panic'ed (Unhandled debug exception)
Debug exception reason: Stack canary watchpoint triggered ()
Guru Meditation Error: Core 1 panic'ed (Guru Meditation Error: Core 1 panic'ed (Guru Meditation Error: Core 1 panic'ed (Guru Meditation Error: Core 1 panic'ed (Guru Meditation Error: Core 1 panic'ed (Unknown reason)
Guru Meditation Error: Core 1 panic'ed (Double exception)

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: ESP32 DevKit V1 + GRBL equals error :(

Postby ESP_Angus » Fri Mar 29, 2019 12:59 am

Hi,

An error that looks like this:
Guru Meditation Error: Core 1 panic'ed (IllegalInstruction). Exception was unhandled.
Memory dump at 0x4017dd2c: bad00bad bad00bad bad00badp
Means that the ESP32's flash cache was disabled (maybe because a task was writing some data to the flash) but at the same time some code tried to execute from flash.

Most likely this means there is an interrupt handler registered as "IRAM-safe" (ie that all of its code is loaded from IRAM and it does not use any code from the flash directly), but this interrupt handler actually uses code from the flash directly.

You will need to report this as a bug to whoever develops the GRBL firmware you are using.

mjozwiak
Posts: 4
Joined: Thu Mar 28, 2019 7:10 pm

Re: ESP32 DevKit V1 + GRBL equals error :(

Postby mjozwiak » Fri Mar 29, 2019 10:14 am

Thank you for the response. I'm trying contact to developer of this software.

mjozwiak
Posts: 4
Joined: Thu Mar 28, 2019 7:10 pm

Re: ESP32 DevKit V1 + GRBL equals error :(

Postby mjozwiak » Fri Mar 29, 2019 11:56 pm

Thank you for the response.
I think that the problem was that i did some modifications in flash memory.
Uploading factory firmware and then grbl_esp32 solved the problem.

Who is online

Users browsing this forum: No registered users and 52 guests