AnsweredAssumed Answered

SCI.c in firmware for JM60 ver 4.3

Question asked by Laurence Babcock on Feb 18, 2011
Latest reply on Feb 19, 2011 by Laurence Babcock

I hope this is the correct forum for this post...


I was reviewing the file SCI.c for the BDM firmware.  I think that because a preIncrement is used to place a char in the txbuffer : U8 tPtr = txTail+1; then a preIncrement operator should be used to take it off :  ch = txBuffer[++txHead]; not ch = txBuffer[txHead++];  Both txTail and txHead start as 0.