Skip to content

Instantly share code, notes, and snippets.

@usbalbin
Created July 28, 2022 19:29
Show Gist options
  • Save usbalbin/27bda42687df365b3029b2a28ad606e6 to your computer and use it in GitHub Desktop.
Save usbalbin/27bda42687df365b3029b2a28ad606e6 to your computer and use it in GitHub Desktop.
Configuring MCPWM
Starting duty-cycle loop
Duty 0%
Duty 0.000@%
Duty 0.000P%
Duty 3%
Duty 0.000p%
Duty 5%
Duty 6%
Duty 7%
Duty 0.000�%
Duty 9%
Duty 10%
Duty 11%
Duty 12%
Duty 13%
Duty 14%
Duty 15%
Guru Meditation Error: Core 0 panic'ed (Unhandled debug exception).
Debug exception reason: BREAK instr
Core 0 register dump:
PC : 0x400e2eb5 [_ZN4core3num7flt2dec15to_shortest_str17ha09e96e54f28a315E:??:??] PS : 0x00060b36 A0 : 0x800df98e A1 : 0x3ffb6320
A2 : 0x3ffb63dc A3 : 0x3ffb63ac A4 : 0x00000000 A5 : 0x3f402a4c
A6 : 0x3ffb6398 A7 : 0x00000011 A8 : 0x00000030 A9 : 0x00000001
A10 : 0x3ffb6398 A11 : 0x00000030 A12 : 0x00000000 A13 : 0x00000000
A14 : 0xb1e00000 A15 : 0x00000001 SAR : 0x00000013 EXCCAUSE: 0x00000001
EXCVADDR: 0x00000000 LBEG : 0x4000c2e0 [memcpy:??:??] LEND : 0x4000c2f6 [memcpy:??:??] LCOUNT : 0xffffffff
Backtrace:0x400e2eb2 [_ZN4core3num7flt2dec15to_shortest_str17ha09e96e54f28a315E:??:??]:0x3ffb63200x400df98b [_ZN4core3fmt5float32float_to_decimal_common_shortest17h19afc10518f89ac1E.llvm.16446625639447308803:??:??]:0x3ffb6390 0x400dfc19 [_ZN4core3fmt5float52_$LT$impl$u20$core..fmt..Display$u20$for$u20$f32$GT$3fmt17h71b5c2f3603fa8acE:??:??]:0x3ffb6410 0x400e21e7 [_ZN4core3fmt5w
rite17h093850cbadec79e1E:??:??]:0x3ffb6430 0x400d3890 [_ZN61_$LT$$RF$std..io..stdio..Stdout$u20$as$u20$std..io..Write$GT$9write_fmt17h8095c8b908cb7aa7E:??:??]:0x3ffb6480 0x400d3aef [_ZN3std2io5stdio6_print17hcb02849dad48484cE:??:??]:0x3ffb64d0 0x400d19d9 [_ZN12mcpwm_simple4main17hd332cb3424ce5c78E:??:??]:0x3ffb6540 0x400d1cf5 [_ZN3std2rt10lang_start28_$u7b$$u7b$closure$u7d$$u7
d$17h121b141c1b873232E.llvm.1422216461523755290:??:??]:0x3ffb65f0 0x400d2e6d [_ZN3std2rt19lang_start_internal17hca8e8838cb732b99E:??:??]:0x3ffb6640 0x400d1a8d [main:??:??]:0x3ffb6670 0x400d2cab [app_main:??:??]:0x3ffb66a0 0x400f9462 [main_task:/home/albin/ceph/rust/esp-idf-hal/.embuild/espressif/esp-idf/release-v4.4/components/freertos/port/port_common.c:141]:0x3ffb66c0
ELF file SHA256: 0000000000000000
Rebooting...
ets Jun 8 2016 00:22:57
rst:0xc (SW_CPU_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:2
load:0x3fff0048,len:12
ho 0 tail 12 room 4
load:0x3fff0054,len:4800
load:0x40078000 [__udivmoddi4:??:??],len:17448
load:0x4007c428 [__udivmoddi4:??:??],len:4840
entry 0x4007c6a0 [__udivmoddi4:??:??]
I (151) cpu_start: Pro cpu up.
I (151) cpu_start: Starting app cpu, entry point is 0x400810e4 [call_start_cpu1:/home/albin/ceph/rust/esp-idf-hal/.embuild/espressif/esp-idf/release-v4.4/components/esp_system/port/cpu_start.c:160]
I (136) cpu_start: App cpu up.
I (165) cpu_start: Pro cpu start user code
I (165) cpu_start: cpu freq: 160000000
I (165) cpu_start: Application information:
I (170) cpu_start: Project name: libespidf
I (175) cpu_start: App version: 1
I (179) cpu_start: Compile time: Jul 28 2022 17:25:50
I (185) cpu_start: ELF file SHA256: 0000000000000000...
I (191) cpu_start: ESP-IDF: ee2029c
I (197) heap_init: Initializing. RAM available for dynamic allocation:
I (204) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (210) heap_init: At 3FFB2C38 len 0002D3C8 (180 KiB): DRAM
I (216) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (222) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (229) heap_init: At 4008B108 len 00014EF8 (83 KiB): IRAM
I (236) spi_flash: detected chip: generic
I (240) spi_flash: flash io: dio
I (245) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
Configuring MCPWM
Starting duty-cycle loop
Duty 0%
Duty 0.000@%
Duty 0.000P%
Duty 3%
Duty 0.000p%
Duty 5%
Duty 6%
Duty 7%
Duty 0.000�%
Duty 9%
Duty 10%
Duty 11%
Duty 12%
Duty 13%
Duty 14%
Duty 15%
Guru Meditation Error: Core 0 panic'ed (Unhandled debug exception).
Debug exception reason: BREAK instr
Core 0 register dump:
PC : 0x400e2eb5 [_ZN4core3num7flt2dec15to_shortest_str17ha09e96e54f28a315E:??:??] PS : 0x00060b36 A0 : 0x800df98e A1 : 0x3ffb6320
A2 : 0x3ffb63dc A3 : 0x3ffb63ac A4 : 0x00000000 A5 : 0x3f402a4c
A6 : 0x3ffb6398 A7 : 0x00000011 A8 : 0x00000030 A9 : 0x00000001
A10 : 0x3ffb6398 A11 : 0x00000030 A12 : 0x00000000 A13 : 0x00000000
A14 : 0xb1e00000 A15 : 0x00000001 SAR : 0x00000013 EXCCAUSE: 0x00000001
EXCVADDR: 0x00000000 LBEG : 0x4000c2e0 [memcpy:??:??] LEND : 0x4000c2f6 [memcpy:??:??] LCOUNT : 0xffffffff
Backtrace:0x400e2eb2 [_ZN4core3num7flt2dec15to_shortest_str17ha09e96e54f28a315E:??:??]:0x3ffb63200x400df98b [_ZN4core3fmt5float32float_to_decimal_common_shortest17h19afc10518f89ac1E.llvm.16446625639447308803:??:??]:0x3ffb6390 0x400dfc19 [_ZN4core3fmt5float52_$LT$impl$u20$core..fmt..Display$u20$for$u20$f32$GT$3fmt17h71b5c2f3603fa8acE:??:??]:0x3ffb6410 0x400e21e7 [_ZN4core3fmt5w
rite17h093850cbadec79e1E:??:??]:0x3ffb6430 0x400d3890 [_ZN61_$LT$$RF$std..io..stdio..Stdout$u20$as$u20$std..io..Write$GT$9write_fmt17h8095c8b908cb7aa7E:??:??]:0x3ffb6480 0x400d3aef [_ZN3std2io5stdio6_print17hcb02849dad48484cE:??:??]:0x3ffb64d0 0x400d19d9 [_ZN12mcpwm_simple4main17hd332cb3424ce5c78E:??:??]:0x3ffb6540 0x400d1cf5 [_ZN3std2rt10lang_start28_$u7b$$u7b$closure$u7d$$u7
d$17h121b141c1b873232E.llvm.1422216461523755290:??:??]:0x3ffb65f0 0x400d2e6d [_ZN3std2rt19lang_start_internal17hca8e8838cb732b99E:??:??]:0x3ffb6640 0x400d1a8d [main:??:??]:0x3ffb6670 0x400d2cab [app_main:??:??]:0x3ffb66a0 0x400f9462 [main_task:/home/albin/ceph/rust/esp-idf-hal/.embuild/espressif/esp-idf/release-v4.4/components/freertos/port/port_common.c:141]:0x3ffb66c0
ELF file SHA256: 0000000000000000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment