48v configured as 24v

I tried updating the firmware on the odrive using some custom firmware and then I tried “odrivetool dfu”.
but I get an overvoltage error if its above 24v, which leads me to believe the firmware was generated for the 24v version. I already tried changing the tup.config file to the 48v version with no luck.’

  1. Make sure tup.config is set correctly (you did this, good)
  2. run make clean, then build again, just in case
  3. flash this version
  4. in odrivetool run erase_configuration(), then reboot(). I think this is the most likely reason: the dc_bus_overvoltage config got saved from the previous firmware.
  5. check again.