This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2340R5: Not possible IAR debugging

Part Number: CC2340R5
Other Parts Discussed in Thread: LP-XDS110ET, UNIFLASH,

I can't Download & Debug cc2340R5 with IAR 

I tried changing various option settings, but it did not connect.

IAR ver: v9.32.2

example code: basic_ble_profiles

HW: LP-XDS110ET + LP-EM Launchpad

this is error Log 

  • Hello ari,

    Which SimpleLink F3 SDK version are you evaluating?  I noticed you are using a slightly different version of IAR than is listed in the SDK Release Notes.  Please correct this before reporting this behavior to IAR support.  Are you able to program the device using Uniflash?  This would confirm that the XDS110 debugger and CC2340R5 device are operational.

    Regards,
    Ryan

  • SimpleLink F3 SDK  version is 7_40_00_64
    I used IAR 9.32.1 but same error still occurred. and example "Empty(No rtos)"  is the same.

    Uniflash and CCS project are working without any problem.

     

  • Thanks for the additional information.  Can you use the Uniflash "Settings & Utilities" -> Device information to confirm that you are using a Rev B device?  If this is true and you have correctly followed all IAR Quick Start instructions then it is certainly best to contact IAR support.

    Regards,
    Ryan

  • ThakI checked revision of LP-EM-CC2340R5 is A (1.0). and I have custom board with Revision B(2.0). But both throw the same error.

    Additionally, I found some difference IAR Quick Start guide and my Workbench.

    There is no XDCPATH and XDCROOT in my argument variables file(SIMPLELINK_LOWPOWER_F3_SDK.custom_argvars). Could this cause a problem?

    Please check the following debug messages carefully.



  • You should no longer be using the Rev A hardware, please be sure to discontinue evaluation of this hardware.  CCFG errors are expected with Rev A hardware being used with the v7.40 SDK.  Be sure to erase all flash memory on your Rev B device before attempting to program and debug in IAR.

    The XDS tools are no longer referenced by the SimpleLink F3 SDK and thus are no longer included inside of the custom argument variables, so your observation is expected.

    Regards,
    Ryan

  • I received a new Lanchpad(Rev.B) today but still occurred same error.

    I tried Example source(Empty, Basic_ble, basic_ble_profile), and IAR( 9.32.1, 9.32.2) so on.. every didn't works. (CCS and Uniflash are work well).

  • Hi ari,

    Thank you for the update.  I have been able to replicate your issue and recommend that you try using IAR v9.50.2 instead as I was able to correctly start a program and debug session using this version.  Be sure to delete your prior workspace and create a new one before importing and building the project.  I have been informed that the F3 SDK v7.40 was only tested with this version of IAR and as such, listing IAR v9.32.1 in the Release Notes may have been an error.  I apologize for the confusion and appreciate your patience as this environment dependency is resolved.

    Regards,
    Ryan