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

FreeRTOS Demo for the ST STM32L152

Posted by mayank15 on March 20, 2014

I downloaded the FreeRTOS v8.0.0 and trying to get the FreeRTOS Demo for the ST STM32L152 to work using IAR Embedded Workbench for ARM version 7.10.1.

The Demo instruction page says it uses IAR v6.10 so is it not compatible with the newer version?

Currently when i run the demo it never goes to the first task and vPortStartFirstTask() hangs i think at the call svc 0.

Also, gives the the following warning when downloading and debugging Skipping flash loading pass because there is no data in the designated range: 0x8080000-0x8080FFF.

This is the original project and i haven't changed anything so i would expect it to work fine.

Any ideas?

Thanks, Mayank


FreeRTOS Demo for the ST STM32L152

Posted by rtel on March 20, 2014

There are two such demos - which one are you trying to use?

I just tried the newer of the two, which is the one documented on this page: http://www.freertos.org/STM32L-discovery-low-power-tickless-RTOS-demo.html

using IAR 7.10.? (don't know the ?). I got a warning for each interrupt handler along the lines of...

Warning[25]: Label 'ResetHandler' is defined pubweak in a section implicitly declared root C:temp800FreeRTOSV8.0.0FreeRTOSDemoCORTEXSTM32L152DiscoveryIARSystemstartupstm32l1xxmd.s 133 Warning[25]: Label 'NMIHandler' is defined pubweak in a section implicitly declared root C:temp800FreeRTOSV8.0.0FreeRTOSDemoCORTEXSTM32L152DiscoveryIARSystemstartupstm32l1xxmd.s 141 Warning[25]: Label 'HardFault_Handler' is defined pubweak in a section implicitly declared root

etc.

...but the code built and is executing as expected.

Regards.


FreeRTOS Demo for the ST STM32L152

Posted by rtel on March 20, 2014

Just tried this one too: http://www.freertos.org/Free-RTOS-for-Cortex-M3-STM32-STM32L152-EVAL.htm

Although I'm running it on the wrong hardware so had to strip out the LCD stuff, it appears to be running ok.

Regards.


FreeRTOS Demo for the ST STM32L152

Posted by mayank15 on March 20, 2014

I was trying the CORTEXSTM32L152IAR on the STM32152-EVAL board and that's the one that was giving me issues.

After reading your post, I tried the CORTEXSTM32L152Discovery_IAR and this one seems to work fine. I was even able to add my own tasks to print something onto the serial port.

So, i am not sure what's up with the other one. I don't have the LCD on the board and i tried to strip all the LCD code but it seems like it's not even going to the first task. It would just hang at vPortStartFirstTask()

For now i will just look at the Discovery example since it's working fine for me and will go on from there.

Thanks for your help, Mayank


[ 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