Using the NAI Software Support Kit 2.x

You have the SSK 2.x package downloaded and want to build an application with it. This guide covers setting up your development environment and writing and building an application against the NAI SSK 2.x naibrd API.

NAI SSK 2.x is intended for use with boards such as: 68G6, 68ARM2, 68ARM4, 68INT6, NIU3A.

This guide does not cover:

Not sure if SSK 2.x is right for your hardware?

See Choosing the Right SSK — an interactive guide that recommends the correct SSK family and package based on your board, OS, and deployment style. For a breakdown of what’s inside the SSK 2.x package itself, see the SSK 2.x Package Guide.

If you have not already NAI recommends using the NAI Embedded Soft Panel to kickstart development. Via a GUI it allows users to quickly configure and operate NAI products. The API Logger tool within the NAI Embedded Soft Panel will allow you to kickstart writing your program as it will record the API calls made as you use the GUI to configure and operate your hardware.

If you do not yet have your hardware you can still use the NAI Embedded Soft Panel to kickstart your development via the Demo Panel.

If you do not yet know details about your hardware and have already started using the NAI Embedded Soft Panel you can skip to Starting Development. If you want help setting up the environment you can simply pick your preferred OS and follow the corresponding instructions before continuing to Starting Development. The code you write will be fully portable.

To download the NAI Software Support Kit click here.

Environment Setup

These sections will explain how to setup your environment to begin development for your chosen OS. If you do not know what OS you will use yet simply pick your preferred OS, all written .c files will are fully portable.

Starting Development

NAI recommends starting with the NAI Embedded Soft Panel (ESP) to kickstart development. Its GUI lets you quickly configure and operate NAI products, and its API Logger tool generates the corresponding API calls as you exercise the hardware — a useful jumping-off point for your own code.

When you are ready to write code, the SSK ships a selection of sample applications you can build, run, and use as templates. The full collection is available in the Sample Applications tab. For board-level functionality across module families, NAI also provides standalone guides on interrupts, watchdog timers, NAI ethernet protocols, BIT, multicore applications, and backplane reset.

For the SSK library API references, see:

Running NAI sample applications

When you launch an NAI sample application on the target, it presents a configuration menu that asks where the application is running and how it should reach the modules. See Running Applications from the Target for the full walkthrough — organized by application location and connection type, with collapsible callouts per hardware variation (Nano, single SBC, SIU master + backplane).

Connecting to the System

This guide assumes the board is powered, on the network, and reachable from your development host. For the cabling, network reachability, terminal access, file transfer, and NAI Ethernet Listener prerequisites needed to get to that point, see Connecting to Boards — it covers the cross-compile flow (ARM/PetaLinux, VxWorks, Deos, Windows host) plus the onboard Linux x86 flow used by NAI Intel SBCs (68INT5/6/6H, 75INT2). The naiMBEEPROMUtil walkthrough, standard serial terminal settings, HDMI/MIL adapter board details, and detailed minicom setup all live there.

Building and Running a Project

Configuring Interrupts (Deos)

If your application uses NAI hardware interrupts, Deos needs one extra project setting — and it differs between the two Deos SSKs:

  • Kismet Deos SSK (deos_kismet): the project’s process-developer XML must enable the naibsp_sys-attach-interrupt feature, which creates the ISR thread when naibrd_ConnectISR() is called. See the Configuring Interrupts (Deos) section of the NAI UltraScale Deos Quick-Start Guide for the exact XML block and steps.
  • Jupiter Deos SSK (deos_jupiter): the included interrupt samples build and run as-is — do not add the naibsp_sys-attach-interrupt feature, as it will cause build errors.

Other platforms (PetaLinux, VxWorks, Windows) need no equivalent step.