Refine cmsis openocd program.

This commit is contained in:
Colin 2025-04-01 19:03:29 +08:00
parent 7f321ae7a9
commit cb27ddb1cf
2 changed files with 5 additions and 3 deletions

View File

@ -16,6 +16,7 @@ $(TARGET).bit: $(TARGET).cfg
${TARGET}.svf : ${TARGET}.bit
prog: ${TARGET}.bit
# ./dapprog blink.svf
ecpdap program blink.bit
flash: ${TARGET}.bit

View File

@ -7,12 +7,13 @@
# https://github.com/Martoni/blp/tree/master/platforms/colorlight
# https://github.com/HarmonInstruments/JTAG_SWD
interface cmsis-dap
adapter driver cmsis-dap
transport select jtag
adapter_khz 10000
adapter speed 10
#jtag newtap ecp5 tap -irlen 8 -expected-id 0x41111043
# jtag newtap ecp5 tap -irlen 8 -expected-id 0x41111043
#LFE5U-25F 0x41111043
#LFE5U-45F 0x41112043