I finally got it to flash over UART, but it's being very finicky. I eventually got it to flash once after a couple failed attempts alternating between the official flashing tool and lishuiFlash.exe. lishuiFlash.exe still reported an error even though it seems to work (it booted after a power cycle instead of boot looping) but the official flashing tool reported a success. With an updated build it seemed even more finicky. The weirdest part is sometimes it'll start running the app after a failed flash (LED starts blinking and it's spitting out the debug message over UART), but it doesn't boot properly after a power cycle. It's almost like there's something that's intermittently keeping it from booting.
>lishuiFlash.exe COM3 EBiCS_build_2\EBiCS_Firmware.lsh
Provide power to the controler now ! (Ctrl-c to exit)
MPC
▬♂
got wrong input : 16
Error

Press any key to continue . . .
Now that I have it flashed, I'm having trouble with the throttle and torque inputs.
With this config file (
link), I get this debug message. The first value (throttle value) flickers between 0 and 1 but all the others are steady no matter what signals I inject on the throttle or toque signal wires.
0, 0, 274, 32000, 0, 0, 0, 0, 0
After enabling THROTTLE_OVERRIDE and TQONAD1 (
link), the torque signal is now stable at 4094, but everything else is the same.
0, 4094, 274, 32000, 0, 0, 0, 0, 0
I currently just have it set up on my bench with only the throttle and torque signals connected (both connected to physical throttles). Is there something else I need to hook up to test it?
The resistor I damaged (R53) was 10.5kOhm. I confirmed this by probing out the other instances of the current sense circuit and everything seems to be back to normal after replacing it.