This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

debug fail

to who it may concened

nRF5_SDK_15.2.0_9412b96

i used tool to write the s140_nrf52_6.1.0_softdevice.hex and nrf52840_xxaa.hex(from example ) to NRF52832 by nrf connect  as above

then i reset the board, but i can not scan the ble advertsing by the nrf connect on the phone. I think the chip is not working

then i use keil to debug the board、

it is working and start to advertisiing、

but the keil IDE give information as follow when i can use nrf connect on phone to connect the board。

and  i found the ble connection is still working。 i can connect/disconnect the ble,  and send data to the ble

and when i shut down the debug, the connection is also  shuted down

i have no idea what cause this case

i suppose may be that the reset function is not working

i pictured the information as follow

pls give me some advice

best regards

  • I uploaded the wrong first picture ,pls check as above

  • Hi

    First off, I see that you say you're flashing the S140 SoftDevice and an nRF52840 application onto an nRF52832, which would cause issues as the nRF52832 has less RAM and Flash memory than an nRF52840, so an application and the S140 SoftDevice might exceed the memory of the nRF52832. You need to use the S132 and an application made for the nRF52832 to ensure correct operation.

    Can you also share some information on what example application this nrf52840_xxaa.hex is based on?

    Best regards,

    Simon

  • thank u for reply、

    i wrote the wrong type.

    actually i use NRF 52840.

    the example is \examples\ble_peripheral\ble_app_uart\pca10056\s140\arm5_no_packs

    today i tried the new SDK nRF5_SDK_17.1.0_ddde560

    i just compile the project to produce the nrf52840_xxaa.hex。

    i use nrf connect for desktop 3.9.1 to write the \components\softdevice\s140\hex\s140_nrf52_7.2.0_softdevice.hex & nrf52840_xxaa.hex to the board。as  follow

    i power again the board。it is still not work。

    and debug has the same trouble as what i said as the title

    and i want to mention that i use a third party board(RF-BM-ND06) installed with NRF52840

    circuit is as follow

    pls give some advice。

    best regards

     

     

  • Hi again

    How have you connected the third party board to the DK or J-Link device you use to program it and debug the device?

    Since this is the BLE UART app it is also expected to be connected to the PC over UART which I'm guessing this third party module is not, so the ble_app_uart might not be the best application to test on a third party board. I would suggest trying out the ble_app_hrs example. The connection seems to be correct in nRFConnect as it seems to program the board correctly, but there's some issue running the project.

    Best regards,

    Simon

  • thank u for reply

    right now a new problem appeared

    i use the nrf connect to load the follow hex。 ble_app_hrs 

     \components\softdevice\s140\hex\s140_nrf52_7.2.0_softdevice.hex

    \examples\ble_peripheral\ble_app_hrs\pca10056\s140\arm5_no_packs\_build\nrf52840_xxaa.hex

    it seem failed。

    and i use keil to debug

    i had a nrf52832 development experience bofore。it worked well and easy to get started

    i guess that  the reason caused this may be the reset  or configure something

    can u give me advise?

    best regards

Related