The firmware residing on the FLASH memory in an NHS31xx chip can be replaced using
a wired connection. Any firmware can be written using a wired connection, including the
One-time NFC program downloader and the demo firmware images included in the SDK.
With the proper setup, a program running on your PC can take control of the flash
controller via the debug interface of the chip, erase the FLASH memory, and reprogram it
with your new firmware. There are different options, but the focus in this document is on
the GUI of Flash Magic only.
This document provides links to various firmware images, ready to be used by the GUI of
Flash Magic. Together with your NTAG SmartSensor board and this document, you can
repurpose a board and start a different demo in minutes.
Note: The firmware currently residing in flash can disable access to the flash controller
via the debug interface. This is recommended behavior for production images. More
information can be found with the firmware documentation.
Note: More information for each specific board referenced in this document can be
found on nxp.com:
Other tools exist, besides Flash Magic, that allow a wired programming approach.
During development, the LPCXpresso IDE is continually used. During production, gang
programming services are available for HVQFN24 and WLCSP25 packages.
Flash Magic can also be used for gang programming, using its command-line interface.
This document focuses on the GUI interface of Flash Magic only.
Note: Only versions from v9.72 onwards have support for the NHS31xx ICs. Until Flash
Magic is updated on other platforms, only the Windows platform is supported. The
screenshots below are taken from Flash Magic v11.16.
2.1 Installation
Download Flash Magic from http://www.flashmagictool.com. Install and follow the
prompts on the screen.
Note: Also allow the installation of the LPC USB drivers of NXP Semiconductors.
2.2 Usage
UM11154
NTAG SmartSensor getting started:
Reprogramming an NHS31xx using Flash Magic
When using Flash Magic, the images used for wired programming must all be in the Intel
Hex (.hex) format.
2.2.1 Physical setup
Before launching Flash Magic, be sure that the HW is correctly connected:
1. No jumper may be placed over JP1.
2. A jumper must be placed over JP2.
3. Connect the LPC-Link2 board with your PC using a mini-USB cable.
4. Connect the demo PCB with the LPC-Link2 board using a JTAG cable.