Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
10 years ago.
How to flash nrf51822 with mbed hex on mac
I'm trying to flash my kit with the blinky sample code hex received from the mbed compiler. I'm using a mac 10.9.2. I tried dragging the hex file to the mbed drive and it created a fail.txt file with "SWD Error" written inside. How do I get the hex on the board?
Question relating to:
1 Answer
10 years ago.
That's pretty odd... The same procedure works for me on the same version of OSX!
No, nothing... It just showed up as a mass storage device and when I dragged the .hex file to it it programmed the board and then reset.
posted by 16 Apr 2014
I am seeing somehow related problem, so I thought I will add to this thread.
I am using nrf51822-mbed + Safari on Mac 10.9.3. When I drag the hex file (size = 218KB) to the mbed drive, the following message is displayed:
The item “mbed_blinky_NRF51822_.hex” can’t be copied because there isn’t enough free space.
At the same time, the mbed drive is ejected and the mbed LED starts to flash faster (not the user LED which blinky code is designed to flash).
The setting of the Target switch (SW3) doesn't seem to make a difference. Actually, nothing seems to make a difference and now I am wondering if the hardware I received is just not happy.
posted by Dani Dakhil 21 Jun 2014This issue is resolved. It is an operator error. I am new to this download mechanism and didn't realize that the reset button should not be pushed while plugging in the USB cable (this procedure is for the firmware update).
posted by Dani Dakhil 22 Jun 2014