Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Including nRF5 SDK example projects(ex blinky) into Segger Studio

Installed Segger Studio v4.12, nRF5 SDK(latest version), J-link, all under same catalog but into their own respective catalogs.

First, if I open blinky catalog and choose the .hex-file, then drop it to the j-link drive, the nRF52840 board starts downloading and when finnished the diodes starts blinking in a pattern, ok!

Second, I click on the blinky project file(dont remember the name but has an eye icon to it), the project loads, building and running goes fine, but no downloading into the nRF52840 board ?

Third, I like to pick the nRF5 SDK project from Segger Studio, File ->Project  Import or like that. But when clicking into the catalog where the project-file was located earlier, it appears no files.

Fourth, there are no text files explaining the different example files in nRF5 SDK, what they really do and what interaction can/must be taken to get most out of them

Fifth, I had problems installing "Packages" when setting up Segger Studio, if this could have any thing to do with some of my above problems ? se picture below

  • Hi,

    1) Something works. That is a good start Slight smile

    2) Can you elaborate on how it fails when you attempt to download the application to the DK? Which error message do you get?

    3) You should not use "Import" to open a existing SES project. Instead you should use File -> Open Solution...

    4) The examples are explained in the SDK documentation on DocLib. You can also refer to this list if you need to match the board ID with the board you have.

    5) You need two packages: CMSIS-CORE Package and the nRF CPU Support Package. Perhaps you had bad luck and the server was down when you tried to get the list, or perhaps there is a problem with your corporate firewall (or similar). 

  • Thanks Einar !

    2) I dont get any error messages when "Building and Running". I expect the firmware should be downloaded at this stage, if no erros?(no error messages appear)

    3) Think I have tried all options how to load files or projects under File-menu, the default extensions of the expected load files doesnt correspond with project file type from nRF5 SDK  sample projects.

    5)Is there a place to check which packages are installed ? I have tried two different days and at different times to download the packages, so small chance a server down. Im running Vista, and the support on that stopped a couple of years ago :-( might be something there with the firewall. Maybe turn it off when trying to install "Packages" ?

  • Hi,

    2) Yes, but you should see from the log that programming takes place.

    3) The default extension when you try to open from File -> Open Solution... is .emProject. this is the extension used by all SES projects in the SDK, so it should not be a problem.

    5) You should see it from Tools -> Show Installed Packages:

    Alternatively from Tools -> Package Manager... if you sort by Status (but that only works if the list of packages is downloaded):

  • almost there now but still  no "blinky" downloaded from SES "Build and Run". In the "Output" window there is just "OK" on each line. I also see some activity on the"download" LED when Debuginng and Runing, but the four LEDs dont blink as they should. Only LED 1 is stationary on.

    Any idea ?

  • Hi,

    All GPIO's are high impedance after reset (thus all LEDs off), so since LED 1 is lit you have definitely programmed something onto the board.

    Are you using the  BLE Blinky Application example (from <SDK>\examples\ble_peripheral\ble_app_blinky\)? If so, that is expected. Then LED 1 will be lit solid until a central connects, and at that point you should see LED 2 lit. You probably want the simple Blinky Example (<SDK>\examples\peripheral\blinky\) which only blinks the LEDs instead. This is always a good start to see that programming works.

Related