This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

License for KEIL MDK is EXPENSIVE. Any way around??

I am starting my development work with Nordic Semiconductor nRF51822 Device and already purchased the Development kit. What i wanted to ask is do i need to purchase KEIL MDK 500 License to write my code/application? Because the Low energy soft devices themselves takes up space of 64KB -128 KB. Kindly suggest and explain, do i need to purchase SUPER EXPENSIVE license (£3,349.14 = $ 5412) of KEIL MDK500 to compile any application code with BLE soft-devices stack of Nordic Semiconductor? and is there any way around to escape the license cost?

Parents
  • I've used Keil to begin with, and it works very well out of the box. But later on I've started to add a C++ wrapper around the Nordic API, to make it easier to reuse my code and hereby make it more stable in the long run.

    The Realview compiler (used by Keil default) is not impressive with respect to C++. I had many problems with straight forward things that it wasn't able to compile, and I struggled with many simple thing for days. Finally I switched Keil to use the GNU toolchain, and after a long struggle again changing all my code to get it to work and compile with the GCC compiler, I finally got a binary. But then I was let down by Keil once again, as it wasn't able to flash the ELF file produced by GCC. Apparently the sections were not what Keil expected, and to be honest, at this time I was pretty tired of Keil.

    I've actually tried to setup Eclipse and GNU like a year ago, but it was so difficult compared to Keil that I gave up on it. Anyway, I now felt that it was time to give Eclipse another shot, so I went back to installing Eclipse and GNU, trying to see if I could get it to work this time, as I knew GCC was a very good C++11 compiler. I used the Nordic guide and some trial and error once installed, and got it up and running in a day or two I think (all included).

    Now - I finally got it working, and it works REALLY well. I'm very glad that I spent the time to get there, as I will be saving a lot of time by having a better C++ compiler, better documentation (Google CDT/GCC and you find whatever you are looking for), and last but not least - the Eclipse IDE is a couple of generations better. With "Intellisense" (code discovery / indexing) that works well and as you'd expect, better syntax coloring, better debugger (you can actually watch your structures and variables and drill into them), better formatting and what not. I'm steaming ahead now and I'm really appreciating the switch to Eclipse. So it's really worth the work of a couple of days or more to get there.

    I was actually not having problems with Keil until I started the C++ project, so it still pretty decent for C development I think - but now that I'm used to Eclipse and have seen it in action I will never go back ;-)

Reply
  • I've used Keil to begin with, and it works very well out of the box. But later on I've started to add a C++ wrapper around the Nordic API, to make it easier to reuse my code and hereby make it more stable in the long run.

    The Realview compiler (used by Keil default) is not impressive with respect to C++. I had many problems with straight forward things that it wasn't able to compile, and I struggled with many simple thing for days. Finally I switched Keil to use the GNU toolchain, and after a long struggle again changing all my code to get it to work and compile with the GCC compiler, I finally got a binary. But then I was let down by Keil once again, as it wasn't able to flash the ELF file produced by GCC. Apparently the sections were not what Keil expected, and to be honest, at this time I was pretty tired of Keil.

    I've actually tried to setup Eclipse and GNU like a year ago, but it was so difficult compared to Keil that I gave up on it. Anyway, I now felt that it was time to give Eclipse another shot, so I went back to installing Eclipse and GNU, trying to see if I could get it to work this time, as I knew GCC was a very good C++11 compiler. I used the Nordic guide and some trial and error once installed, and got it up and running in a day or two I think (all included).

    Now - I finally got it working, and it works REALLY well. I'm very glad that I spent the time to get there, as I will be saving a lot of time by having a better C++ compiler, better documentation (Google CDT/GCC and you find whatever you are looking for), and last but not least - the Eclipse IDE is a couple of generations better. With "Intellisense" (code discovery / indexing) that works well and as you'd expect, better syntax coloring, better debugger (you can actually watch your structures and variables and drill into them), better formatting and what not. I'm steaming ahead now and I'm really appreciating the switch to Eclipse. So it's really worth the work of a couple of days or more to get there.

    I was actually not having problems with Keil until I started the C++ project, so it still pretty decent for C development I think - but now that I'm used to Eclipse and have seen it in action I will never go back ;-)

Children
Related