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 and CC Debugger

Other Parts Discussed in Thread: CC2540

Hello,

I'm working with the BLE CC2540 development kit and running into a roadblock.

I've download the evaluation version of IAR 7.51A and then applied the patch to bring me up to EW8051-7.51L-EV.  Whenever  I load the SimpleBLEPeriferal project in IAR, it gives me 3 dialog alerts:

1) The project 'SimpleBLEPeripheral' contains the unknown tool 'CHIPCON_ID'

2) Invalid driver (/driver) option

3) An error occured trying to initialize the debugger.  Debugging will not be available in this session.

'Make' works fine, but when I go to the project Options -> Debugger, the driver is blank and I have a blank subcategory under 'Debugger' called CHIPCON_ID.

Of course, if I try to hit the debugger icon, nothing happens.  My hope is that hitting the debugger icon will send the compiled project to the keyfob connected through the hardware 'CC Debugger'.

Has anyone seen anything similar?  Any help is appreciated.

Thanks,

Jon

  • Yes, I'm seeing exactly the same thing.

     

    dan

  • I am seeing this on my primary system,  but not on my laptop, which suggests it's a platform issue?

     

    Laptop - x86, Windows 7: OK

    Desktop - x64, Windows Vista: Problem

    Note: I am using 7.51 with all patches applied on both systems.

     

    Some additional info:

    1. On the troubled system, the TI debugger is not listed as a choice in the IAR project settings. On the good system, in the "driver" list box under the "debugger" options, the TI debugger is listed as choice "Texas Instruments".

    2. While this did not solve the problem, I did find that when installing the SmartRF Flash Programmer , I needed to explicitly run the installer as "Administrator", otherwise the drivers would fail to install. SmartRF Studio, in contrast, does not need to be explicitly launched as Administrator in order to successfully install the drivers.

     

    Mike

     

     

  • IAR released a patch both for EW8051 v7.51 (7.51M) and v7.60 (7.60.6) at the end of December that should fix this and a couple of other issues.

  • The "M" patch does not fix this problem on all systems. Please note the details I posted in my report on this issue, indicating patch through to "M". I also indicated installer issues with the flash programmer.

    in short, this thread should not yet be "verified answered".

    Further, can someone representing TI please comment on whether or not IAR EW v7.60 is supported? The docs still indicated otherwise, and I've not yet found an official comment.

     

     

     

  • IAR v7.60 is "unofficially" supported. The projects included with the BLE v1.0 software are all based on IAR v7.51A; however if you open them up using IAR v7.60, they will still work (IAR will ask if you want to convert them; click yes).

    When building the project, you may get the following warning: "Warning[w2]: Symbol ?PBANK is redefined in command-line". This is related to the linker command file, and as far as I can tell should not affect the application.