We've put together an evaluation release of our ARM BASIC compiler for the Nucleo PCB with the STM32F411. This is a free download for personal, educational, and commercial evaluation.

This is free even for commercial evaluation, but we do ask commercial customers to contact us about licensing when they want to include this firmware in one of their products.

The Nucleo board supports the mBed protocol. That means when you connect the USB connector, a new "drive" will show up on your PC. (shown below)

Start

To load the BASIC support firmware onto the board, download this binary file STM32F411.bin and copy it onto this "drive". (as below)

Start

Next download our BASIC IDE, and install it (it is an executable installer). It is called BASICtools, and you can run it from the menu or the shortcut installed on the desktop. Your Nucleo board also will appear as a USB serial device (Com8 in my system), it will vary depending on what else is connected on your system.

Start

You should also select the board type as Nucleo, to configure the IDE controls.

Start

To see the BASIC welcome message push the RESET button on the Nucleo PCB (black button on my Nucleo). It will NOT prompt you the first time, but will show this prompt on subsequent program start.

Start

Among the examples is a simple BLINKY.bas program that controls one of the IOs to flash an LED on the Nucleo. The BASIC compiler converts the program into a hex file that consists of ARM instructions or calls to subroutines in the BASIC support firmware for functions that take more than a few ARM instructions (like PRINT, strings, divide, floating point and the like).

Start

Once you have chosen the program you can hit RUN to start the process.

Start

After you hit RUN the BLINKY.bas program will be compiled and written into Flash of the STM32F411 and the program will start executing flashing the green LED and counting.

Start

As this is an evaluation, we want your feedback.

Next Post Previous Post

  0