µTasker Forum

µTasker Forum => NXPTM M522XX, KINETIS and i.MX RT => Topic started by: skyguy on October 18, 2017, 10:56:38 PM

Title: CS-error
Post by: skyguy on October 18, 2017, 10:56:38 PM
Mark,

I'm getting CS-error when I attempt to use the serial loader with a program developed in CodeWarrior 10.6 for the MCF52223.  I've used this compiler and the serial loader for many projects, so this is surprising.  It is a new project though.  What triggers the CS-error, and do you have any ideas about what to check in the compiler/linker?
Title: Re: CS-error
Post by: skyguy on October 19, 2017, 12:54:06 AM
I figured it out.  The default S-record length is 252.  I had changed it to a shorter length of 32 in the other working projects.  Using 32 in the new project took care of the CS-error condition.
Title: Re: CS-error
Post by: mark on October 19, 2017, 02:11:25 AM
Hi

The size of the Rx buffer is defined by

#define RX_QUEUE_SIZE           256

(you may have smaller?)
If this is large enough you should also be able to work with the larger SREC length.

Regards

Mark