I bought Nucleo F411RE and I'm using Keil uVision 5 as IDE for programming it. To download program to Nucleo, you simply copy it in the virtual nucleo drive:

uploading binary file to nucleo

Of course, I'd like to have this task automated. To do so, I tried to use the Keil project configuration:

keil run after compilation

But that doesn't work:

*** Error: CreateProcess failed, Command: 'copy build\Nucleo_blink_led_NUCLEO_F411RE.bin H:\'

So what should I do? Keil is recommended by Nucleo manufacturer, yet this simple issue seems to have no solution on the internet...

| improve this question | | | | |

I don't know why this didn't work, but xcopy command works well:

copy file nucleo keil

| improve this answer | | | | |
  • 1
    \$\begingroup\$ Probably works because there is an xcopy.exe program, whereas copy is handled internally by cmd.exe \$\endgroup\$ – PeterJ Dec 28 '14 at 10:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.