[Dspforum] --consultant issue and C question
O'Connor, Sean R.
Sean.OConnor at jhuapl.edu
Tue Oct 6 08:30:09 MDT 2009
I tried to use the --consultant last night and couldn't figure out how to read the output of the consultant. Does it generate a file or will an automated window pop up? Nothing seemed to happen when I turned on the --consultant flag in "Build Options". The instructions from the built in help menu is CCS, told me to enable Profiling and look for the consultant tab (which I couldn't find).
Also, I wanted to use the CLPD User Register to access the DIP switches (in place of the built in DSK functions) using, for example, '#define SWITCHES *(unsigned volatile char *)(0x90080000); and then 'anding' the result with a mask, ie 'sw2 = SWITCHES & 0x20;' to uncover DIP switch #2's value. I've used this approach on 8-bit micros, but the CCS compiler didn't like it. Is there another (or a better) way to do this?
Thanks!
-Sean
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://echelonembedded.com/pipermail/dspforum_echelonembedded.com/attachments/20091006/4ced7607/attachment.html>
More information about the Dspforum
mailing list