- This topic has 0 replies, 1 voice, and was last updated 7 years, 1 month ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Home › Forums › Mastering STM32 book support forum › problem while flashing to board
I’m having this problem, can you show me how to solve this. I’m using Mac OS X. Thank you!
./st-flash write ../projects/hello/Debug/hello.bin 0x08000000
st-flash 1.4.0-11-ga2a707e
2017-10-17T20:00:49 INFO src/common.c: Loading device parameters….
2017-10-17T20:00:49 INFO src/common.c: Device connected is: F4 device (Dynamic Efficency), id 0x10006433
2017-10-17T20:00:49 INFO src/common.c: SRAM size: 0x18000 bytes (96 KiB), Flash: 0x80000 bytes (512 KiB) in pages of 16384 bytes
open(../projects/hello/Debug/hello.bin) == -1
2017-10-17T20:00:49 ERROR src/common.c: map_file() == -1
stlink_fwrite_flash() == -1