-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error with rmttx_stepper_queue_v4 #3
Comments
You have to upload all of the code in the lua folder to your ESP32 first,
make sure it's compiled to .lc files, then you won't get that error because
it will find the library.
…On Tue, Nov 26, 2019 at 2:36 PM mcmadhatter ***@***.***> wrote:
I tried uploading and running the lua code, but I get and error on startup
�[0;32mI (468406) gpio: GPIO[16]| InputEn: 0| OutputEn: 1| OpenDrain: 0|
Pullup: 0| Pulldown: 0| Intr:0 �[0m
Slept DRV8825
loop or previous error loading module 'rmttx_stepper_queue_v4'
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#3?email_source=notifications&email_token=AB4J23IGSXUMKSTOJC5GFH3QVWQFFA5CNFSM4JR6XA72YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H4IBPWA>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB4J23NPRAIFSYD3CIAANXTQVWQFFANCNFSM4JR6XA7Q>
.
|
Ok, just re-checked in my latest code. What a pain transferring out of ChiliPeppr into Github. I need a better way to use a Github repo in ChiliPeppr! This is a pretty big difference using my latest code. The main entry point is main_cayenn_robot_v5.lua as you'll see in init.lua. This is now using Cayenn so you can see the actuator show up in the Cayenn widget in ChiliPeppr inside the ESP32 workspace and the robot workspace, which is working kinda/sorta now with the Axes widget in upper right corner. Let me know how it goes. |
Hi , with the latest it gets a bit further before a kernel panic. I should be using the NodeMCU-touch-pulsecnt-rmttx.bin in the firmware folder shouldn't I? NodeMCU ESP32 build unspecified powered by Lua 5.1.4 on SDK IDF ELF file SHA256: a239507fd8d32e86f79312bdb2015e39d7edf86abcf3757da8f7e68d121d0aac Backtrace: 0x40147b01:0x3ffbc1b0 0x40147ccd:0x3ffbc1d0 0x401472f7:0x3ffbc200 0x40145470:0x3ffbc220 0x400d49c9:0x3ffbc240 0x4013d777:0x3ffbc270 0x40143b61:0x3ffbc2b0 0x4013d84e:0x3ffbc300 0x401452a5:0x3ffbc320 0x40168afe:0x3ffbc340 0x4013d777:0x3ffbc360 0x40143b61:0x3ffbc3a0 0x4013d84e:0x3ffbc3f0 0x401447cd:0x3ffbc410 0x4013d095:0x3ffbc430 0x4013d936:0x3ffbc4b0 0x401452e6:0x3ffbc4e0 0x4013f57c:0x3ffbc510 0x4013f86d:0x3ffbc530 0x4013d777:0x3ffbc560 0x4013d845:0x3ffbc5a0 0x40144811:0x3ffbc5c0 0x4013d095:0x3ffbc5e0 0x4013d936:0x3ffbc660 0x40145316:0x3ffbc690 0x4013f9f6:0x3ffbc6c0 0x400f8f51:0x3ffbc6f0 0x400d269f:0x3ffbc730 Rebooting... |
Hmm. I better send you my latest firmware. It could be that.
…On Wed, Nov 27, 2019 at 1:12 PM mcmadhatter ***@***.***> wrote:
Hi , with the latest it gets a bit further before a kernel panic. I should
be using the NodeMCU-touch-pulsecnt-rmttx.bin in the firmware folder
shouldn't I?
NodeMCU ESP32 build unspecified powered by Lua 5.1.4 on SDK IDF
�[0;32mI (336) gpio: GPIO[16]| InputEn: 0| OutputEn: 1| OpenDrain: 0|
Pullup: 0| Pulldown: 0| Intr:0 �[0m
Slept DRV8825
Initted fan & temp sensor. Freq:30, Duty:8192
Apppending
Initted Gcode file save/retrieve
Initting ws2812. Using channel 7. GPIO 26. memBlocks 1
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was
unhandled.
Core 0 register dump:
PC : 0x40147b01 PS : 0x00060a30 A0 : 0x80147cd0 A1 : 0x3ffbc1b0
A2 : 0x3ffc0d3c A3 : 0x00000000 A4 : 0x00000000 A5 : 0x3ffcd944
A6 : 0x3ffcd954 A7 : 0x00000000 A8 : 0x80147491 A9 : 0x3ffbc160
A10 : 0x3ffc7f58 A11 : 0x3ffc15c8 A12 : 0x00001800 A13 : 0x00000800
A14 : 0x00000001 A15 : 0x00000000 SAR : 0x0000001b EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000 LBEG : 0x400014fd LEND : 0x4000150d LCOUNT :
0xfffffffd
ELF file SHA256:
a239507fd8d32e86f79312bdb2015e39d7edf86abcf3757da8f7e68d121d0aac
Backtrace: 0x40147b01:0x3ffbc1b0 0x40147ccd:0x3ffbc1d0
0x401472f7:0x3ffbc200 0x40145470:0x3ffbc220 0x400d49c9:0x3ffbc240
0x4013d777:0x3ffbc270 0x40143b61:0x3ffbc2b0 0x4013d84e:0x3ffbc300
0x401452a5:0x3ffbc320 0x40168afe:0x3ffbc340 0x4013d777:0x3ffbc360
0x40143b61:0x3ffbc3a0 0x4013d84e:0x3ffbc3f0 0x401447cd:0x3ffbc410
0x4013d095:0x3ffbc430 0x4013d936:0x3ffbc4b0 0x401452e6:0x3ffbc4e0
0x4013f57c:0x3ffbc510 0x4013f86d:0x3ffbc530 0x4013d777:0x3ffbc560
0x4013d845:0x3ffbc5a0 0x40144811:0x3ffbc5c0 0x4013d095:0x3ffbc5e0
0x4013d936:0x3ffbc660 0x40145316:0x3ffbc690 0x4013f9f6:0x3ffbc6c0
0x400f8f51:0x3ffbc6f0 0x400d269f:0x3ffbc730
Rebooting...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3?email_source=notifications&email_token=AB4J23LEXCFYHPB4YRYI5RTQV3PCPA5CNFSM4JR6XA72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFKYGZY#issuecomment-559252327>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB4J23M7ELN3ISHYRIJLS2LQV3PCPANCNFSM4JR6XA7Q>
.
|
ok, just checked in my oct 4th firmware build. try that.
…On Wed, Nov 27, 2019 at 1:36 PM John Lauer ***@***.***> wrote:
Hmm. I better send you my latest firmware. It could be that.
On Wed, Nov 27, 2019 at 1:12 PM mcmadhatter ***@***.***>
wrote:
> Hi , with the latest it gets a bit further before a kernel panic. I
> should be using the NodeMCU-touch-pulsecnt-rmttx.bin in the firmware folder
> shouldn't I?
>
> NodeMCU ESP32 build unspecified powered by Lua 5.1.4 on SDK IDF
> �[0;32mI (336) gpio: GPIO[16]| InputEn: 0| OutputEn: 1| OpenDrain: 0|
> Pullup: 0| Pulldown: 0| Intr:0 �[0m
> Slept DRV8825
> Initted fan & temp sensor. Freq:30, Duty:8192
> Apppending
> Initted Gcode file save/retrieve
> Initting ws2812. Using channel 7. GPIO 26. memBlocks 1
> Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was
> unhandled.
> Core 0 register dump:
> PC : 0x40147b01 PS : 0x00060a30 A0 : 0x80147cd0 A1 : 0x3ffbc1b0
> A2 : 0x3ffc0d3c A3 : 0x00000000 A4 : 0x00000000 A5 : 0x3ffcd944
> A6 : 0x3ffcd954 A7 : 0x00000000 A8 : 0x80147491 A9 : 0x3ffbc160
> A10 : 0x3ffc7f58 A11 : 0x3ffc15c8 A12 : 0x00001800 A13 : 0x00000800
> A14 : 0x00000001 A15 : 0x00000000 SAR : 0x0000001b EXCCAUSE: 0x0000001c
> EXCVADDR: 0x00000000 LBEG : 0x400014fd LEND : 0x4000150d LCOUNT :
> 0xfffffffd
>
> ELF file SHA256:
> a239507fd8d32e86f79312bdb2015e39d7edf86abcf3757da8f7e68d121d0aac
>
> Backtrace: 0x40147b01:0x3ffbc1b0 0x40147ccd:0x3ffbc1d0
> 0x401472f7:0x3ffbc200 0x40145470:0x3ffbc220 0x400d49c9:0x3ffbc240
> 0x4013d777:0x3ffbc270 0x40143b61:0x3ffbc2b0 0x4013d84e:0x3ffbc300
> 0x401452a5:0x3ffbc320 0x40168afe:0x3ffbc340 0x4013d777:0x3ffbc360
> 0x40143b61:0x3ffbc3a0 0x4013d84e:0x3ffbc3f0 0x401447cd:0x3ffbc410
> 0x4013d095:0x3ffbc430 0x4013d936:0x3ffbc4b0 0x401452e6:0x3ffbc4e0
> 0x4013f57c:0x3ffbc510 0x4013f86d:0x3ffbc530 0x4013d777:0x3ffbc560
> 0x4013d845:0x3ffbc5a0 0x40144811:0x3ffbc5c0 0x4013d095:0x3ffbc5e0
> 0x4013d936:0x3ffbc660 0x40145316:0x3ffbc690 0x4013f9f6:0x3ffbc6c0
> 0x400f8f51:0x3ffbc6f0 0x400d269f:0x3ffbc730
>
> Rebooting...
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#3?email_source=notifications&email_token=AB4J23LEXCFYHPB4YRYI5RTQV3PCPA5CNFSM4JR6XA72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFKYGZY#issuecomment-559252327>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AB4J23M7ELN3ISHYRIJLS2LQV3PCPANCNFSM4JR6XA7Q>
> .
>
|
Hi, I flashed the new firmware
Edited 23:12 GMT - cleared everything, refreshed and re-uploaded all files, this is what I get now.
|
Just a thought can esptool dump the filesystem from an esp32, so it can be flashed to another esp32? |
I'm not sure if esptool can do that, but there is an Upload All button in
ChiliPeppr to send all of that code to the ESP32 without much effort other
than just waiting around for it all to upload. It makes a nice ding sound
when it's done uploading all of the files.
…On Wed, Nov 27, 2019 at 3:26 PM mcmadhatter ***@***.***> wrote:
Just a thought can esptool dump the filesystem from an esp32, so it can be
flashed to another esp32?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3?email_source=notifications&email_token=AB4J23KLDBGJYZ6354NMULLQV3627A5CNFSM4JR6XA72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFLAA4Y#issuecomment-559284339>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB4J23N4DOC7RIURSQPOMA3QV3627ANCNFSM4JR6XA7Q>
.
|
[image: image.png]
…On Wed, Nov 27, 2019 at 3:28 PM John Lauer ***@***.***> wrote:
I'm not sure if esptool can do that, but there is an Upload All button in
ChiliPeppr to send all of that code to the ESP32 without much effort other
than just waiting around for it all to upload. It makes a nice ding sound
when it's done uploading all of the files.
On Wed, Nov 27, 2019 at 3:26 PM mcmadhatter ***@***.***>
wrote:
> Just a thought can esptool dump the filesystem from an esp32, so it can
> be flashed to another esp32?
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#3?email_source=notifications&email_token=AB4J23KLDBGJYZ6354NMULLQV3627A5CNFSM4JR6XA72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFLAA4Y#issuecomment-559284339>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AB4J23N4DOC7RIURSQPOMA3QV3627ANCNFSM4JR6XA7Q>
> .
>
|
On your error, it does look like you're seeing a SW_CPU_RESET which is
weird to me. That's as if it ran code that did a node.restart()
…On Wed, Nov 27, 2019 at 3:29 PM John Lauer ***@***.***> wrote:
[image: image.png]
On Wed, Nov 27, 2019 at 3:28 PM John Lauer ***@***.***> wrote:
> I'm not sure if esptool can do that, but there is an Upload All button in
> ChiliPeppr to send all of that code to the ESP32 without much effort other
> than just waiting around for it all to upload. It makes a nice ding sound
> when it's done uploading all of the files.
>
> On Wed, Nov 27, 2019 at 3:26 PM mcmadhatter ***@***.***>
> wrote:
>
>> Just a thought can esptool dump the filesystem from an esp32, so it can
>> be flashed to another esp32?
>>
>> —
>> You are receiving this because you commented.
>> Reply to this email directly, view it on GitHub
>> <#3?email_source=notifications&email_token=AB4J23KLDBGJYZ6354NMULLQV3627A5CNFSM4JR6XA72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFLAA4Y#issuecomment-559284339>,
>> or unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/AB4J23N4DOC7RIURSQPOMA3QV3627ANCNFSM4JR6XA7Q>
>> .
>>
>
|
esptool.py --port read_flash 0 0x400000 flash_contents.bin will dump everything including the filesystem. Would you be ok to try doing that on your working chip, and sending me the flash_contents.bin to try on mine? |
I'm not near any of my ESP32 devices, sorry.
…On Wed, Nov 27, 2019 at 3:55 PM mcmadhatter ***@***.***> wrote:
esptool.py --port read_flash 0 0x400000 flash_contents.bin will dump
everything including the filesystem.
Would you be ok to try doing that on your working chip, and sending me the
flash_contents.bin to try on mine?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#3?email_source=notifications&email_token=AB4J23M5F7UPLEFN7TJSYRTQV4CGZA5CNFSM4JR6XA72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFLBJEA#issuecomment-559289488>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB4J23IDAJMQOFFJKB5RZ3TQV4CGZANCNFSM4JR6XA7Q>
.
|
OK, no worries. |
I tried uploading and running the lua code, but I get and error on startup
�[0;32mI (468406) gpio: GPIO[16]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 �[0m
Slept DRV8825
loop or previous error loading module 'rmttx_stepper_queue_v4'
The text was updated successfully, but these errors were encountered: