Programming the BLE112 using BGScript

Following on from the previous post describing how to use IAR to write custom C code for the BLE112, in this post I’m going to walk through creating a very basic program to toggle an LED on/off using BGScript on a Windows machine (sorry, no Linux instructions yet).

The bare minimum equipment needed is the following:

And that’s it. You’ll have to figure out some way to connect the CC Debugger to the BLE112, or you could buy a breakout board from Jeff Rowberg and connect it to a breadboard.

Continue reading

Programming the BLE112 with C code using IAR

Despite the terrible soldering job, it actually works!

I’ve heard it mentioned a few times that it’s not possible to program the Bluegiga BLE112 with IAR, but there’s absolutely no reason I can see why this would be the case, considering that it’s just a TI CC2540 with all the necessary components connected to turn it into a module. Since we can program the TI CC2540 on the keyfob using IAR, we should also be able to program the CC2540 on the BLE112 using IAR.

Continue reading