Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




Loading

SmartFusion2 Libero project for Starter Kit?

Posted by jon-sstl on September 26, 2013

Hi,

As the instructions at http://www.freertos.org/SmartFusion2_RTOS.html 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.

Thanks,

Jon


SmartFusion2 Libero project for Starter Kit?

Posted by richardbarry on 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.

Regards.


SmartFusion2 Libero project for Starter Kit?

Posted by jon-sstl on 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.


SmartFusion2 Libero project for Starter Kit?

Posted by dpark36 on October 1, 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...


SmartFusion2 Libero project for Starter Kit?

Posted by edwards3 on October 2, 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.


SmartFusion2 Libero project for Starter Kit?

Posted by dpark36 on October 3, 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.

Thanks.


SmartFusion2 Libero project for Starter Kit?

Posted by richardbarry on October 4, 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 SF2CortexM3Tutorial.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 SmartFusion2CortexM3DF.zip and the other SmartFusion2CortexM3_PF.zip. (the DF version contains the Libero project, and the PF version contains an .stp file).

Hope that helps?

Regards.


SmartFusion2 Libero project for Starter Kit?

Posted by dpark36 on October 9, 2013

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

Thanks.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists