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

Application not flashing to board

Hello,

I am trying to flash my application to my NRF51422. In short, the application is a combination of the ble_app_uart and twi_scanner examples, I am reading data from a TWI slave device and sending it via BLE. When I debug the application in SEGGER embedded studio, it runs with no issue. However, when I try flashing this application to the board, it does not seem to work.

I am using NRF Connect to do this, though I have tried drag-and-dropping it as well as using the older nRF Go, all with the same results. I first flash the softdevice with no issue. Then, when I try to flash the application, I don't get any kind of error returned or anything, but my board does not begin advertising, and I do not see it flashed on the nRF Connect GUI. The following screenshot is after I add the two .hex files (my application and the SD), and choose "erase and write":

Is there some kind of setting I didn't enable before building my application or something? Thank you in advance for your help,

Bennett

Parents Reply
  • Hi Hung,

    I'm using SEGGER.

    Yes, if I debug the application in SEGGER, it works fine.

    I've added some of the TWI_Scanner functions to my project, as well as modifying the nus_data_handler function to send some data from the TWI slave when it recieves certain characters via BLE.

    Yes. As a test, I used ble_app_uart and changed the name of the device and flashed the hex and SD to my board, and it works fine.

    Thank you,

    Bennett

Children
Related