I got QuickStart from freescale:
http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=DSP56800EQUICKSTART&fsrch=1You have to setup CW to recognize it the code correctly. But I used the sample applications to run my code. In my code attached, it works perfectly if I comment out both:
w1c=w1;
write(SCI_0, BUFFERED, w1c, sizeof(w1c)-1);
with them in there, it complains that wlc is not a const char *, while the line
write(SCI_0, BUFFERED, buff, sizeof(buff)-1);
works fine because it is defined as a const char *.
Or if I change
write(SCI_0, BUFFERED, w1c, sizeof(w1c)-1);
to
write(SCI_0, BUFFERED, w1, sizeof(w1)-1);
it also complains because w1 is a Uword16 and not a const char. I am just wondering how I could get the data from w1 into a const char to send it over SCI. Will I have to use pointers and just redefine where a const char of say w1_buff it pointing to and have it point to where w1's data is?
Hopefully this is what you are looking for.
Thanks for the help.
Rob.