ipdbg: split ipdbg command into multiple commands
To simplify the ipdbg start/stop command and be able to add additional commands in the future, we introduce the concept of a hub which has to be created before a ipdbg server can be started. The hub was created on the fly in previous versions. Change-Id: I55f317542d01a7324990b2cacd496a41fa5ff875 Signed-off-by: Daniel Anselmi <danselmi@gmx.ch> Reviewed-on: https://review.openocd.org/c/openocd/+/7979 Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com> Tested-by: jenkins
This commit is contained in:
committed by
Antonio Borneo
parent
1d076d6ce1
commit
7a77355a3e
@@ -17,7 +17,8 @@ source [find fpga/altera-cycloneiii.cfg]
|
||||
#quartus_cpf --option=bitstream_compression=off -c output_files\cycloneiii_blinker.sof cycloneiii_blinker.rbf
|
||||
|
||||
#openocd -f board/bemicro_cycloneiii.cfg -c "init" -c "pld load cycloneiii.pld cycloneiii_blinker.rbf"
|
||||
# "ipdbg -start -tap cycloneiii.tap -hub 0x00e -tool 0 -port 5555"
|
||||
# "ipdbg create-hub cycloneiii.ipdbghub -tap cycloneiii.tap -ir 0x00e"
|
||||
# "cycloneiii.ipdbghub ipdbg start -tool 0 -port 5555"
|
||||
|
||||
|
||||
set JTAGSPI_CHAIN_ID cycloneiii.pld
|
||||
|
||||
@@ -15,7 +15,8 @@ adapter speed 10000
|
||||
|
||||
source [find cpld/xilinx-xc7.cfg]
|
||||
|
||||
# "ipdbg -start -tap xc7.tap -hub 0x02 -tool 0 -port 5555"
|
||||
# "ipdbg create-hub xc7.ipdbghub -tap xc7.tap -ir 0x02"
|
||||
# "xc7.ipdbghub ipdbg start -tool 0 -port 5555"
|
||||
#openocd -f board/digilent_cmod_s7.cfg -c "init" -c "pld load xc7.pld shared_folder/cmod_s7_fast.bit"
|
||||
|
||||
set JTAGSPI_CHAIN_ID xc7.pld
|
||||
|
||||
@@ -16,7 +16,8 @@ adapter speed 6000
|
||||
source [find fpga/lattice_ecp5.cfg]
|
||||
|
||||
#openocd -f board/ecp5_evaluation.cfg -c "init" -c "pld load ecp5.pld shared_folder/ecp5_blinker_impl1.bit"
|
||||
#ipdbg -start -tap ecp5.tap -hub 0x32 -port 5555 -tool 0
|
||||
#ipdbg create-hub ecp5.ipdbghub -tap ecp5.tap -ir 0x32
|
||||
#ecp5.ipdbghub ipdbg start -tool 0 -port 5555
|
||||
|
||||
set JTAGSPI_CHAIN_ID ecp5.pld
|
||||
source [find cpld/jtagspi.cfg]
|
||||
|
||||
@@ -16,4 +16,5 @@ source [find fpga/gowin_gw1n.cfg]
|
||||
|
||||
|
||||
#openocd -f board/gowin_runber.cfg -c "init" -c "pld load 0 impl/pnr/gw1n_blinker.fs"
|
||||
#ipdbg -start -tap gw1n.tap -hub 0x42 -port 5555 -tool 0
|
||||
#ipdbg create-hub gw1n.ipdbghub -tap gw1n.tap -ir 0x42
|
||||
#gw1n.ipdbghubipdbg start -tool 0 -port 5555
|
||||
|
||||
@@ -20,7 +20,8 @@ adapter speed 6000
|
||||
source [find fpga/efinix_trion.cfg]
|
||||
|
||||
#openocd -f board/trion_t20_bga256.cfg -c "init" -c "pld load trion.pld outflow/trion_blinker.bit"
|
||||
#ipdbg -start -tap trion.tap -hub 0x8 -port 5555 -tool 0
|
||||
#ipdbg create-hub trion.ipdbghub -tap trion.tap -ir 0x8
|
||||
#trion.ipdbghub ipdbg start -tool 0 -port 5555
|
||||
|
||||
set JTAGSPI_CHAIN_ID trion.pld
|
||||
source [find cpld/jtagspi.cfg]
|
||||
|
||||
Reference in New Issue
Block a user