Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added bin/IoCHubDLL.dll
Binary file not shown.
Binary file added bin/McuCompilerDll.dll
Binary file not shown.
Binary file modified bin/openocd.exe
Binary file not shown.
45 changes: 45 additions & 0 deletions bin/wch-dual-core.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
#interface wlink
adapter driver wlinke
adapter speed 6000
transport select sdi

wlink_set_address 0x00000000
set _CHIPNAME wch_riscv
sdi newtap $_CHIPNAME cpu -irlen 5 -expected-id 0x00001

set _TARGETNAME $_CHIPNAME.cpu


target create $_TARGETNAME.0 wch_riscv -chain-position $_TARGETNAME -coreid 0
$_TARGETNAME.0 configure -event reset-init {

echo "Core 0 reset initialized."
}
$_TARGETNAME.0 configure -gdb-port 3333


target create $_TARGETNAME.1 wch_riscv -chain-position $_TARGETNAME -coreid 1
$_TARGETNAME.1 configure -event reset-init {
echo "Core 1 reset initialized."
}
$_TARGETNAME.1 configure -gdb-port 3334




#target create $_TARGETNAME.0 wch_riscv -chain-position $_TARGETNAME


$_TARGETNAME.0 configure -work-area-phys 0x20100000 -work-area-size 10000 -work-area-backup 1
set _FLASHNAME $_CHIPNAME.flash0

flash bank $_FLASHNAME wch_riscv 0x00000000 0 0 0 $_TARGETNAME.0

$_TARGETNAME.1 configure -work-area-phys 0x20102800 -work-area-size 10000 -work-area-backup 1
set _FLASHNAME $_CHIPNAME.flash1

flash bank $_FLASHNAME wch_riscv 0x00005000 0 0 0 $_TARGETNAME.1



echo "Ready for Remote Connections"
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.6
v2.8