Stm32 nucleo programming7/25/2023 I'm not sure if I should post this as an answer, but the problem wasn't either openocd or the broken hardware. elf but again no luck.Ĭan somebody tell me what am I doing wrong here? Also tried loading the binary file instead of. Info : Unable to match requested speed 8000 kHz, using 4000 kHzīut the program doesn't run on the board and there's no blinking. Target halted due to debug-request, current mode: Thread Info : Unable to match requested speed 2000 kHz, using 1800 kHz Info : starting gdb server for stm32f7x.cpu on 3333Įrror: couldn't bind gdb to socket on port 3333: No error Info : stm32f7x.cpu: target has 8 breakpoints, 4 watchpoints ![]() Warn : Silicon bug: single stepping may enter pending exception handler! Info : stm32f7x.cpu: Cortex-M7 r0p1 processor detected Info : DEPRECATED target event trace-config use TPIU events Įrror: libusb_open() failed with LIBUSB_ERROR_NOT_SUPPORTED The results might differ compared to plain JTAG/SWD Info : The selected transport took over low-level target control. Info : auto-selecting first available session transport "hla_swd". ![]() Openocd -f interface/stlink.cfg -f target/stm32f7x.cfg -c "program build/my-board.elf verify reset exit" The code compiles without any problem and when I type make flash in the terminal the result is: ❯ make flash Openocd -f interface/stlink.cfg -f target/stm32f7x.cfg -c "program $(BUILD_DIR)/$(TARGET).elf verify reset exit" I've added following line to my makefile to automate the flashing process: flash: all I'm trying to program the board with openocd, using gnu make and the makefile generated from stm32cubemx. I have a nucleo-144 board with stm32f746zg MCU.
0 Comments
Leave a Reply. |