Skip to content

This project is used to build a VEE Port for the NUCLEO-F429ZI development board.

License

Notifications You must be signed in to change notification settings

MicroEJ/VEEPort-STMicroelectronics-STM32F429ZI-NUCLEO

Repository files navigation

VEE Port for STMicroelectronics NUCLEO-F429ZI

sdk_5.8 badge

arch_8.0 badge

This project is used to build a VEE Port for the NUCLEO-F429ZI development board.

./images/board-front.png

Clone the repository with git clone --recursive https://github.com/MicroEJ/VEEPort-STMicroelectronics-STM32F429ZI_NUCLEO.git.

Related Files

This directory also contains:

  • CHANGELOG to track the changes in the VEE Port for NUCLEO-F429ZI
  • RELEASE NOTES to list:
    • the supported hardware,
    • the known issues and the limitations,
    • the development environment,
    • the list of the dependencies and their versions.
  • README BSP recommended for users familiar with the STMicroelectronics SDK/BSP and advanced usage on how to customize the build process.

Board Technical Specifications

Name NUCLEO-F429ZI
Revision MB1137-Rev.B
MCU part number STM32F429ZI
MCU revision 3
MCU architecture Cortex-M4
MCU max clock frequency 180 MHz
Internal flash size 2 MBytes
Internal RAM size 256 KBytes
External flash size 0 Byte
External RAM size 0 Byte
Power supply 5V, 3.3V,

Here is a list of NUCLEO-F429ZI useful documentation links:

  • Board documentation available here
  • STMicroelectronics board Getting Started available here
  • Board schematics available here
  • MCU Technical Reference Manual available here
  • MCU Datasheet available here
  • MCU Errata available here

VEE Port Specifications

The Architecture version is 8.0.0.

This VEE Port provides the following Foundation Libraries:

Foundation Library Version
EDC 1.3
BON 1.4
SNI 1.4

The VEE Port is derived into:

  • a Mono-Sandbox VEE Port (default)

Requirements

BSP Setup

Install the STMicroelectronics toolchain as described here.

Windows Toolchain

  • C/C++ toolchain name: IAR Embedded Workbench for Arm
  • C/C++ toolchain version: 8.50.9
  • C/C++ toolchain download link

Please refer to the STMicroelectronics documentation available here for more details.

BSP Compilation

The VEE Port provides a pre-compiled Standalone Application. Validate the BSP installation by compiling the BSP to build a NUCLEO-F429ZI Firmware.

To build the stm32f429zi_nucleo_freertos-bsp project, open a terminal and enter the following command lines:

On Windows:

$ cd "xxx/stm32f429zi_nucleo_freertos-bsp/projects/microej/scripts"
$ build.bat

The build script expects the toolchain to be installed at a known path. If you installed it elsewhere, see `README MicroEJ BSP`_ for how to customize its path.

Please refer to `README MicroEJ BSP`_ for more details on how to customize the build scripts.

Board Setup

Please refer to the STMicroelectronics documentation available here for more details.

Power Supply

The STM32 Nucleo-64 board is designed to be powered by several DC power supplies. It is possible to supply the STM32 Nucleo-64 board with any of the following sources:

  • 5V_USB_STLK from the ST-LINK USB connector
  • VIN (7 V - 12 V) from ARDUINO® connector
  • 3.3 V on ARDUINO® connector
  • ...

Please refer to the STMicroelectronics documentation available here for more details.

Programming

The NUCLEO-F429ZI board can be flashed following the steps below:

On Windows:

$ cd "xxx/veeport-bsp/projects/microej/scripts"
$ run.bat

The firmware is launched. Please wait for the final message:

CSpyBat terminating.

Logs Output

This VEE Port uses uses the STLink connection to output UART logs to the PC host. The COM port uses the following parameters:

The COM port uses the following parameters:

Baudrate 115200
Data bits bits 8 bits
Parity bits None
Stop bits 1
Flow control None

If flashed, the pre-compiled application outputs Hello World on the UART.

Please refer to the STMicroelectronics documentation available here for more details.

Debugging

Firmware debugging can be done using the IAR debugger tools.

Please refer to the README BSP section debugging for more details.

VEE Port Setup

VEE Port Import

Import the projects in MICROEJ SDK Workspace:

  • File > Import > Existing Projects into Workspace > Next
  • Point Select root directory to where the project was cloned.
  • Click Finish

Inside MICROEJ SDK, the selected example is imported as several projects prefixed by the given name:

  • stm32f429zi_nucleo_freertos-configuration: Contains the VEE Port configuration description. Some modules are described in a specific sub-folder / with some optional configuration files (.properties and / or .xml).
  • stm32f429zi_nucleo_freertos-bsp: Contains a ready-to-use BSP software project for the NUCLEO-F429ZI board, including a MICROEJ SDK project, an implementation of MicroEJ core engine (and extensions) port on FreeRTOS and the NUCLEO-F429ZI board support package.
  • stm32f429zi_nucleo_freertos-fp: Contains the board description and images for the Simulator. This project is updated once the VEE Port is built.
  • STM32F429ZI_NUCLEO-VEEPort-CM4hardfp_IAR83-{version}: Contains the MICROEJ SDK VEE Port project which is empty by default until the VEE Port is built.

By default, the VEE Port is configured as a Mono-Sandbox Evaluation VEE Port (Please refer to the RELEASE NOTES limitations section for more details).

VEE Port Build

To build the VEE Port, please follow the steps below:

  • Right-click on stm32f429zi_nucleo_freertos-configuration project in your MICROEJ SDK workspace.
  • Click on Build Module

The build starts. This step may take several minutes. The first time, the VEE Port build requires to download modules that are available on the MicroEJ Central Repository. You can see the progress of the build steps in the MICROEJ SDK console.

Please wait for the final message:

BUILD SUCCESSFUL

At the end of the execution the VEE Port is fully built for the NUCLEO-F429ZI board and is ready to be used.

The VEE Port project should be refreshed with no error in the MICROEJ SDK STM32F429ZI_NUCLEO-VEEPort-CM4hardfp_IAR83-{version}.

Please refer to https://docs.microej.com/en/latest/ApplicationDeveloperGuide/standaloneApplication.html for more information on how to build a MicroEJ Standalone Application.

An evaluation license is needed for building an application. Please refer to https://docs.microej.com/en/latest/overview/licenses.html#evaluation-license for information on how to acquire and activate a license.

Troubleshooting

About

This project is used to build a VEE Port for the NUCLEO-F429ZI development board.

Resources

License

Stars

Watchers

Forks

Packages

No packages published