Author Topic: CS-error  (Read 4002 times)

Offline skyguy

  • Newbie
  • *
  • Posts: 7
    • View Profile
CS-error
« 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?

Offline skyguy

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: CS-error
« Reply #1 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.

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3234
    • View Profile
    • uTasker
Re: CS-error
« Reply #2 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