Everything work fine except serial ports. I’ve tried to use my serial.c files from FreeRTOS V3.2.3 and my ColdFire connected to a GPS. But instead of reveiving :
$GPRMC,144253.75,A,4853.09651,N,00246.358160,E,0.116,9.96,230309,,,A*7F<r><n>
I receive
$ G r n $ G M r n $ P r n $ R M C r n $ G P r n …
I don’t understand why! I’ve also tried with the serial.c file from FreeRTOS V6.0.2 but it doesn’t work. I’ve run the debugger but it stay blockeb on
signed portBASE_TYPE xSerialGetChar( xComPortHandle pxPort, signed portCHAR *pcRxedChar, portTickType xBlockTime )
{
/* Only one port is supported. */
( void ) pxPort;
/* Get the next character from the buffer. Return false if no characters
are available or arrive before xBlockTime expires. */
if( xQueueReceive( xRxedChars, pcRxedChar, xBlockTime ) )
{
>>>>> return pdTRUE; <<<<<<<<<< BLOCKED HERE
}
else
{
return pdFALSE;
}
}
Does anyone has an idea of what we can do to resolve the problem and work with new versions of FreeRTOS ?
Thank you very much for you help !!