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

IAR Programming problem

Hi All:

I had a problem about programming.Does someone can help me? Thanks.

My IDE is IAR :ARM 8.22.2

Projcet: nRF5_SDK_12.3.0_d7731ad\examples\ble_peripheral\ble_app_uart\pca10028\s130\iar

Product:NRF51-DK

My problem is download and debug fail.

Follow is my debug log.

Mon Jul 02, 2018 11:34:41: Loaded debugee: C:\Users\Andy_Deng\Desktop\Nordic nRF5 SDK\MDBT40\nRF5_SDK_12.3.0_d7731ad\examples\ble_peripheral\ble_app_uart\pca10028\s130\iar\_build\ble_app_uart_pca10028_s130.out

Mon Jul 02, 2018 11:34:41: Reset: Halt core after reset via DEMCR.VC_CORERESET.

Mon Jul 02, 2018 11:34:41: Reset: Reset device via AIRCR.SYSRESETREQ.

Mon Jul 02, 2018 11:34:41: Hardware reset with strategy 0 was performed

Mon Jul 02, 2018 11:34:41: Target reset

I only connected USB to my PC ,then turn on the power.
Do any setting before programming?

Thanks 

Parents
  • Hi,

    In what way does it fail?

    Is that the entire debug log? (Nothing unusual there.)

    Did you download the SoftDevice before doing the download and debug for the application?

    Please also consider using nRF5 SDK v12.3.0, as that is the latest SDK for the nRF51 series. To see the improvements and bugfixes between 12.0.0 and 12.3.0 you can have a look at the release notes for 12.3.0 (<sdk folder>\documentation\release_notes.txt.)

    Regards,
    Terje

Reply
  • Hi,

    In what way does it fail?

    Is that the entire debug log? (Nothing unusual there.)

    Did you download the SoftDevice before doing the download and debug for the application?

    Please also consider using nRF5 SDK v12.3.0, as that is the latest SDK for the nRF51 series. To see the improvements and bugfixes between 12.0.0 and 12.3.0 you can have a look at the release notes for 12.3.0 (<sdk folder>\documentation\release_notes.txt.)

    Regards,
    Terje

Children
  • Hi Tesc,

    Thanks for your reply.

    You are right, i don't download the soft device before download and debug.

    When i try download Soft Device i got another problem.

    I installed nRFgo Studio,but when i execute the application,it show the message APPCRASH.

    My OS environment:

    Win 7 ,64 bits

    J-Link: V512f

    nRF5x-Command-Line-Tools :8.5.0

    nRFgo Studio 1.21.2

    Thanks

Related