I developed my own hardware for a project because I needed better cooling and wanted to avoid SMD transistors.
As reference, I nearly copied the VESC6.4 schematic and only changed the 3.3V regulator, the shunts from 0.5mOhms to 1mOhm and the INA240A (gain 50) instead of the ADs (gain 20).
For building the firmware I set up a VM with Ubuntu 20.10 and cloned all reps. For the custom configuration I copied the hardware config file hw_60.h/.c, renamed it and changed the values accordingly.
After I build the firmware I did not know how to proceed, so I flashed the default 60_MK4 firmware and hoped to be able to flash my firmware inside the vesc tool.
But now I have the problem, that I always get an erase timeout when I try to update the firmware.
What could be the reason for this?
Most of the assembly was done by my PCB manufacturer.
The DRV8301 produces nice 5.1V and the 3.3V are clean as well, hence the USB communication works fine.
Power draw during idle at 12V is around 40mA.