audiomobster Posted November 28, 2015 Report Share Posted November 28, 2015 (edited) Hi there,I have no virtualized Windows so I am trying to flash the bootloader with openocd:openocd -f stm32f4discovery.cfg -c "program project.bin exit"I get following output:Open On-Chip Debugger 0.9.0 (2015-11-28-15:54)Licensed under GNU GPL v2For bug reports, read http://openocd.org/doc/doxygen/bugs.htmlInfo : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWDadapter speed: 2000 kHzadapter_nsrst_delay: 100none separatesrst_only separate srst_nogate srst_open_drain connect_deassert_srstInfo : Unable to match requested speed 2000 kHz, using 1800 kHzInfo : Unable to match requested speed 2000 kHz, using 1800 kHzInfo : clock speed 1800 kHzInfo : STLINK v2 JTAG v14 API v2 SWIM v0 VID 0x0483 PID 0x3748Info : using stlink api v2Info : Target voltage: 2.891327Info : stm32f4x.cpu: hardware has 6 breakpoints, 4 watchpointstarget state: haltedtarget halted due to debug-request, current mode: ThreadxPSR: 0x01000000 pc: 0x0800637c msp: 0x20000c78** Programming Started **auto erase enabledInfo : device id = 0x10036413Info : flash size = 1024kbytesWarn : no flash bank found for address 0wrote 0 bytes from file project.bin in 0.001464s (0.000 KiB/s)** Programming Finished **shutdown command invokedI guess I need an offset, but how large?Thanks and best regards,UliThe following seems to work:openocd -f stm32f4discovery.cfg -c "program project.bin exit 0x08000000"At least it doesn't throw an error.But it shows up as "Van Ooijen Technische Informatica". Isn't this weird? Edited November 28, 2015 by audiomobster Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.