10 years, 6 months ago.

Unable to upload compiled code on Linux

Hello

I'm having trouble uploading compiled code, which is downloaded from online mbed compiler, to this board. I have aleady updated the board's firmware to the latest version on a Windows 7 virtual machine. When pluggined to a Linux machine Ubuntu 14.04 or Fedora 20, the board can be mounted as a mass storage device with the following contents:

  • System Volume Information
  • mbed.html

The LD1 is lighted up in green. When a bin file is copied to the mass storage device of the board, LD1 flashing red and green, and finally settling with green color. Nothing happens after that.

Is this board only works with Windows OS?

Thanks.

Question relating to:

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

I just updated mbed lib to the latest version (84) and now I can upload the compile *bin file to the board on Ubuntu 14.04 (64-bit).

I hope this information should be listed in a FAQ somewhere so that other Linux users don't need to pull their hair trying to figure out if there're issues with thier board.

posted by S. Ken San 22 May 2014

1 Answer

8 years, 9 months ago.

Hi, I'm facing the same issue with Ubuntu 14.04 builder machine. I could build and copy the binary to the board as it enumerates as Mass storage. Once copied and reset, board does not boot. But if I copy the same binary using windows machine it works, meaning board boots and LED blinks. Not sure what's wrong with Ubuntu machine.