lkpaloha.blogg.se

Stm32x device protected
Stm32x device protected













stm32x device protected

However, when I tried to reflash it with our ST-link I got an error message “STm device protected”. I managed to flash the firmware successfully, and have confirmed that it works by looking at the CAN messages being sent. In procedure 'program_error' called at file "embedded:startup.I modified the CAN firmware (razoredge branch) so that error, axis state, current, and position is continuously streamed in the heartbeat message (since the position in our application we are using won’t be larger than the int16 max and min values). In procedure 'program' called at file "openocd.cfg", line 11Įrror executing event reset-init on target stm32f4x.cpu:Įmbedded:startup.tcl:449: Error: ** Programming Failed **

stm32x device protected

Warn : STM32 flash size failed, probe inaccurate - assuming 1024k flash XPSR: 0x01000000 pc: 0xfffffffe msp: 0xfffffffcĮrror: Failed to read memory at 0x1fff7a24 Target halted due to debug-request, current mode: Thread

stm32x device protected

In procedure 'ocd_process_reset_inner' called at file "embedded:startup.tcl", line 214 Info : Listening on port 3333 for gdb connectionsĮrror: Translation from khz to jtag_speed not implementedĮrror executing event reset-start on target stm32f4x.cpu: Info : stm32f4x.cpu: hardware has 6 breakpoints, 4 watchpoints Info : This adapter doesn't support configurable speed Anyone got any ideas on how I can fix? Also included is the openocd.cfg file. I have managed to get it to connect to the vesc (can be seen in the openocd output.txt) but it won't program due to the device being protected. From my research I found that this could perhaps be a firmware or bootloader issue so I have been trying to redo it using a raspberry pi running openocd and the GPIO pins connected to the vesc. It now only displays a blue light when on (no green like my other working vesc). I was riding my skateboard the otherday when it suddenly lost power and wouldnt reboot.















Stm32x device protected