3 years, 7 months ago.

Mbed program will execute from Mac but not Windows

I can copy a Hex file from a Mac to the mbed USB drive and the code executes correctly. However, if I upload the hex file from any windows PC in our office (Windows 10) the code appears to load with no errors, but does not execute on the device. I have been testing this with the LED blink example for the nRF52 DK board.

I have downloaded the latest mbed serial port driver to all the windows PCs already "https://developer.mbed.org/handbook/Windows-serial-configuration", this aloud me to upload the code to the mbed drive which didn't work before the driver install, but the code does not execute. I have also tried pressing the reset button after uploading the code and disconecting the mbed board form the PC.

My hardware is the nRF52 DK "https://developer.mbed.org/platforms/Nordic-nRF52-DK/", any help would be much appreciated.

Thanks, James

Do you have the terminal window open so you can monitor any messages mbed might send you? Mbed is pretty good about spitting out an error message if something fails. What you are describing of course sounds like a programming problem, not a startup problem, but you never know, might get lucky.

posted by Graham S. 31 Aug 2017

Mbed does not give any error messages in the online compile or in the text file in the mbed disk drive, the code compiles correctly. However the code does not execute i.e. no LED blinking when uploaded from a windows machine.

posted by James Arher 01 Sep 2017
Be the first to answer this question.