FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [June 2007 Threads] PC applicationPosted by Chaks on June 14, 2007 I have downloaded FreeRTOS. I have used demo application for PC. It was working fine.
I have modified main.c.
main.c has this much only other than this i have deleted.
portSHORT main( void ) { xTaskCreate( vErrorChecks, "Print", mainPRINT_STACK_SIZE, NULL, mainPRINT_TASK_PRIORITY, &xHandle ); vTaskStartScheduler();
}
static void vErrorChecks( void *pvParameters ) {
for(;;) {
xQueueSend()
xQueueReceive()
/*some printfstatements */ }
}
It compiled fine , while running it stucks after 1 sec nearly & shows error
--------------------
The NTVDM CPU has encountered and illegal instruction. CS:0543 IP:0106 OP:63 74 79 70 65 Choose ‘Close’ to terminate the application. -----------------------
if anyone find solution ,please let me know.
RE: PC applicationPosted by Richard on June 14, 2007 It does not look like you are creating the queue anywhere that you are then attempting to send to and read from. You need to create a queue before it can be accessed.
Regards.
RE: PC applicationPosted by Chaks on June 14, 2007 ohh sorry i forgot to mension it. In main.c i have created queue. this is not problem.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|