RSS
Sort by » date activity comments

8 blog posts tagged with gdb

0
comments
by Radosław Koppel

FreeRTOS threads preview with J-Link, GDB/Eclipse

Short note how to make FreeRTOS program debugging with eclipse little simpler.

If you are looking the information how to configure the whole environment see this post: https://devzone.nordicsemi.com/tutorials/7/development-with-gcc-and-eclipse/

What we get out of the box

Most low power applications stays most of the timer in idle. Ideally it would be tickless-idle. The problem begins if our program behaves strangely and we would like to stop it and check what is going on.

Lets get blinky_freertos example. Run it and halt just in random moment. Until you are very lucky you would stop somewhere in...

2
comments
by Daniel Veilleux

Monitor Mode Debugging with J-Link and GDB/Eclipse

The biggest pain point when debugging an application on the nRF51 series is the inability to set breakpoints while the SoftDevice is active without triggering an assert. Although a workaround exists that allows the debugging process to limp along for a short amount of time after the SoftDevice complains, using breakpoints with the nRF51 is inevitably a disruptive process.

Thankfully, the nRF52 series includes support for a neat feature called Monitor Mode Debugging. When this feature is enabled, the processor will trigger a specific interrupt handler (DebugMon_Handler) instead of halting when a breakpoint is reached. This DebugMon_Handler then spins and...

37
comments
by Michael Dietz

Segger Embedded Studio - Cross Platform IDE w/ no Code Limit! (Mac OS X, Linux support)

This blog post will get you started with SEGGER Embedded Studio (SES) in less than 15 minutes!

Motivation

  • Windows, Mac OS X and Linux support.
  • Free no limit evaluation.
  • Extremely intuitive & easy to use.
  • Powerful debugging capabilities.
  • Seamlessly import existing Keil/IAR projects.
  • Choice between GCC (default) and LLVM compiler.

Nordic's development kits come shipped with SEGGER J-Link firmware. Many of our tools used to program and debug our devices rely on SEGGER software & benefit from SEGGER's unparalleled feature set and performance. It would make sense to use SEGGER's IDE as well to provide a smoother development...

0
comments
by Marco Russi

iBeacon application example with nrf51

Hi all, I developed an iBeacon application example with nrf51 chip-set. The firmware has been developed on top of softdevice s110 and Nordic SDK running on a nrf51 PCA10028 Dev. Kit. I used an arm-eabi-none GCC toolchain and JLink under Ubuntu. Find the github link here below: https://github.com/marcorussi/nrf51_beacon

Have a look at the README file for a full documentation (install, build, customize, ...).

The make file allows you to debug, flash and customize minor and major numbers by storing them into the UICR memory. So, you can flash many individuals beacons easily and the proceduer can be...

2
comments
by Jacob Portukalian

nRF51 Qt GCC Example

Hi Everyone!

At Sky Wave Design, we recently switched all of our Nordic development over to using GCC and using Qt Creator as the IDE.

We have released our example project on github for those of you that could use an example as well as a readme on how to set up Qt.

https://github.com/skywavedesign/swd_nrf51_s110_qt_template

This is a work in progress, so please feel free to offer any suggestions on how to improve things!

EDIT:

I thought it would be a good idea to credit the following posts as they were responsible for me getting this set...

6
comments
by wim

Debugging using QtCreator on Mac

This post started as a question, but got the suggestion to post this as a blog post. Here it is.

I have been trying to get QtCreator configured such that I can use it as my IDE for the nrf51822 on Mac OSX. I use the NRF51DK as hardware, but also had it working using my own board and a Jlink Lite.

As a starting point I have been reading this post: https://devzone.nordicsemi.com/questi...

Here's what I did in a nutshell:

  1. Installed latest version ofQtCreator (3.4.1) image description
  2. Enabled the Baremetal plugin and restarted QtCreator image description
  3. Configured...
3
comments
by EmBlocks

Nordic nRF51 support in Em::Blocks (with softdevice integration)

Em::Blocks supports now the nRF51 devices from Nordic. You can select in the new project wizard which device family (51422 or 51822) and if soft devices are needed or not.

image description

The templates for the softdevices are empty after first installation. The packages must be downloaded from the Nordic download section (after login) and unpacked inside the wizard template sub directories. After the execution of the convSD.bat file there will be c-array files and API includes generated which can be used by the wizard.

The softdevices are placed at the right location by the linker so you don't...

20
comments
by Stian

Development with Eclipse and GCC

Updated version here (21.04.15): https://devzone.nordicsemi.com/tutorials/7/development-with-gcc-and-eclipse/

I have noticed that there have been several questions on development with Eclipse and GCC, and I have also been trying myself for quite some time to make it work properly. It finally seems like I have figured out an approach that works for me. I.e., successfully importing and debugging of example projects from the nRF51 SDK. So I thought I could make a blog post to share my setup and hopefully help others who are also new to Eclipse and GCC.

Inspired by other devzone...

1

Tags