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

Cygnal 8051 Demo Help

Posted by Frazer on March 8, 2009
Hi,

Im a student and would like to use FreeRTOS for a project, however i'm having trouble getting the Cygnal 8051 demo to work. The scheduler gets invoked but none of the tasks start.

My setup is as follows:

Vista x64 PC
SDCC 2.8.9.1 (#5379)
Unix-Utils Make 3.78.1
FreeRTOS 5.1.2
SiLabs IDE 3.30
Target: C8051F120-TB

I've taken the following steps to reach this point:

1) Modified the Demo Makefile CFlags by adding "--lib-path c:/sdcc/lib/large".

2) Modified the Demo Makefile by using the first make options instead of the default second.

2) Recompiled all *.c files in C:\SDCC\lib\src with "sdcc *.c --stack-auto --int-long-reent --float-reent -c"
and placed the output in C:\SDCC\lib\large. Please note I have also tried the files supplied on the demo website.

3) Navigate to C:\FreeRTOS\Demo\Cygnal using the unix-utils shell and run make. No errors. (I have also tried this via
Cygwin)

4) Copy 0x13 from main.mem and place in FreeRTOSConfig.h.

5) Remake.

6) Download the file to the target board.

7) Set a break point at vTaskStartScheduler() and each task function. When run it always reaches vTaskStartScheduler(),
but never any task. Status LED is permanently on.

Can anyone please offer advice on what I may be doing wrong?

Thanks,
Frazer

RE: Cygnal 8051 Demo Help

Posted by Frazer on March 15, 2009
Just an update:

I have tried the latest FreeRTOS version 5.2.0. I am having similar problems except now during the creation of the first task execution jumps back to main and gets stuck in a constant loop.

The board shouldn't be reseting as the watchdog is disabled. There is plenty of free stack space.

I suspected maybe the serial ISR was firing off so I removed it from the project, no difference.

Can anyone please confirm this demo works and if so what toolchain (including versions) they are using and also any steps they had to take that deviate from the demo page.

Thanks,
Frazer


[ 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