Hoping to check if I'm doing anything wrong here... Setup:
-Standard web interface
-Tesla SDU V4 board (with the watchdog reset pin fix from V6)
-Current version (4.85R)
-Web interface works flawlessly otherwise.
-I'm adding the stm32_sine.bin into the upload box and pressing upload
-Status box says upload complete, and then goes from 0-100% in around 5 seconds. Green light on wifi module flashes green during this time.
-Nothing happens after this, the "run" LED on the inverter board no longer flashes. Restarting the board does nothing.
-Even while in this broken state, I can redo the upload and the exact same as above happen, including progress bar
Only way to get board back is to reflash via SWD, but this requires pulling the drive unit apart. Have tried reflashing the bootloader
Any ideas?
Flashing .bin via web interface always corrupts?
Re: Flashing .bin via web interface always corrupts?
I did try, but doesn't work - the page is only looking for .bin anyway (this is original web interface not your alternative)
xmlhttp.onload = function()
{
if (file.endsWith(".bin"))
{
runUpdate(-1, "/" + file);
}
document.getElementById("bar").innerHTML = "<p>Upload complete</p>";
setTimeout(function() { document.getElementById("bar").innerHTML = "" }, 5000);
}
xmlhttp.onload = function()
{
if (file.endsWith(".bin"))
{
runUpdate(-1, "/" + file);
}
document.getElementById("bar").innerHTML = "<p>Upload complete</p>";
setTimeout(function() { document.getElementById("bar").innerHTML = "" }, 5000);
}
- johu
- Site Admin
- Posts: 5842
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 164 times
- Been thanked: 1062 times
- Contact:
Re: Flashing .bin via web interface always corrupts?
hex wouldn't help anyway. I have no idea right now.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
Re: Flashing .bin via web interface always corrupts?
If it sounds like my method is OK, I'll focus on troubleshooting the web interface/wifi module
Re: Flashing .bin via web interface always corrupts?
Using a spare Olimex with a freshly flashed version of web interface fixed. Duff hardware or flash of the web interface I guess. Worth swapping out or re-flashing if anyone is having similar issues (even if the rest of the interface works fine)