# Format Error message serial port ColdFire

**URL:** <https://forums.freertos.org/t/format-error-message-serial-port-coldfire/2680>\
**Category:** Kernel\
**Created:** [December 3, 2009, 5:45pm UTC](https://forums.freertos.org/t/format-error-message-serial-port-coldfire/2680 "2009-12-03T17:45:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [December 3, 2009, 5:45pm UTC](https://forums.freertos.org/t/format-error-message-serial-port-coldfire/2680/1 "2009-12-03T17:45:51Z")

</div>

**[fabianwork](https://sourceforge.net/u/fabianwork/)** wrote on [Thursday, December 03, 2009](https://sourceforge.net/p/freertos/discussion/382005/thread/78f0c35a/#7fed):

Hello,

I’ve an error message on a serial port. I’m working with FreeRTOS v6.0.1 and a ColdFire MCF5213.

Everything work fine but when I add an “if” before to send message, instead of sending “1 2 3 4 5”, I have “Format Error - PC = 0X0030BE”

Here’s the sending line :

&nbsp;&nbsp;&nbsp; vSerialPutString( xPortRF,trameTEST,5);

and if I had this condition just before :

&nbsp;&nbsp;&nbsp; if (rxchar == (char)\_ID)  
&nbsp;&nbsp;&nbsp;  
the COM port will not work.

Thank you for you help.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [December 3, 2009, 7:28pm UTC](https://forums.freertos.org/t/format-error-message-serial-port-coldfire/2680/2 "2009-12-03T19:28:56Z")

</div>

**[davedoors](https://sourceforge.net/u/davedoors/)** wrote on [Thursday, December 03, 2009](https://sourceforge.net/p/freertos/discussion/382005/thread/78f0c35a/#3687):

I have no idea and don’t think this is FreeRTOS related, but if add an if statement that will only send \_ID to the COM port and nothing else then I would not expect it to work.

You would have to provide a lot more code for somebody to be able to help, like what \_ID actually is, but to be honest I don’t think this is the most appropriate place for the question.
