Hi,
By default the TI CC2540 is supported by IAR Embedded Workbench, aswell is the hardware debugger "CC debugger".
Is it possible to debug the CC2540 in uVision?. Either by using the CC debugger, SmartRF05EB or SmartRF04EB?
Thanks
Hi and thanks for your answers.
The CC2540 does have USB interface.
The driver you are talking about is for debugging through the SmartRF04, i'm not sure if this is the same as the SmartRF05?
The debugger that accompanies the demokit for the CC2540 is called "CC debugger".
In the Keil device list it says the following about the CC2540:
"The following AGDI Drivers are available for the Keil Software µVision Debugger. Keil ISD51 Driver Keil MON51/FlashMON Driver"
But the SmartRF04 driver is not mentioned. Which debugger is supposed to be supported by the above mentioned drivers?
Peter; Sorry about delayed post. Been out of the office a few days.
The zip file on the URL that I posted does not support the CC Debugger.
I have used the SmartRF05 eval board with the CC2530 and CC2531 and the Keil debugger via uLink2. It worked for me. The only examples supported by Keil were the CC2430 and CC2510 series so I had to modify a few register addresses in the header provided by Keil. It was still easier than using the buggy IAR debugger. With IAR, every time I made a simple change I had to modify the linker configuration file or get stack overflow errors. Not from my program code but from the IAR debugger code. I used the SmartRF04 setup for the tools.ini changes. The JTAG interface was the same if I remember correctly. I vaguely remember some jumper or resistor changes that were made on the SmartRF05 eval board to match the SmartRF04 configuration.
I also used the TI CC debugger and had little trouble with it while using IAR. But at that time I was just loading code into the target boards. Too bad TI Code Composer does not support the 8051 devices from ChipCon.
No, I did not know the CC2540 had USB. I thought that all the USB devices ended in xx31 or xx41, etc. I worked several days on the CC2531 USB only to discover the end point 1 FIFO only held 8 bytes. I had to go to end point 3 for a larger FIFO. I had one DUH! after another working with the IAR and USB that week.
I hope I'm not sending you in the wrong direction. This project was several months ago and there have been several version changes in uVision and PK51. I believe I was working with uVision 4 and PK51 v8 about that time.
I suggest that you contact Keil support for the latest information.
Bradford