Other Parts Discussed in Thread: CC-DEBUGGER, CC2650, CC2541
Based on multiple resources I've managed to design board with couple of LED, buttons and other I/O ports. Everything is based on CC2541. Based on available User's Guide I created as well ICSP connectors on pins P2.1 and P2.2 (and the rest like reset and power). Also there is mentioned how frames should look like and things like that. I would like to start with some simple projects like blinking LED using BLE or sending some information from sensors connected to I/O ports on board.
But problem I am still trying to figure out is how to actually program it. Or more precisely - with what? Because this is home/hobby project I am not even thinking about buying IAR Embedded Workbench, because it is way too expensive. So far I know that I should (but do I need to?) have CC-Debugger. What about some programming environment? As I remember from ready-made sets (I know it's the easiest example,but I don't have other on hand) like Arduino you write some code in C, compile it and then upload using USB.
Below I've created comparison of Arduino board programming versus what I suppose my board programming should look like:
| My Board | Arduino |
| Write code in C (or something else) using ?? | Write code in C using Arduino's editor |
| Compile | Compile |
| Connect USB using CC-Debugger | Connect USB cable |
| Program 8051 using ICSP | Program AVR using additional circuit on-board |
| Run | Run |
As you see there are some question marks at the beginning. This is the hardest part - what software I should use to actually write and compile it?
Thank you for your suggestions!