Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [openocd]

Open On-Chip Debugger. Free and Open On-Chip Debugging, In-System Programming and Boundary-Scan Testing

3
votes
1answer
941 views

How to use RPI 2 to debug RPI model B via JTAG with OpenOCD

I have a RPI 2 that I want to use for programming and debugging a RPI model B over JTAG for a bare metal project. Right now I'm having trouble to get the two boards to even talk to each other over ...
1
vote
1answer
372 views

JTAG, OpenOCD and Atmel SAM3X

I'm trying to set up OpenOCD debugging through a JTAG port on a custom board with an Atmel ATSAM3X8E microcontroller. OpenOCD is running on a Raspberry Pi using the bcm2835 native GPIO. The JTAG ...
0
votes
1answer
65 views

Intermittent NVM programming error

Occasionally I'll get the following errors while programming my SAMD21 chip. Anyone know the reason? ...
2
votes
0answers
468 views

Memory layout problem when debugging, flashing works fine

My openocd configuration script: ...
1
vote
0answers
29 views

OpenOCD flash writing failure with STM32L071C8 MCU

I have designed custom-made PCB with STM32L071C8 MCU. I'm using OpenOCD 'master' branch and SWD interface via FT2232H to debug the MCU. I successfully did some RAM reading and Flash writing, erasing ...
1
vote
0answers
96 views

OpenOCD FT2232H as SWD debugger with STM32L0 mcu

I would like to debug my MCU with OpenOCD. I run this command: openocd -f interface/ftdi/minimodule-swd.cfg -f target/stm32l0.cfg and then I get this prints from ...
1
vote
0answers
87 views

OpenOCD debugger in Eclipse Neon 4.6.2 Error in final launch sequence

I have been struggling with OpenOCD debugger under Eclipse Neon 4.6.2. Whenever I run the debug configuration I receive below given error message I have been attempting to debug the STM32F417VGT6 MCU....
1
vote
0answers
61 views

Arduino Module bluetooth

I have module nRF52810, which I want to load a sample hex from internet. I wanted to use OpenOCD program to that but I have problem when I use that the command ...
0
votes
0answers
19 views

Command from Openocd to deactive Target

Can someone tell me if there is a command from OpenOcd that we can deactivate/stop the Target for a while? (like when we press the reset button) I am flashing 4 devices in a daisy-chain with Jtag and ...
0
votes
0answers
30 views

openocd with NUCLEO-F756ZG and linker script for compiler

I am a beginner in arm cortex m7, i bought NUCLEO-F756ZG board and when i was trying to apply this tutorial i faced two difficulties. First: i didn't find linker script for my board (NUCLEO-F756ZG) ...
0
votes
0answers
22 views

When using OpenOCD, GDB load erases bootloader: sectors too big?

Let me start off by saying this is the first time I've tried using OpenOCD. Ultimately my goal is to debug an ATSAMD21G18, and what I have available is a RedBear's DAPLink V1.0 USB Interface. The ...
0
votes
0answers
76 views

Loading program with OpenOCD

I'm on a system with external flash, so I'm unable to program it easily. However, I can load firmware through JTAG - OpenOCD - GDB chain. I automated it as far as I'm able with ...
0
votes
0answers
41 views

flash a .BIN with openOCD

I'm using a TI micro controller TM4C1230C3PM to flash a .bin using JTAG and openOCD .i have a board with tag connection tc2050 , I have everything connected but when i open the command window of ...
0
votes
0answers
23 views

Relationship of openocd to debug options

I recently purchased a Segger jlink pro, and in attempting to make NetBeans talk embedded gdb, I have run across numerous blogs about the use of openocd. My initial understanding is that openocd was ...
0
votes
0answers
101 views

Flashing LPC1768 with OpenOCD

I'm venturing into JTAG flashing, and thought OpenOCD would be a good place to start. I had a quick look through the documentation and found it hideously complicated. Likewise, the very few "tutorials"...
0
votes
0answers
60 views

OpenOCD Eclipse STM32VL problem

I am working through setting up eclipse with openOCD to program a STM32VL discovery board using the following guide https://www.carminenoviello.com/2014/12/28/setting-gcceclipse-toolchain-stm32nucleo-...