SmartFusion2 Libero project for Starter Kit?

jon-sstl wrote on Thursday, September 26, 2013:


As the instructions at explain, it’s possible to download a .STP file to support the FreeRTOS demo project.

However, we need to go beyond what this .STP gives us. We’ve tried running the FreeRTOS full demo against FPGA image generated by the Libero project given here for the “Hello World” Linux demo, but only one of the LEDs (the ~1Hz one) lights, the UART isn’t configured as expected and there are indications of other problems.

Do you have the Libero project available from which the FreeRTOS .STP image was generated, please?

I should emphasise that this is for the Starter Kit specifically.



rtel wrote on Friday, September 27, 2013:

Do you have the Libero project available from which the FreeRTOS .STP image was
generated, please?

Sorry - no. As far as I recall I just used the files that came with the respective kits, or at least, were downloaded of the website of the kit manufacturer. I don’t think I did anything in Libaro, just SoftConsole.

I would suggest contacting the manufacturer.


jon-sstl wrote on Monday, September 30, 2013:

Thanks for your help, Richard. I’ve already searched the sites of both EmCraft and Microsemi, but I’ve not seen anything particularly useful or relevant from either so far - just the vanilla “Hello World” project that kinda half-works with the FreeRTOS demo, as described above.

dpark36 wrote on Tuesday, October 01, 2013:

Hi Jon,

I am having exactly the same problem. Have you found anything recently yet? I am assuming you’re using the FG896 SOM instead of the new FG484?

I am using the new FG484 SOM and took Emcraft’s sample Hello World Libero project, and imported the FreeRTOS demo. Because the provided .stp file on the FreeRTOS website can only be used to program the FG896, I had to generate a new programming file as you did. This did not work. I see the same issues you are experiencing with no proper RS232 output.

I had assumed this meant something was different in the registers for the MSS in the FG484… however if you are only working with the FG896 SOM that came with the starter kit, and were unable to generate a proper .stp file, it doesn’t seem that the issue lies with FreeRTOS…

edwards3 wrote on Wednesday, October 02, 2013:

As far as I know to FreeRTOS this is just a Cortex-M device and runs the normal Cortex-M code so I agree it doesn’t seem the issue would lie with FreeRTOS. You would probably get more useful input from an Emcraft or Microsemi support site.

dpark36 wrote on Thursday, October 03, 2013:

After contacting the manufacturer Emcraft, it was pointed out to me that the provided .stp file on the FreeRTOS website was not generated by Emcraft. When viewing the configuration settings of that .stp file in FlashPro, the project design name states “RTOSDemo”. Emcraft has no record of generating a project for FreeRTOS, so it must have been FreeRTOS who generated the .stp file. Richard, do you know if anyone has a Libero project generated for this? It would be helpful to know what they did with it to make FreeRTOS run correctly.


rtel wrote on Friday, October 04, 2013:

Hmm, its a bit of a mystery then. I’m sure I would not have created the project from scratch myself, I just don’t have the knowledge to do that (being a software person) and I just use the device like a Cortex-M microcontroller.

I have opened up Libero, and the “recent projects” list is empty - just like it is a clean install. I have also searched my hard driver for Libero project files .prj. There are lots of files with a .prj extension (not a surprise on my machine with dozens of compilers installed), but none are related to Libero.

I have found a few tutorials though, and it is possible I created the hardware just by following those (I do have a vague recollection of that!). The document contains the following text:

“This document contains confidential proprietary information that is not to be disclosed
to any unauthorized person without prior written consent of Microsemi Corporation”

so I can’t post a link to it here, but I’m sure it was just downloaded from either Emcraft or MicroSemi. The file name is SF2_Cortex_M3_Tutorial.pdf, but its possible I changed that after it was downloaded. I also have a couple of zip files with Libero projects in them, again downloaded from one of those two websites. One is called and the other (the DF version contains the Libero project, and the PF version contains an .stp file).

Hope that helps?


dpark36 wrote on Wednesday, October 09, 2013:

That did help! I was able to use that sample Libero project, generate a programming file, and get FreeRTOS running correctly.