The schematic you found is indeed correct and it's the same one I use
There's nothing special to know, just solder and flash. TVCC is indeed 3.3V.
As for the flashing part, fulldump refers to a fulldump file of the DRV (bootloader + firmware + user settings), and you can flash it with OpenOCD or STM32 utility.
Ah, ok. Thanks again for the help!
You may now find a full dump of the ESC here :
https://files.scooterhacking.org/esx/fw ... lldump.bin
Password in app : 000000
Remember to change the serial number, as its the default one
Thanks for the file! I'm having trouble flashing though. I'm using the same commands you would use to flash the dashboard, but it won't open a connection and throws an error. When I use stm32f1x.cfg instead of nrf51.cfg for the target, it opens a connection, but won't flash and outputs the following:
Code: Select all
> program esc139_fulldump.bin
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x08000120 msp: 0x20000550
** Programming Started **
auto erase enabled
device id = 0x20036410
STM32 flash size failed, probe inaccurate - assuming 128k flash
flash size = 128kbytes
no flash bank found for address 0
wrote 0 bytes from file esc139_fulldump.bin in 0.029921s (0.000 KiB/s)
** Programming Finished **
Could you offer some guidance on your method? If you recommend using the STM32 Utility, how would I go about opening a connection using that? My apologies, I'm a novice when it comes to this stuff.
Update: I managed to flash it by first using
and then
Code: Select all
program esc139_fulldump.bin offset 0x8000000
but now I'm getting error 27. Do you know why this is? I can ignore the error by holding the brake lever on startup, and it appears to work as intended, but I'd like to resolve this issue if possible...
Another update:
I figured out how to use the STM32 Utility! I was able to successfully program the board with the bin, but I still get error 27. I tried changing the serial number using the special serial changing firmware, but the issue persisted. Also, when you say the password is 000000, where would I input that? When I connect using the app, it just gives me a confirmation that error 27 is happening. Another huge thanks for helping me out, I really appreciate it.