1.1 Choose a development path
1.1.1 NXP MCUXpresso Software Development Kit (SDK) with Amazon FreeRTOS + Integrated Development Enviroment (IDE)
Amazon Web Services + Amazon FreeRTOS + IAR Embedded Workbench from aws.amazon.com
1.2 Jump Start Your Design with the MCUXpresso SDK
The MCUXpresso SDK is complimentary and includes full source code under a permissive open-source license for all hardware abstraction and peripheral driver software.
Click below to download a pre-configured SDK release for the IoT module:
Get MCUXpresso SDK
You can also use the online
SDK Builder to create a custom SDK package using the SDK builder.
1.3 Install Your Toolchain
NXP offers a complimentary toolchain called MCUXpresso IDE.
Get MCUXpresso IDE
Want to use a different toolchain?
No problem! The MCUXpresso SDK includes support for other tools such as IAR, Keil and command-line GCC.
1.4 Update QCA firmware for latest SDK
The firmware on the Longsys GT1216 module used on the LPC54018 IoT Module requires a manual update to work correctly with MCUXpresso SDK releases starting from SDK 2.4.0. Follow these steps to perform the update.
1.4.1 Update QCA Firmware
- Micro-USB Cable
- Debug probe: IoT Module baseboiard/LPC-Link2/J-Link probe
- Personal Computer with Windows OS
Import the MCUXpresso SDK
- Open the MCUXpresso IDE
- Select "Installed SDKs" tab within the MCUXpresso IDE window
- Open Windows Explorer, and drag and drop the previously downloaded SDK file into the
Installed SDKs view.
- Click OK to the confirmation window.
- The installed SDK will appear in the Installed SDKs view as shown below:
Use the “Import SDK example” qca_fwupdate project from SDK
- On the
Quickstart Panel, select “Import SDK example(s)
- Select the
lpc54018iotmodule board and click on Next.
- In the filter textbox, type “qca”. Select the
qca_fwupdate example project (wifi_qca_examples →
qca_fwupdate), and click on
- Build and download the application to the target board using debugging probe (J-Link or LPC-Link2). Click on the "Debug" button from the Quickstart Panel.
- Click on “Resume” button or press ‘F8’ to start the application.
- While the application is running, locate the
host.exe application and firmware folder at:
- Open the command line from Windows and execute the host.exe application as follows:
> host.exe COM30 flashotp_3_3_6.bin 845dd76f5e95 -b115200
|Is the LPC54018IoT Module (port J8) CDC Virtual COM Port name.
|Is the path to firmware binary
|Is the MAC address of the GT1216 module
|Is a communication baudrate
The COM port name can be found using the "Windows Device Manager". The MAC address of your WiFi IOE Module can be found in a label on top of the LPC54018IoT Module. The host.exe application cannot resolve COM port with number greater than 99; the Windows control panel may be used to override the COM port number assigned if necessary.