diff --git a/bin/IoCHubDLL.dll b/bin/IoCHubDLL.dll new file mode 100644 index 0000000..9c78984 Binary files /dev/null and b/bin/IoCHubDLL.dll differ diff --git a/bin/McuCompilerDll.dll b/bin/McuCompilerDll.dll new file mode 100644 index 0000000..675a8fe Binary files /dev/null and b/bin/McuCompilerDll.dll differ diff --git a/bin/openocd.exe b/bin/openocd.exe index bb4130e..b5d9cce 100644 Binary files a/bin/openocd.exe and b/bin/openocd.exe differ diff --git a/bin/wch-dual-core.cfg b/bin/wch-dual-core.cfg new file mode 100644 index 0000000..8707b90 --- /dev/null +++ b/bin/wch-dual-core.cfg @@ -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" diff --git a/version.txt b/version.txt index 5363857..1ae881b 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -v1.6 \ No newline at end of file +v2.8 \ No newline at end of file