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.

programming CC2541 with CC Debugger through IAR embedded workbench on custom design

Other Parts Discussed in Thread: CC2541, CC-DEBUGGER, AFE4490, TMP006, CCSTUDIO

So i developed my own PCB using a CC2541 Soc.  I purchased the CC2541 keyfob development kit so I could have the CC debugger and the USB dongle and something to practice on while my PCB was fabricated.  I also downloaded the free version of IAR embedded workbench (4k limit).   So I have some questions and hoping I can get some answers : 

My board came and I soldered all the components on. I then plugged in the cc-debugger and and opened the SmartRF flash programmer and loaded the CC2541_SmartRF_SimpleBLEPeripheral.hex.  I just wanted to see if I could program something.  It loaded with success.  I then opened the BTool and plugged in the little usb dongle that came in with my keyfob development kit.  Went ahead and powered up my board and saw my LED on port1.0 light up for a second and turn off.  I hit "scan" in the BTool and it found one device.  I was able to establish the connection and was very pleased that I correctly designed the RF section of my PCB and the CC2541 worked.

Now onto the hard stuff.  I went into IAR embedded workbench and pulled up the SimpleBLEPeripheral project from the BLE stack I downloaded.  I tried to build the project and what do you know..can't build because i'm on the limited version of of IAR embedded workbench.  So question 1

Can I delete IAR embedded workbench and re-download it and do the 30 day trial with unlimited code size compiling instead?

So since I can't compile the SimpleBLEPeripheral project I decided to write a little program of my own just to make sure I could turn on the LED from port 1.0 and 1.1 on the CC2541 and use the cc debugger to load the program through IAR.  I found the ioCC2541.h file and included it and tried to write this : 

#include "ioCC2541.h"

int main( void )
{
P1SEL = 0x00;
P1DIR = 0x00;

P1DIR |= 0x03;
P1_0 = 1;
P1_1 = 1;


return 0;
}

I'm a college student working on a senior design project.  I'm not the embedded guy in the group but more the hardware guy so trying to come up to speed on embedded stuff so I can help the other guy out in our group.  We have three sensors that we need to talk to on the board (TMP006, MPU-6000) over I2C and (AFE4490) over SPI.

I really just want to be able to verify that my cc-debugger setup in IAR works correctly when I compile and load code.  Any help would be appreciated and hopefully I explained everything in detail. But I can provide more details if needed.  Oh yes..i'm using the 256kb version of the CC2541.  Hoping it's something as simple as setting up the options correctly in the IAR workbench.

Thanks !!