Skip to content

openocd_flash_recovery.sh not work #3196

@3835

Description

@3835

This is not a bug! Just question\

Open On-Chip Debugger 0.12.0+dev-snapshot (2026-02-16-16:07)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
WARNING: interface/raspberrypi2-native.cfg is deprecated.
WARNING: Please use interface/raspberrypi-native.cfg for all Raspberry Pi models.
Warn : TMS/SWDIO moved to GPIO 8 (pin 24). Check the wiring please!
DEPRECATED! use 'adapter gpio srst' not 'bcm2835gpio_srst_num'
srst_only separate srst_gates_jtag srst_push_pull connect_deassert_srst
Warn : DEPRECATED: auto-selecting transport "jtag". Use 'transport select jtag' to suppress this message.
DEPRECATED! use 'gdb memory_map', not 'gdb_memory_map'
Warn : Transport "jtag" was already selected
DEPRECATED! use 'adapter speed' not 'adapter_khz'
adapter speed: 1000 kHz
Info : BCM2835 GPIO JTAG/SWD bitbang driver
Info : clock speed 1000 kHz
Error: JTAG scan chain interrogation failed: all zeroes
Error: Check JTAG interface, timings, target power, etc.
Error: Trying to use configured scan chain anyway...
Error: sam7x.cpu: IR capture error; saw 0x00 not 0x01
Warn : Bypassing JTAG setup events due to errors
Info : Embedded ICE version 0
Error: unknown EmbeddedICE version (comms ctrl: 0x00000000)
Info : sam7x.cpu: hardware has 2 breakpoint/watchpoint units
Info : [sam7x.cpu] Examination succeed
Info : [sam7x.cpu] starting gdb server on 3333
Info : Listening on port 3333 for gdb connections
Warn : target was in unknown state when halt was requested
Info : Halt timed out, wake up GDB.
Error: timed out while waiting for target halted

Warn : Flash driver of sam7x.flash.0 does not support free_driver_priv()
Warn : Flash driver of sam7x.flash.1 does not support free_driver_priv()

my openocd_configuration

CONFIG_GEN=general.cfg
CONFIG_BOARD=board-at91sam7s.cfg
IMAGE=../../recovery/proxmark3_recovery.bin
DUMP="dump_$(date +'%Y%m%d-%H%M%S').bin"

# One can use openocd-provided interfaces or local interface files
# Here are a few examples

# Segger Jlink:
CONFIG_IF=interface/jlink.cfg

# CMSIS-DAP (read interface-cmsis-dap.cfg for notes):
#CONFIG_IF=interface-cmsis-dap.cfg

# Raspberry Pi models Pi1, Pi2 and Pi Zero (read interface-raspberrypi.cfg for pinout)
#CONFIG_IF=interface-raspberrypi.cfg

# Raspberry Pi models 2+ and above (read interface-raspberrypi2.cfg for pinout)
CONFIG_IF=interface-raspberrypi2.cfg

# DP BusBlaster:
#CONFIG_IF=interface/ftdi/dp_busblaster.cfg

# BusPirate:
#CONFIG_IF=interface-buspirate.cfg

# C232HM-DDHSL-0 and C232HM-EDSL-0 (beware! read interface-c232hm.cfg instructions)
#CONFIG_IF=interface-c232hm.cfg

# Olimex ARM-USB-OCD Dongle:
#CONFIG_IF=interface/ftdi/olimex-arm-usb-ocd.cfg

# Amontec JTAGKey:
#CONFIG_IF=interface/ftdi/jtagkey.cfg

# Wiggler:
#CONFIG_IF=interface/parport.cfg

# Shikra:
#CONFIG_IF=interface-shikra.cfg

I use Raspberry Pi 3b+

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