fboris / quadrotor_fake_signal

0 stars 0 forks source link

got error enter `make flash` #2

Open chilijung opened 10 years ago

chilijung commented 10 years ago

I've successfully execute make command but after I enter make flash I'll got

st-flash write main.bin  0x8000000
2014-01-02T09:28:56 WARN src/stlink-usb.c: Couldn't open ST-Link/V2 device 001:002
make: *** [flash] Error 255

the error above, how can I solve it? thanks!

shengwen-tw commented 10 years ago

http://wiki.csie.ncku.edu.tw/embedded/Lab6

shengwen-tw commented 10 years ago

Please install the openocd The downloads link is in my previous comment

fboris commented 10 years ago

make flash will only execute st-flash. Make sure you can see st-link when you execute command lsusb in terminal. And the two wire of MCU must be connected to computer.