Skip to content

Commit

Permalink
update: fix openocd init mode failed
Browse files Browse the repository at this point in the history
  • Loading branch information
luftaquila committed Jul 27, 2024
1 parent 598cac4 commit 5cab937
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions device/firmware/FSK-EEM.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@
# Generated by STM32CubeIDE
# Take care that such file, as generated, may be overridden without any early notice. Please have a look to debug launch configuration setup(s)

source [find interface/stlink-dap.cfg]
source [find interface/stlink-v2-1.cfg]

set CPUTAPID 0x2ba01477

set WORKAREASIZE 0x5000

transport select "dapdirect_swd"
transport select "hla_swd"

set CHIPNAME STM32F103C8Tx
set BOARDNAME genericBoard
Expand Down Expand Up @@ -38,8 +39,9 @@ set GDB_PORT 3333

source [find target/stm32f1x.cfg]

reset_config none separate
adapter srst delay 100
adapter srst pulse_width 100
init
halt

program ./build/firmware.elf verify reset exit
program ./build/firmware.elf verify reset exit

0 comments on commit 5cab937

Please sign in to comment.