This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Mbed program will execute from Mac but not Windows (nRF52 DK)

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 "developer.mbed.org/.../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 "developer.mbed.org/.../", any help would be much appreciated.

Thanks, James

Parents
  • What if you try to flash the blinky hex file using nrfGoStudio instead? Is that a possibility or do you absolutely want/need to use the mbed program? You can take a look at this tutorial. Just ignore the fact that the tutorial requires nrf51 and keil. Flash the softdevice (you will probably need the S132) first, and then flash the blinky hex file (under nRF5_SDK_14.0.0_3bcc1f7\examples\ble_peripheral\ble_app_blinky\hex) in the Program Application tab in nrfGoStudio.

    I am also running Windows 10 and I have flashed both the Blinky and the ble_apps_hrs hex file to my nrf52 using nrfGoStudio. The hrs example worked very well when I connected the nrf52 to the nrf toolbox app for iOS (also available for android). Then you can run the HRM application. Hope that helps!

Reply
  • What if you try to flash the blinky hex file using nrfGoStudio instead? Is that a possibility or do you absolutely want/need to use the mbed program? You can take a look at this tutorial. Just ignore the fact that the tutorial requires nrf51 and keil. Flash the softdevice (you will probably need the S132) first, and then flash the blinky hex file (under nRF5_SDK_14.0.0_3bcc1f7\examples\ble_peripheral\ble_app_blinky\hex) in the Program Application tab in nrfGoStudio.

    I am also running Windows 10 and I have flashed both the Blinky and the ble_apps_hrs hex file to my nrf52 using nrfGoStudio. The hrs example worked very well when I connected the nrf52 to the nrf toolbox app for iOS (also available for android). Then you can run the HRM application. Hope that helps!

Children
No Data
Related