-
store last warnings, errors
-
restart adc after some time
-
simulate ina226 external reset se
-
inspect ADC noise with scope-client
-
manual sync control to find inductivity
-
sweep web plot
- med3 doesnt really help
- consider kalman
- consider smaller f_cut for Iout RC-filter (larger R)
- tracker accumulation buffer
I (64555) mppt: Grouping 214 D points (0.00,nan)~(1.00,29.83) into 100 bins, binW=0.010
Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x40056fa1 PS : 0x00060a30 A0 : 0x820275ca A1 : 0x3fcb7e90
--- 0x40056fa1: memcpy in ROM
A2 : 0x00000000 A3 : 0x3fcb8242 A4 : 0x00000003 A5 : 0x00000000
A6 : 0x000094e2 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3fcb7e60
A10 : 0x3fcb8258 A11 : 0x3fcb8074 A12 : 0x00000005 A13 : 0x3fcb825c
A14 : 0x0000006d A15 : 0x00000000 SAR : 0x00000005 EXCCAUSE: 0x0000001d
EXCVADDR: 0x00000000 LBEG : 0x40056f5c LEND : 0x40056f72 LCOUNT : 0xffffffff
--- 0x40056f5c: memcpy in ROM
0x40056f72: memcpy in ROM
Backtrace: 0x40056f9e:0x3fcb7e90 0x420275c7:0x3fcb7ea0 0x42027986:0x3fcb7ec0 0x4200e731:0x3fcb7ee0 0x4201bc61:0x3fcb7f00 0x4201c675:0x3fcb82e0 0x4201c925:0x3fcb85a0 0x4201c9f9:0x3fcb8600 0x4201ca15:0x3fcb8650 0x4201da59:0x3fcb8670 0x4201e567:0x3fcb8690 0x4201e59a:0x3fcb86c0 0x4201d681:0x3fcb86e0 0x4201d749:0x3fcb8720 0x4202bb9c:0x3fcb8740 0x40381732:0x3fcb8760
--- 0x40056f9e: memcpy in ROM
0x420275c7: std::char_traits<char>::copy(char*, char const*, unsigned int) at /Users/fab/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/xtensa-esp32s3-elf/include/c++/12.2.0/bits/char_traits.h:431
(inlined by) std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_copy(char*, char const*, unsigned int) at /Users/fab/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/xtensa-esp32s3-elf/include/c++/12.2.0/bits/basic_string.h:423
0x42027986: std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::operator=(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&) at /Users/fab/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/xtensa-esp32s3-elf/include/c++/12.2.0/bits/basic_string.h:867
0x4200e731: ascii::Text::operator=(ascii::Text&&) at /Users/fab/dev/pv/fugu-mppt-firmware/src/asciichart/text.h:11
0x4201bc61: ascii::Asciichart::PlotLineChart() at /Users/fab/dev/pv/fugu-mppt-firmware/src/asciichart/ascii.h:297 (discriminator 10)
0x4201c675: ascii::Asciichart::Plot() at /Users/fab/dev/pv/fugu-mppt-firmware/src/asciichart/ascii.h:113 (discriminator 6)
(inlined by) Plot::_plotSeries(Series&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) at /Users/fab/dev/pv/fugu-mppt-firmware/src/etc/plot.h:88 (discriminator 6)
0x4201c925: Plot::plot() at /Users/fab/dev/pv/fugu-mppt-firmware/src/etc/plot.h:126 (discriminator 2)
0x4201c9f9: MpptController::_stopSweep(MpptControlMode, int, MpptController::CVP*)::{lambda()#1}::operator()() const at /Users/fab/dev/pv/fugu-mppt-firmware/src/mppt.h:537
0x4201ca15: void std::__invoke_impl<void, MpptController::_stopSweep(MpptControlMode, int, MpptController::CVP*)::{lambda()#1}&>(std::__invoke_other, MpptController::_stopSweep(MpptControlMode, int, MpptController::CVP*)::{lambda()#1}&) at /Users/fab/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/xtensa-esp32s3-elf/include/c++/12.2.0/bits/invoke.h:61
(inlined by) std::enable_if<is_invocable_r_v<void, MpptController::_stopSweep(MpptControlMode, int, MpptController::CVP*)::{lambda()#1}&>, void>::type std::__invoke_r<void, MpptController::_stopSweep(MpptControlMode, int, MpptController::CVP*)::{lambda()#1}&>(MpptController::_stopSweep(MpptControlMode, int, MpptController::CVP*)::{lambda()#1}&) at /Users/fab/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/xtensa-esp32s3-elf/include/c++/12.2.0/bits/invoke.h:111
(inlined by) std::_Function_handler<void (), MpptController::_stopSweep(MpptControlMode, int, MpptController::CVP*)::{lambda()#1}>::_M_invoke(std::_Any_data const&) at /Users/fab/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/xtensa-esp32s3-elf/include/c++/12.2.0/bits/std_function.h:290
0x4201da59: std::function<void ()>::operator()() const at /Users/fab/.espressif/tools/xtensa-esp32s3-elf/esp-12.2.0_20230208/xtensa-esp32s3-elf/xtensa-esp32s3-elf/include/c++/12.2.0/bits/std_function.h:591
0x4201e567: TaskQueue::work() at /Users/fab/dev/pv/fugu-mppt-firmware/src/logging.cpp:237
0x4201e59a: process_queued_tasks() at /Users/fab/dev/pv/fugu-mppt-firmware/src/logging.cpp:249
0x4201d681: loopNetwork_task(void*) at /Users/fab/dev/pv/fugu-mppt-firmware/src/main.cpp:736
0x4201d749: loop() at /Users/fab/dev/pv/fugu-mppt-firmware/src/main.cpp:425
0x4202bb9c: loopTask(void*) at /Users/fab/dev/pv/fugu-mppt-firmware/components/arduino/cores/esp32/main.cpp:74
0x40381732: vPortTaskWrapper at /Users/fab/dev/esp/esp-idf-v5.1/components/freertos/FreeRTOS-Kernel/portable/xtensa/port.c:162
ELF file SHA256: de9ce413875f76aa
Rebooting...
sw
issues: biggy goes in to download mode. when connecting idf.py monitor --no reset and sending cntrl+t ctrl+z, it:
waiting for download
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x0 (DOWNLOAD(USB/UART0))
Saved PC:0x40041a76
--- 0x40041a76: ets_delay_us in ROM
waiting for download
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x15 (USB_UART_CHIP_RESET),boot:0x0 (DOWNLOAD(USB/UART0))
Saved PC:0x40041a76
--- 0x40041a76: ets_delay_us in ROM
waiting for download
espressif/esp-idf#13287 espressif/arduino-esp32#6762 https://github.com/espressif/esptool/commit/0215786283660480e9ec85dd077e6fc2f46919e9#diff-cb25ea9381c2f7a537ecf1516335d3a9e8a711a9dbf3d1eff78453a611072103R356