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

Program nRF52832 with radio_test.hex File

I downloaded radio_test.c from Nordic and complied it to output a .hex file. Now I want to flash this .hex file onto nRF52832. Does it require to softdevice and bootloader pre-programmed prior programming radio_test.hex? My purpose is I want to be able issue commands to control the radio during FCC test cases. Please advise,

Parents
  • Hi,

     

    No bootloader nor softdevice is needed. Just flash the nRF52832, configure your terminal emulator accordingly, and you should be good to go. Documentation, for reference, can be found here.

     

    Best regards,

    Andreas

  • Which tab should I use to program the .hex file, Softdevice OR Application OR Bootloader? I tried programming with Application Tab but it didn't work, no "RF Test" string showed up in my data terminal when turned on my device.I wonder I have missed anything? Please advise,

    Thanks,

  • Hi,

     

    Application is correct. Sometimes the RF Test string does not show up, but pressing 'h' should bring up the list of commands. If still nothing happens, something is not right but it is hard to say what.

     

    You could try to flash the pre-compiled radio_test hex that comes with the SDK(\examples\peripheral\radio_test\hex), and possibly use nrfjprog instead (type cmd and press enter in address bar of folder with the given hex, then 'nrfjprog --program radio_test_pca10040.hex --chiperase --reset') This will use the standard UART pins though, if your board uses anything else it will not work.

     

    If that does not do it I would go over the UART connection with the computer, possibly try using a DK.

     

    Best regards,

    Andreas

Reply
  • Hi,

     

    Application is correct. Sometimes the RF Test string does not show up, but pressing 'h' should bring up the list of commands. If still nothing happens, something is not right but it is hard to say what.

     

    You could try to flash the pre-compiled radio_test hex that comes with the SDK(\examples\peripheral\radio_test\hex), and possibly use nrfjprog instead (type cmd and press enter in address bar of folder with the given hex, then 'nrfjprog --program radio_test_pca10040.hex --chiperase --reset') This will use the standard UART pins though, if your board uses anything else it will not work.

     

    If that does not do it I would go over the UART connection with the computer, possibly try using a DK.

     

    Best regards,

    Andreas

Children
Related