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

Control nRF51822 led with mobile app

Hi,

Can anyone suggest me an example program to control LED connected to nRF51822 with a mobile app?

Parents
  • The easiest way is to take the ble_app_blinky application and control the LED using the nRF blinky app.

  • Hi sir,

    Thank you for your response. I flashed the hex file of ble_app_blinky to my nRF51822 motherboard BLE400 successfully. But when I am trying to build the application using Keil 5 project document, I cannot successfully execute it. This happens to me always as I couldn't execute any of the sdk ble_peripheral/central examples successfully. Is that my setting issue or something else? Please help me to figure it out.

    This is how i set it up: Clicking on option for target 'Device' I selected nRF51822_xxAA and set the debug used. I left the 'Target' within the option as default. Then I select the debug option and use J-Link and followed settings I added the programming algorithm 'nrf51xxx'. In utilities I give a tick in checkbox 'Update the target before Debugging'. After I build and Downloaded it to the moduled but it was not advertising anything.

    What i noticed in the build file is that, the size of the .hex file generated was too less compared to the .hex file given in the sdk. I am struck at this and can u help me to solve this?? Or just suggest me some ways to solve this issue.

Reply
  • Hi sir,

    Thank you for your response. I flashed the hex file of ble_app_blinky to my nRF51822 motherboard BLE400 successfully. But when I am trying to build the application using Keil 5 project document, I cannot successfully execute it. This happens to me always as I couldn't execute any of the sdk ble_peripheral/central examples successfully. Is that my setting issue or something else? Please help me to figure it out.

    This is how i set it up: Clicking on option for target 'Device' I selected nRF51822_xxAA and set the debug used. I left the 'Target' within the option as default. Then I select the debug option and use J-Link and followed settings I added the programming algorithm 'nrf51xxx'. In utilities I give a tick in checkbox 'Update the target before Debugging'. After I build and Downloaded it to the moduled but it was not advertising anything.

    What i noticed in the build file is that, the size of the .hex file generated was too less compared to the .hex file given in the sdk. I am struck at this and can u help me to solve this?? Or just suggest me some ways to solve this issue.

Children
No Data
Related