xtensa_write_memory(): address 0x400d2d33 not writable

Anurag Paul
Posts: 11
Joined: Thu Jul 14, 2022 5:07 am

xtensa_write_memory(): address 0x400d2d33 not writable

Postby Anurag Paul » Fri Jul 29, 2022 8:34 am

Hi Team

I am trying to debug esp-idf/examples/blink project using Ecplise IDE following https://www.youtube.com/watch?v=NP5OjxytYQI&t=454s.

But after I debug and switch to debug perspective I get this error :

(194) trax_pctrigger (/32)
(195) trax_pcmatch (/32)
(196) trax_delay (/32)
(197) trax_memstart (/32)
(198) trax_memend (/32)
(199) pmg (/32)
(200) pmoc (/32)
(201) pm0 (/32)
(202) pm1 (/32)
(203) pmctrl0 (/32)
(204) pmctrl1 (/32)
(205) pmstat0 (/32)
(206) pmstat1 (/32)
(207) ocd_id (/32)
(208) ocd_dcrclr (/32)
(209) ocd_dcrset (/32)
(210) ocd_dsr (/32)
(211) ddr (/32)
(212) expstate (/32): 0x00000000
(213) f64r_lo (/32): 0x00000000
(214) f64r_hi (/32): 0x00000000
(215) f64s (/32): 0x00000000
User : 3408 6512 gdb_server.c:723 gdb_output():
Debug: 3409 6522 gdb_server.c:3281 gdb_input_inner(): received packet: 'Z0,400d2d33,2'
Debug: 3410 6523 gdb_server.c:1671 gdb_breakpoint_watchpoint_packet(): [esp32.cpu0]
Debug: 3411 6523 target.c:2507 target_read_buffer(): reading buffer of 3 byte at 0x400d2d33
Debug: 3412 6525 xtensa.c:788 xtensa_core_status_check(): esp32.cpu0: DSR (8080CC11)
Debug: 3413 6525 target.c:2445 target_write_buffer(): writing buffer of 2 byte at 0x400d2d33
Warn : 3414 6526 xtensa.c:1693 xtensa_write_memory(): address 0x400d2d33 not writable
Error: 3415 6526 xtensa.c:1929 xtensa_sw_breakpoint_add(): esp32.cpu0: Failed to write breakpoint instruction (-4)!
Error: 3416 6526 xtensa.c:1964 xtensa_breakpoint_add(): esp32.cpu0: Failed to add SW breakpoint!
Error: 3417 6526 breakpoints.c:94 breakpoint_add_internal(): can't add breakpoint: unknown reason
Debug: 3418 6527 gdb_server.c:1431 gdb_error(): Reporting -4 to GDB as generic error
Debug: 3419 6528 gdb_server.c:3281 gdb_input_inner(): received packet: 'qXfer:threads:read::0,fff'
Debug: 3420 6530 gdb_server.c:3281 gdb_input_inner(): received packet: 'qXfer:threads:read::0,fff'


and I am not able to understand where to change and what to change.

Any assist would be helpful.

Thanks
Anurag

Who is online

Users browsing this forum: Baidu [Spider] and 245 guests