Open KerryRJ opened 3 years ago
Info from Jtag session
Reading symbols from C:\Dev\Github\esp32-hal\target\xtensa-esp32-none-elf\debug\examples\ram... done. 0x40000288 in ?? () Program stopped, probably due to a reset and/or halt issued by debugger Register cache flushed.
After a debug restart
JTAG tap: esp32.cpu0 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1) JTAG tap: esp32.cpu1 tap/device found: 0x120034e5 (mfg: 0x272 (Tensilica), part: 0x2003, ver: 0x1) esp32.cpu0: Debug controller was reset. esp32.cpu0: Core was reset. esp32.cpu0: Target halted, PC=0x500000CF, debug_reason=00000000 esp32.cpu0: Core was reset. esp32.cpu0: Target halted, PC=0x40000400, debug_reason=00000000 esp32.cpu1: Debug controller was reset. esp32.cpu1: Core was reset. esp32.cpu1: Target halted, PC=0x40000400, debug_reason=00000000 Register cache flushed. Continuing. Note: automatically using hardware breakpoints for read-only addresses. esp32.cpu0: Target halted, PC=0x400003C0, debug_reason=00000001 Set GDB target to 'esp32.cpu0' esp32.cpu1: Target halted, PC=0x400076DD, debug_reason=00000000
Program received signal SIGTRAP, Trace/breakpoint trap. 0x400003c0 in ?? ()
I cannot get a breakpoint at the start of main to work.
Works for me: Ignore that, was running the wrong example
cargo +esp-dev espflash --tool cargo --chip esp32 --speed 460800 --example mem --features alloc /dev/ttyUSB0
Are you enabling the external-ram
feature? If you are, without psram connected that will almost certainly end in trouble :D
Scratch what I said above, not working for me either!
I pulled down the latest crates and successfully ran alloc and mem(thank you) but ram is now failing
Are you able to confirm it working on your side @MabezDev?