blob: 97aa7076508f446b6b504ec53e7b49dbc78a17f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
adapter driver jlink
transport select swd
set WORKAREASIZE 0x400
set HT32_SRAM_SIZE 8192
set HT32_FLASH_SIZE 65536
source [find target/ht32f165x.cfg]
adapter speed 5000
proc program {file} {
init
reset halt
flash write_image erase $file 0x00000000
reset run
echo "\n PROGRAM COMPLETE!!!"
}
|