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

Can mbed compiler's generated hex file be flashed via J-Link interface on NRF51 beacon kit? WIll it work?

I developed an application program and I have a hex file generated from mbed compiler, and would like to know if I flash this hex file using a J-link interface on NRF51822 chip [a small beacon kit] will it work?

Basically, how it is going to make a difference with application's hex file while I use flashing with J-link or mbed.

I know that bootloader is going to be different which I can download from Nordic - Website.

Parents
  • Hey.

    This should work, but a couple of things must match. The application code must match the softdevice on the beacon kit, and the softdevice must match the chip revision on the beacon kit.

    The hex downloaded from mBed will contain both application and softdevice. It will most likely work to just erase the whole chip, and then flash the mBed hex to the beacon.

    Do you know which version of the beacon you have? Is it green or blue?

    -Anders

  • You need a cmsis-dap interface between your computer and the nRF51 chip. This goes for all nRF51 devices, whether it is a nRF51 DK, a nRF51 Beacons, or some other device. On the nRF51 DK, the CMSIS-DAP chip is on the board (the big one near the USB port). This is how we can connect a USB cable directly to the board and program it. The nRF51 DK also has a "Debug out" port. You can use this to program any nRF51 chip. Check out this devzone post for info on this. Alternatively, you can use a flasher like this one between your computer and the nRF51 chip.

Reply
  • You need a cmsis-dap interface between your computer and the nRF51 chip. This goes for all nRF51 devices, whether it is a nRF51 DK, a nRF51 Beacons, or some other device. On the nRF51 DK, the CMSIS-DAP chip is on the board (the big one near the USB port). This is how we can connect a USB cable directly to the board and program it. The nRF51 DK also has a "Debug out" port. You can use this to program any nRF51 chip. Check out this devzone post for info on this. Alternatively, you can use a flasher like this one between your computer and the nRF51 chip.

Children
No Data
Related