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
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
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.
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.