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

How to start with nrfStudio, Keil Uvision, IAR embeddworkbench [only windows 8]

Hi All, I am a beginner with nordic nrf 51822. I am confused between so many code development tools.I have a usb based nrf 51822 development board. I prefer to use microsoft WINDOWS 8 as development environment. Kindly help me how to start with

  1. Keil Uvision:- I installed and all i see is nothing, there is no way to create a new project and further c/c++ files option i see in this. please help me on this

  2. nRFGo studio: - what i understand is that this is used only for programming devices only, ITS NOT for creating project and doing coding. please confirm

  3. IAR Embedded workbench: - It does have an option to create an project w.r.t to cortex-m0 devices, but how to import/include the s110_nrf51822_5.2.1.

  4. my aim:- I need to create a project [w.r.t to cortex-m0 device as in nrf51822 device] and then use the s110_nrf51822_5.2.1 in this. please suggest me how to do it and best possible way.

Kindly help i am stuck in getting started.

Thanks Ingu

  • Hi All, I was able to get a step ahead and here are the things which i found

    1. After the packages/Examples screen, the Uvision was crashing and i found the fix to be because of the resolution [i changed the screen resolution to 1280x1024] and it all worked well.

    again a question

    i have a keil Uvision where in i can create a project and all, if i want to pull in 51822 into it, i need to install NRF51822 SDK?? Please correct me if i am wrong.

    so overall, here is my understanding

    Programming ==>[Keil Uvision + nRF SDK 51822] ==> generate some output file

    nrfgostudio ==> output file ==> flash onto WT51822 [using JTAG or over the air].

    wanted to see if there is any simulation i can DO w.r.t to WT51822 rather than connecting board and keep programming/debugging, please help

    Thanks Ingu

  • I suggest that you take a look at the User Guide for the nRF51822 Evaluation Kit. That explains how to get started with the nRF51822 using the Keil environment, installing the nRF51 SDK and testing the heart rate example from it.

    The basic point is that you use Keil or IAR to compile an application and download it to your kit (to get started, preferably one of the ready-made ones from the nRF51 SDK). nRFgo Studio is only used to download the softdevice to you chip.

    When you have gotten things up and running, you may also have use in looking at the nAN-36 application note.

  • Hi Ole, Thanks for your answer. I went through the document and could get near to programmiing in Keil. However i have a doubt w.r.t to softdevice.

    lets say i have a program and i converted it into a binary image and loaded it onto chip. how does the softdevice fit in this scenario. Is it like its EITHER Softdevice or my own code.I am still not abel to get this softdevice funda. or is this softdevice a LIBRARY for me to import and use the APIs.

    please help

    Thanks Ingu

  • I think you'd have use in reading the appendix of the nRF51 Reference Manual, which explains the softdevice architecture: https://www.nordicsemi.com/eng/content/download/13233/212988/file/nRF51_Series_Reference_Manual_v2.1.pdf

    The application is more or less independent from the softdevice, and the interfacing is done through a special interrupt. You therefore don't need to link with any library, you just trigger these interrupts with a certain format, and that's easiest done by using the header files provided.

Related