Hello flash

Introduction

This example is a simple hello world application that is run from flash.

Building the example

Change directory to the hello flash example
    cd %LF_HOME%\examples\hello_flash

Rebuild the application
    lfmake clean all

Downloading the example

Make sure that all the applications are built (see building applications).

Download the raw file to the board.
    lfflash --flash hello_flash.raw

Running the example

Connect to the standard out serial port using lfdownload
    lfdownload

Reset the development board. You will see the messages appear in the lfdownload window.

To prevent running the application every time the card is reset, use the command
    lfflash --mode=none

You need to reset the board in order to allow this to work.

Features

This example demonstrates the following SDK features.