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.

CC2540 IAR debug problems

Other Parts Discussed in Thread: CC2540

Hello everyone.

I'm using CC2540 Mini DK, and IAR workbench 7.60 (patced 7.60.4) and I have copied ioCC2540.h file to C:/Texas Instruments/BLE-CC2540/Projects.... folder.

Ah,, I'm beginner  CC2540 and IAR .. ;;

In IAR progam, debuging and downloading is well done. But after debug and download, USB Dongle is not connected to PC (Windows7, can't detect the USB Dongle).

If I use smartRF studio 7 for downloading hex file located in C:/Texas Instruments/BLE-CC2540/Accessories folder,

then, after downloading hex file to USB Dongle, USB Dongle is connected to PC..

What can I do to solve this problem.

 

 

 

  • Could you please be more specific in the issue that you are having?

    Have you followed the setup instructions in the mini development kit user guide (http://www.ti.com/litv/pdf/swru270a)? If so, on which step are stuck? Is the issue with the driver or with BTool?

     

  • Thanks for your answer  :)

    I have followed the swru270a and the BLE software develper's guide document.

    To use the BTooL, PC and CC2540 USB Dongle are connected with them.

    for the connection of USB Dongle, USB Dongle must have programed with SimpleBLEPeripheral( in " c:/Texas Instruments/BLE-cc2540/Projects/ble" folder) project.

    So, I have programed Hex file (  "c:/Texas Instruments/BLE-cc2540/Accessories/Hex_Files/cc2540_ble1.0_master_usb_dongle.hex")

    to USB Dongle using SmartRF studio7. Then, PC recognize USB Dongle and I can use the BTool.   

    But, If I use IAR program. we get problems.

    I have followed the BLE software developer's guide ( SWRU271)  page 21.- SimpleBLEPeripheral example

    The Debugging and Downloading work is coming along very well. But after Downloading to USB Dongle, PC can't detect USB Dongle device.

    So, I can't use the BTool.

    My IAR version is 7.60 and I have patched the IAR with 7.60.4 (I read some information in TI forum about patch and header file).

     

    Can you understand my situations? :) I'm sorry for my english ~~