Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs

ble_app_uart won't advertise as coded from example set

Hello, I am currently trying to program the uart example code from the nRF5_SDK_12.3.0_d7731ad zip file. After dealing with various reference address and device package issues, I am now able to flash the softdevice and progam sets to the chip. However, the chip is not advertising and it does work with the premade hex file. At this point I have no idea what could be wrong, the only noticible difference between the hex file layout in nRF Connect and the flashed softdevice and code from Kiel 5 is shown in the attached image, with hex file on the left covers the register address from 0 to 0x0001E3F7 while the flashed program from Keil goes from 0 to 0x0001E3FF. Other than that the recovery error is shown in the command window, but this occured even for the hex file which would advertise so I am unsure how to proceed.

Parents
  • Hello Simonr,

    The flashing process is done exactly as described in the files, I clear the chip with nrfjprog --eraseall, rebuild the program, flash it to the target, switch to the softdevice, DO NOT rebuild the softdevice and flash it to the board as well.

    For the signal, it is being sent into the PO.01 pin, so on the other side of the chip in relation to the antenna pin and other side of the PCB from the antenna.

    Advertising and connection parameters were left as written in the example code given for ble_app_uart. I would have expected the code to be written in the same way the premade hex files were.

    Sincerely,

    Alexandre Tessier

Reply
  • Hello Simonr,

    The flashing process is done exactly as described in the files, I clear the chip with nrfjprog --eraseall, rebuild the program, flash it to the target, switch to the softdevice, DO NOT rebuild the softdevice and flash it to the board as well.

    For the signal, it is being sent into the PO.01 pin, so on the other side of the chip in relation to the antenna pin and other side of the PCB from the antenna.

    Advertising and connection parameters were left as written in the example code given for ble_app_uart. I would have expected the code to be written in the same way the premade hex files were.

    Sincerely,

    Alexandre Tessier

Children
No Data
Related