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.

IAR EW8051 (7.30b) Does Not See CC Debugger Target for cc2430 Debug

Other Parts Discussed in Thread: CC2430, CC2530, CC2531, CC2541

Using IAR EW8051 7.30b (including all patches) and it does not find a connected TI CC Debugger Target.  CC Debugger (via USB) shows green light and is connected to original design cc2430 based board.  Device and connected cc2430 board show up fine in TI RF Studio 7 (v1.6.1).  CC Debugger firmware has been updated to version 0025.  RF04EB (via USB) shows up fine in IAR when connected as debug target. 

Any idea why doesn't IAR isn't finding the CC Debugger target for debug?  Only thing I can think of is a CC Debugger firmware issue.  Perhaps newest firmware is not recognized by older 7.30b IAR EW?  Is it possible to revert to a pervious version of CC Debugger firmware?  If so, any idea which one? 

  • Hi Gery,

     

    FW version 0025 looks very suspicious, where did you get this version?

    As far as I know the latest FW for CC debugger is 0019.

    Please find the attached .hex file (this is the FW v0019 for cc debugger)

    2018.cebal_fw_srf05dbg.rar

    Anyhow, you can download the latest version of smartRF flash programmer,

    which includes the most up to date versions of FW for every board (RF05EB,

    RF04EB and CC debugger).

     

    Br,

    Igor

     

  • Hi Gary,

    The most probable reason why IAR 7.30 doesn't recognize the CC debugger is the driver (Cebal). IAR 7.30 only supports the old Cebal driver, while your CC debugger most likely uses the new driver, Cebal2. To use CC debugger with IAR 7.30, you'll have to roll back your CC debugger driver. How to do this is explained in swra366. The CC debugger should still be recognized by SmartRF Studio 7.

    Note: If you're using 64 bit Windows, you cannot downgrade to the old Cebal driver, simply because it does not support 64 bit. This means that using e.g. Windows 7 64 bit and IAR 7.30 won't work. The solution is then to change to a 32 bit Window, or to upgrade IAR Embedded Workbench to version 7.51 or higher.

    Best regards,
    ABO 

    Edit: The firmware revision for CC debugger that comes with SmartRF Studio 7 v1.6.1 is indeed 0025.

    --
    PS. Thank you for clicking  Verify Answer  if this answered your question!

  • Thanks for your suggestions, but problem persists. 

    Reverted Cebal driver for CC Debugger to 2.0.0.0 per swra366.  Also reverted to version 0019 of CC Debugger firmware.  Rebooted system (Windows XP Pro -w- latest updates), connected  CC Debugger to USB cable and then to target board.  Powered on target board, pressed CC Debugger RESET, and got green light.  Opened IAR EW8051 IDE v7.30b (aka, IAR EW for MCS-51).  Opened compiled project and selected 'debug'.  Result was same problem.  Empty target window appears and session aborts.

    Note also, we must use IAR EW v7.30b as this is the most up-to-date version that works with Zigbee stack v1.4.3.1.2.1 required for cc2430.

  • I see the same thing here. I've looked a bit into it and IAR 7.30b does not support the CC debugger, that is the reason why it is not recognized. It is not because of the CC debugger's driver. You say you have a SmartRf04EB, which is the default development platform for CC2430. Debugging using SmartRF04EB + CC2430 works as expected?

    Best regards,
    ABO

  • Yes, using RF04EB debug interface for project board seems to work fine enough.  Long story, but decided to use CC Debugger before finding that we need older version of IAR to implement ZigBee for cc2430.  Wasn't aware CC isn't supported in older versions of IAR. 

    CC Debugger will work in IAR 8.10+ for cc2530, yes?  May migrate to this setup in the future given the cc2430's outdated status.

    Thanks for your assistance. 

  • Hi Gary,

     

    CC Debugger works in IAR 8.10 (for cc2530 and cc2531), I'm using it for a long time now.

     

    Br,

    Igor

  • Hi TIABO

    I have the same problem "a target cannot be selected when used in another debug session or in other applications". But I am using IAR 8.30 for 8051 with CC Debugger. I am trying to download and debugger on CC2541 DK MINI keyfob. Any idea how this happen for the new verison software? Thanks. 

  • Do you always get this error? It indicates that the CC Debugger is in use by another instance, e.g. another IAR instance, SmartRF Flash Programmer, the Packet Sniffer ...

    Br,
    TIABO

  • Thanks for the reply, TIABO. I just solved the problem by manually installing the IAR's driver for Texas Instruments (the driver is under IAR's directory). Now I can download debug the BLE example  on the MINI kit.  Not sure why IAR didn't install the driver during its installation though...