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

problem run PC app

Posted by Nobody/Anonymous on May 9, 2007
In demo PC application,Main.c i have modified with very basic things like crate task and in that task entry function send mess in queue and receive mess , but after some point of time it gives error. this dialog is appear.

------------------------
16 bit MS-DOS Subsystem

C:\FreeRTOS\Demo\PC\rtosdemo.exe
The NTVDM CPU has encountered an illegal instruction.
CS:1044 IP:a72c OP:ff ff 00 00 4d Choose 'close' to terminate the application

close Ignore
---------------------------

RE: problem run PC app

Posted by Richard on May 10, 2007
Which OS are you running the demo under? DOS, Win2K, XP, etc. There may be a problem accessing the parallel port if you are running XP.

Regards.

RE: problem run PC app

Posted by Nobody/Anonymous on May 10, 2007
I am using Win XP, PC demo application is for 16bit DOS and using owotcom compiler.
If i want to run on intel processor & XP OS what i can do? and without ERROR.
Thanks

RE: problem run PC app

Posted by Richard on May 10, 2007
You could either boot a PC into FreeDOS, using a floppy disk (this is what I do), or run it on an Win2K or lower machine - then you should be able to run the whole system.

To run it on XP you will probably have to remove anything that attempts to write directly to the hardware.

Try this:

+ In main.c, commount out the lines:
---vParTestInitialise()
---vStartFlashCoRoutines( mainNUM_FLASH_CO_ROUTINES );
---vStartComTestTasks( mainCOM_TEST_PRIORITY, serCOM1, ser115200 );

The first two write to the parallel port, the last writes to the serial port. If the code executes like this you will get some warnings on the display that the COM test tasks are failing (because the line that creates the tasks has been commented out).

The code will still attempt to write to the hardware timer, which may generate the same error.

Regards.

RE: problem run PC app

Posted by Richard on May 10, 2007
Actually - I just tried running it on an XP machine and it executed without any problems. The error must be being caused by something else. I should ignore my last post.

Regards.

RE: problem run PC app

Posted by Nobody/Anonymous on May 10, 2007
In demo main.c : It is giving error "Com test count unchange! " Beacause of no loopback connector

I modified this main.c
But in my main.c only this things are there ,all i deleted

sQueuecreate
xTaskCreate
TaskstartScheduler

Task entry function
used xQueuesend and xQueuerecive

that's all.

I have given print statement , through i can see queue recive the mess.
give mess for nearly 1 sec,
then it gives error


Compiling successfully.
While running it is giving error: that is in 1st message of mine



RE: problem run PC app

Posted by Nobody/Anonymous on May 11, 2007
Is anybody have answer of this? please let me know. it is very urgent.
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