Embedded module TQMa117xL

The following instructions describe how to prepare and generate the project and writing an image via flashloader with MCUXpresso Secure Provisioning tool.

The instructions on this page refer to the TQMa117xL repository and ancillary tools listed in the following table:

Tool Version
GitHub Repository MBa117xL.SW.MCU.BSP
VS-Code Version 1.88.1
MCUXpresso Secure Provisioning Version 8.0
MCUXpresso Config Tools Version 15.1
In this guide, we assume that the repository with examples was either built in advance or downloaded from GitHub.

Writing the Examples

1. To be able to write the Image with the MCU Secure Provisioning Tool the project has to be rebuilt with the option:

DXIP_BOOT_HEADER_ENABLE=0


2. The next step is to generate a dcd.bin file of your current hardware configuration. Start the MCUXpresso Config Tool and open the MBa117xL.SW.PQ.mex pinmuxing file from your project.
By default this file is located in examples/board in the project.

3. Now select the Device Configuration Data tab from the menu icons (marked in red).

4. In the DCD window select Binary as output format, afterwards update the code.

5. Click on OK in the Update Files window. The dcd.bin file should be saved in the board folder.

6. After rebuilding the project with disabled XIP boot header and building the dcd.bin file from your muxing configuration, the MCUXpresso Secure Provisioning tool can be started.
Within the MCUXpresso Secure Provisioning tool main window select FlexSPI NOR – simplified to setup the NOR flash properly.

7. Setup the NOR Flash in the Boot Memory Configuration window as shown below:

8. After configuring the boot menu select the *.elf file that has been rebuild with disabled XIP header. In this case the hello world example has been selected.
The next step is to setup the XMDC option to None and select the dcd.bin created before.

9. Finally the image for flashing can be built by clicking the Build image button.

10. Setup the USB connection to the target Hardware properly, keep in mind to set the DIP switches for Serial Downloader mode.

Serial Downloader

S6


11. Select the Write image tab, start the flashloader and finally write the image.

12. Now set the DIP switches to internal boot and perform a powercycle.

Internal Boot

S6


  • Last modified: 2024/05/02 15:41