Hi !
I’m using odrive 3.6-56V and ubuntu 20.04 OS.
recently I had problem with usb connectivity, when I open odrivetool I get “please connect to your odrive”, so I considered to reflash the firmware.
So i tried to reflash the firmware using stlink/v2 , but i got this error
it’s connected like this , power supply to the odrive and I’m connecting stlink with odrive via (swd,ground,swc) pins and connecting stlink with pc via usb port.
I had similar issues with such clone. It had “APM32F103CBT6” chip inside, crappy clone of STM32F103CBT6.
Or, maybe, it’s something wrong with Linux drivers. Try with Windows ST-Link Utility.
where can I find this method?
I downloaded the ST-Link utility and I get this message when I try to connect to the target
“Can not read memory! Disable Read Out Protection and retry”
Use odrivetool unlock then try the STM32 again. If that doesn’t work, you can use the unlock command with STLink. My recommendation is to clone the repo, then type make unlock, which uses openocd to send these flags behind the scenes (after the init):
Hmm, you might have to use the DFU/RUN switch. Put it in DFU, power cycle the board, and see if you get an “STM32BOOTLOADER” device to show up, then try odrivetool dfu again
I already tried that , it doesn’t show up neither in run nor DFU mode.
when I clone the repo and before I execute ‘‘make unlock’’ should I change anything in the files ? or just clone and execute ?
Just clone and execute, but it seems it doesn’t know where to find python on your computer. You may need to follow the “Firmware Developer Guide” to get the pre-requisites.