Debug problem
Opened this issue · 3 comments
I haven't used the debugger yet and never inspected assembler (asm knowledge almost unexsting).
From your screen I don't know at which point of the program it halts.
Can you advice how to check where it is going wrong? slave 1 (SDM220) is showing activety on the screen.
This is the serial output:
--- Miniterm on COM8 115200,8,N,1 ---
--- Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
ets Jun 8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x17 (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:0x3fff0018,len:4
load:0x3fff001c,len:928
ho 0 tail 12 room 4
load:0x40078000,len:8740
load:0x40080400,len:5800
entry 0x4008069c
�
Connecting to WiFi...
WiFi connected. IP: 192.168.178.68
reading registers
power: 0
energy: 0
You should build with debug enabled: add -DCORE_DEBUG_LEVEL=1 to your building script (set flags in platformio.ini?)
[env:esp32]
platform = espressif32
board = lolin32
framework = arduino
lib_deps =
...
lib_extra_dirs =
...
build_flags =
-Wall
-DCORE_DEBUG_LEVEL=1
monitor_speed = 115200