Using USPIP with ESP‐DAP - RoboDurden/Hoverboard-Firmware-Hack-Gen2.x GitHub Wiki

placeholder

you have chosen the hard route, so please hold on tight, as things gonna get complicated soon

0.preperation(WINDOWS ONLY)

open a command prompt AS ADMINISTRATOR

type bcdedit /set nointegritychecks on

type bcdedit /set testsigning on

restart your pc

1.get USBIP

if you are on windows: download prebuilt USBIP for windows here

if you are on linux: usbip is built in the linux core, you can skip this step

if you are on mac: no one cares abt you

2.attatch device

windows:

open a command prompt at the folder where you extracted the usbip, then type ./usbip.exe attach -r [your_IP] -b 1-1

linux:

sudo usbip attach -r [your_IP] -b 1-1

you should see a message succesfully attached to port 0 and get a new device in device manager

image

3.go to targetOptions/debug and choose CMSIS-DAP debugger

4.go to settings, you should see a CMSIS-DAP v2 connected, debug port SWD, clock 10mhz

image

5.you are ready to start uploading and debugging!