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

nRF52811 First time programming procedure using J-Link

I have used nRF52811 chip in my custom board.

1. Please provide the First time programming procedure using J-Link (J-Link-Pro tool) interface.

2. We have a nRF52840DK board, erased the default binary then we flashed the custom binary using J-Link programmer (P18 on DK board), but observed that it is not advertising on Mobile App. Is soft device binary mandatory for first time programming on the chip. Please confirm and provide the details.

3. How can we get the log using RTT Viewer using J-Link programmer on nRF52840 DK board & nRF52811 custom board.

4. Please provide the memory layout details for nRF52811 chip with Soft devices and without Soft devices.

Regards,

Jyothi.

  • Hi

    1. Please check out the J-Link User Guide for details on how to use a J-Link Pro.

    2. The nRF52840 DK has an onboard debugger MCU, so you don't need a separate J-Link to flash the onboard nRF52840. Check out the nRF52840 DK user guide for details. All examples in our SDK using BLE require that you also flash the SoftDevice onto the device, as the SoftDevice is what controls the radio peripheral and BLE spec. Our SDK example projects have precompiled .hex files for examples that are already merged with the SoftDevice, and also has .hex files for each of the supported SoftDevice versions.

    3. See the Debug output section in the nRF52840 DK User Guide. The DK will detect an external board automatically if it's powered correctly and connected correctly either through P19 or P20.

    4. Check out the SDK and SoftDevice compatibility matrix to see what SoftDevices are supported. Then, each of the supported SoftDevice sizes are mentioned in the SoftDevice release notes. The nRF52811 has 192kB of Flash and 24kB RAM. The S113 for instance, uses 112kB of Flash and 4.4kB RAM.

    Best regards,

    Simon

  • Hi,

    Thank you for your response.

    1. I tried to measure the clock at 32MHz & 32.768KHz crystal oscillators on the nRF52840DK board but clocks are not coming.

    I am able to flash the binary on the board and BLE communication is also working fine. Please provide the reason.

    2. In my custom board i have used only 32MHz crystal oscillator (not used 32.768KHz crystal due to space constraint and is optional as per reference design), I tried to measure the clock but it is not coming at 32MHz crystal.

    I am able to flash the binary on the custom board and BLE communication is also working fine.

    Please let me know the reason and how can get the clock.

    regards,

    Jyothi.

  • Hi

    BLE communication won't work without the external 32MHz crystal running, so I don't think that it's not running if the board has been flashed with a working application. What "binary" is this that you have flashed onto the DK and/or custom board? How are you measuring whether the clocks are running or not exactly? 

    Best regards,

    Simon

Related