Hi all,
today i decided to flash mbrusa firmware in my tsdz2 36v (original firmware) and i think something went wrong. Now the motor doesnt response.
Before start the process i disconnected the battery, let stay connected the vlcd5, disconnected speed sensor and connected the usb programmer to the motor.
After I opened STVP and configured as STM8S105x4 tried to read memory. All worked ok and i created backup files from tabs (program, memory, option byte) without problems.
Then decided to use the java configurator to compile and flash memory (i was reading for days posts and manuals to configure my options and rechecked all before start). Compilation ended ok but in first flashing step the script stopped, this is the log file:
new log session
date: 01/26/21
time: 22:00:44
----------------------------------------------------------
STVP_CmdLine version 1.6
Verbose ON
Log activity ON
Display Progress OFF
Message box warning if protect option byte ON
Loop mode OFF
Erase device OFF
Blank check device OFF
Verify device ON
Configuration:
BoardName=ST-LINK ST-LINK_ID=0 Device=STM8S105x6 Port=USB ProgMode=SWIM
>>> Loading file option_no_prot.ihx in OPTION BYTE image in computer
<<< Loading file succeeds
>>> Programming OPTION BYTE
<<< Programming OPTION BYTE succeeds
>>> Verifying OPTION BYTE
Error on Option Bytes (complementary bytes). Reprogram Option Bytes of device
<<< Verify OPTION BYTE fails
______________________________
I got afraid about this messsage but openned again STVP and i readed the memory tabs from motor without problem.
Now is when i think i meshed up all. I returned to forums looking for someone talking about error "verify OPTION BYTE fails" and found someone that said that better to try flash with the VLCD disconnected. I disconnected my VLCD while the usb programer conected and STVP open. As i disconnected it the motor stopped to response to STVP. (not sure if i saw a disconnection msg at STVP) but now as you try to read the memory get this errors.
> Reading PROGRAM MEMORY area...
Error : Error while reading address 0x8000
Error : < PROGRAM MEMORY reading failed.
> Reading DATA MEMORY area...
Error : Cannot communicate with the device !
after this tried to disconnected all, restart laptop and reconnected programmer, but motor still doesnt response.
then removed programmer and connected battery, vlcd and sensor to check motor. The vlc5 works but motor doesnt do anything, nor pushing throttle nor moving pedals. Also If i move pedals doesnt get speed sensor. The battery level shows only one bar (before flash it showed full charge).
Any idea to fix this mesh?
I have to say before start this aventure dived in tons of posts from this forums, watched the videos about install the firmware and readed carefully the manuals and readme.
Thank you all anyway. I saw a lot of work and help from developers and community.