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] [January 2006 Threads] serial TaskPosted by Nobody/Anonymous on January 23, 2006 am olimex LPC E2124 Board I am using. The Webserver is realy fine working but now i neet a serial port. Because drills for serial port are there i thought it should work. Because i use CrossStudio by Rowley i took LPC2106 GCC example. At main.c i include vAltStartComTestTasks and copied serial folder to my project. i can compile it without any error but after downloading over JTAG The Board didn´t work. so i read i need a loopback connector für this task, so i did but still not working. Does somebody has an idee were i canlook for a solution?
RE: serial TaskPosted by Nobody/Anonymous on January 23, 2006 Does vAltStartComTestTasks() call the serial port initialisation function?
When you say it's not working, can you be more specific. Does everything work other than the serial port test, or does everything stop working?
RE: serial TaskPosted by Nobody/Anonymous on January 24, 2006 vAltStartComTestTasks()starts the serial Port initalisation usinf comtest.c and serial.h.
Nothing is working means ths webserver stops working ( the status LED stops flashing and it is not possible to ping the webserver). Without vAltStartComTestTasks() everything is fine. so the problem should be somewhere there but i don´t know where.
regards
RE: serial TaskPosted by Nobody/Anonymous on January 24, 2006 Check to see if vTaskStartScheduler() returns. If it does then there is not enough heap to create the extra tasks and the scheduler is never starting. Most likley the problem.
RE: serial TaskPosted by Nobody/Anonymous on January 24, 2006 How can i see if vTaskStartScheduler() returns? On CrossStudio ArmSimulator it is working fine but on LC2124 not. A way fnd out if it is working is setting many Breakpoints? but could it be the problem because i think the demoapplication LPC2106 GCC uses the same and some more Tasks an is is ok. (i hope because i cant try)
RE: serial TaskPosted by Nobody/Anonymous on January 24, 2006 Ideally if you have a debug interface just step through the function.
If not then try setting an LED after the call to vTaskStartScheduler. vTaskStartScheduler should not return, so if this is the case the LED will not light. If it does return the code to light the LED will execute and you will be able to see.
Try:
vTaskStartScheduler(); vParTestSetLED( 0 ); for( ;; ); // to make sure it does not reset.
RE: serial TaskPosted by Nobody/Anonymous on January 27, 2006 I made ist but the LED is off so the Scheduler starts. Deas somebody knows what charkters are writen to the Transmit Holding Register? at serial.c "UART0_THR = cOutChar;" but where a charakter is set to cOutChar? Shich carakter is send?
Maybe i will put some Charkters to THR and look on the PC wheather the serial is fine or not.
RE: serial TaskPosted by Richard on January 27, 2006 If you are using the minmal implementation (which hopefully you are) then the characters A to X are transmitted in order repeatedly.
Regards.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|