PC port error's

nobody wrote on Thursday, March 01, 2007:

Hello,

I’m a newbie to FreeRTOS, and I compiled it OK, and used a clean disk with FreeDOS (only to boot, without autoexec/config.sys) and running RTOSDEMO.exe compiled.
I’m using an Compaq Armada E500 to test it, with LED’s in Paralel Port, and pins 2-3 of COM1 connected.
Without any code changes I get this errors:

Maths task 4 failed.
Maths task 3 failed.
Maths task 4 failed.
Maths task 3 failed. (etc)

I change in FreeRTOSConfig.h the settings to:
#define configTICK_RATE_HZ                      ( ( portTickType ) 200 )
#define configUSE_16_BIT_TICKS      0

I can get about 10 OK’s, but then I start messing up, saying:

Maths task 4 failed.
Maths task count unchanged!
Maths task count unchanged! (etc)

Whats wrong?
Thanks,

jS

nobody wrote on Friday, March 02, 2007:

From the docs:  "When using Open Watcom, the NO87 environment variable must be defined".  Have you type

SET NO87=1

before running the exe?

nobody wrote on Friday, March 02, 2007:

Hello,

I’ve didn’t checl that, where is that information?
I’ve done it, and now it seams to be working ok, thanks.

jS