9 years, 5 months ago.

Not able to copy *.bin file [ error: no space left on device] Linux

Firmware Upgraded

First I upgraded the firmware and it was successful

:/media/uploads/prabhakarank/screenshot_from_2015-06-26_16-07-39.png

I got three files with the following text inside the device after upgrading the firmware.

  • NODE_F411RE/DETAILS.TXT {Version: 0221 Build: Apr 29 2015 13:11:12}
  • NODE_F411RE/FAIL.TXT: {The interface firmware FAILED to reset/halt the target MCU}
  • NODE_F411RE/MBED.HTM : {<! mbed Platform Website and Authentication Shortcut > <html> <head> <meta http-equiv="refresh" content="0; url=http://mbed.org/device/?code=07990221000000003F4496A4"/> <title>mbed Website Shortcut</title> </head> <body></body> </html>

}

Hello World Test program

I compiled the hello-world program and got the bin file in ubuntu 14.04

hello-world.cpp

#include "mbed.h"

DigitalOut myled(LED1);

int main() {
    while(1) {
        myled = 1;
        wait(0.2);
        myled = 0;
        wait(0.2);
    }
}

-

Error

No space found on the device!

/media/uploads/prabhakarank/screenshot_from_2015-06-26_16-58-33.png

  • The properties of the nuleo-f411RE is shown below

/media/uploads/prabhakarank/screenshot_from_2015-06-26_16-58-48.png

Any suggestions?

Thank you!

Question relating to:

Affordable and flexible platform to ease prototyping using a STM32F411RET6 microcontroller.

1 Answer

9 years, 5 months ago.

Are you sure you updated your nucleo and not another STLink? The device list should show ST-LINK/V2-1 for a nucleo board. As it is showing ST-LINK/V2 on your screenshot, you may have updated another STLink connected on your PC (eval board, discovery, stand alone STLink...).

Then make sure you did copy the 49-stlinkv2.rules and 49-stlinkv2-1.rules files from the driver package to /etc/udev/rules.d/ After programming is complete, you may have to unplug/plug your nucleo before you can use it.

Accepted Answer

I have connected the following board ( I think the following one is a nucleo F411RE, I am sure that this is not discovery or a eval board .. but I don't know what is a stand-alione STLink..) Since these boards are new to me..

/media/uploads/prabhakarank/img_3672.jpg

/media/uploads/prabhakarank/img_3673.jpg

In linux, I have updated the rules as it was mentioned in the ReadMe files, anyway I also tried to update the firmware in windows, but I got same results.

/media/uploads/prabhakarank/windows-capture.png

/media/uploads/prabhakarank/windows-node.png

Any help would be great, thank you!

posted by Prabhakaran Kasinathan 29 Jun 2015

I seems like your nucleo is updated to the latest firmware revision V2J24M11. It also seems like JP5 is in the wrong position, try with the jumper on the right. Right now, your target is not powered.

This would explain the error you are getting: {The interface firmware FAILED to reset/halt the target MCU}

posted by Maxime TEISSIER 29 Jun 2015