What would be the correct way to prevent the setting of the C_DEBUGEN bit in the DHCSR register when connecting to an ARM Cortex-M4 device via OpenOCD and ST-Link V2 in SWD Mode? If I understood that correctly OpenOCD seems to set some debugging bits in that register. The bit also gets set automatically if I try to read the flash? I'm using the target file of the STM32f1x and tried modifying it a little bit, but if I read the DHCSR register directly after starting the server the C_DEBUGEN bit is already set. The controller is a GD32F3.
How to prevent setting of C_DEBUGEN bit on ARM Cortex-M4 using OpenOCD
28 Views Asked by user3662357 At
0
There are 0 best solutions below
Related Questions in DEBUGGING
- How to pass the value of a function of one class to a function of another with the @property decorator
- Visual Studio C++, breakpoints not stopping debugging DLL (GODOT GDExtention)
- Playwright JS: Getting an error when debugging using line numbers
- C++ skips line when promting for user to enter name of person being added to a string array
- Xcode: Can't Attach to process
- unity navmeshsurface prefab not found or whatever
- It seems to be a bug about "base::trace()" or "methods:::.TraceWithMethods()"?
- How to check reference counting issues when doing direct manipulations of CPython objects?
- How to scroll to the bottom of console window in PyCharm2019 automatically?
- need help debugging prolog
- Is there a way to deactivate (but not delete) conditional breakpoints when debugging?
- How can i debug a python exe which is created by using pyinstaller?
- Increment or Decrement volume programmatically on Xiaomi device adjusts it by 10 steps instead of one step
- Checking request JSON with image data
- Why cannot I set font of `xlabel` in `plotmf` in MATLAB?
Related Questions in OPENOCD
- Progam CC26x2 with ST-Link V3PWR and OpenOCD
- Unable to hit breakpoint with JTAG gdb on Raspberry Pi
- OpenOCD failed to read memory
- Can't connect ST-Link with APM32F003 through OpenOCD
- Debug issue with ESP-IDF master version 5.3
- esp-idf openocd with jtag could not start
- OpenOCD Flyswatter2 not connecting to imx28
- How to prevent setting of C_DEBUGEN bit on ARM Cortex-M4 using OpenOCD
- Openocd config file error: bcm2835gpio_swd_nums'
- Debug not working with Cortex-Debug on relocated application on STM32
- How to set register from a variable value in openocd
- Debugging the Raspberrypi Pico in Visual Studio Code
- how to use openocd jtag burning FUSE_USER
- Unable to start a debug session using the ESP-IDF Debug Adapter for ESP32-C6
- VsCode: escape widnows path in launch.json command
Related Questions in STM32F1
- STM32F100 PWM with SPL setup
- How to prevent setting of C_DEBUGEN bit on ARM Cortex-M4 using OpenOCD
- How can I find out which ADC input channel the data in the ADC register belongs to?
- Traffic light with STM32
- Problem in STM32F103C8 with Timer Interrupt
- How would I read the code from the MCU through CUBE-IDE or CUBE-Programmer?
- Why the number of stm32f103c8t6's timers in reference manual differ from datasheet
- How to update duty cycle once only?
- stm32f103c8t6, pins B3 and B4 doesn't work, CubeIDE, HAL
- Disabling JTAG PINS on STM32f103RCT6
- - Steppermotor-Controlling with STM32F103C8T6 -
- STM32F103 with LIN transceiver (MCP2004) does not work
- what is pData in HAL_IM_IC_START_DMA?
- Came up with an "Unable to stat debugging" error when Debug program for STM32 NUCLEOF103RB
- Why did I get this ADC error when I compiled a keymap using QMK MSYS?
Related Questions in SWD
- How to prevent setting of C_DEBUGEN bit on ARM Cortex-M4 using OpenOCD
- Openocd config file error: bcm2835gpio_swd_nums'
- gdb (over pyocd) displays stale memory contents
- Write to RTT using pylink-square library
- cortex-m7 cant use swd r/w core register
- Using Openocd on raspberrypi for ARM CC3200 debug
- STM32F103RET6, ST-LINK V2, DEV_TARGET_CMD_ERR, SWD does not work properly
- stm32 through swd printf doesn't work properly
- STM32 through SWD gives error with increasing HCLK (Break at address)
- How to log a particular address from an STM32 NUCLEO-F334R8 with an inbuilt ST-LINK in real time using SWD & openOCD without halting the processor?
- Pyocd and Picoprobe unable to flash nRF51822
- Stm32CubeProgrammer not connecting (no error msg) using ST-LINK V2 dongle and Lora E5 mini board
- Olimax STM32-E407 cannot connect over SWD
- Programming external QSPI flash Raspberry Pi Pico
- Can you move an ARM Core M4 into SLEEP mode through the Serial Wire (DAP)?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?