Skip to content

"Memory protection is enabled. Reset target to disable it..". (debugging works, memory protection disabled) (OCD-433) #190

@ad7718

Description

@ad7718

Environment

  • Development Kit: Ai-thinker esp32-c3
  • Module or chip used: esp32-c3-32s
  • Debug Adapter: builtin esp32 jtag
  • OpenOCD version: v0.10.0-esp32-20210902-33-g65b7bf50
  • Operating System: debian 11 (MX linux 21)
  • Using an IDE?: VS Code + platformio
  • OpenOCD command line: openocd -f board/esp32c3-builtin.cfg
  • JTAG Clock: 5000 kHz
  • ESP-IDF version: v4.3

Problem Description

Steps to reproduce the behavior:

  1. Disable memory protection in menuconfig
  2. Start debugging
  3. Open debug terminal
  4. See warning: "Memory protection is enabled. Reset target to disable it..."

Debug Logs

openocd_log.txt

Expected behavior

No warning

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions