hello everybody! i am using c6711dsk with ccsv.2. i want to ask how to set the dsk to operate at big endian mode. i had set the build option-> compiler-> advance to big endian. also i had use the library rts6701e.lib instead of rts6701.lib. finally, i use the csl6711e.lib instead of csl6711.lib. i can successto compile the source code, but when i load it into the dsk, the ccs prompt me that the target board not match, can't load to board. i want to ask that what else i need to set in order to operate at big endian mode? thanks!! tim |
|
Big endian configuration
Started by ●April 25, 2002
Reply by ●April 25, 20022002-04-25
Tim, I think I can help you on this one. You should look at the help file for the DSK, because it has some useful information to solve your problem. Method 1 - Hardware In the Hardware section of the help file you can find the DSK schematics. On page 5 it tells you the default operation of the DSK is little endian. So one choice you have is to modify the hardware to run in big endian mode. To do this you need to remove the 1K resistor at R87 and solder it to R86. The drawback is that your DSK will now be a big-endian board by default. Method 2 - Software A second choice you have is a software approach. Once again look at the help file, but this time look in the software section. There is a topic called Win32 DLL, which describes the software API for communication between the PC Host and the DSP Target. If you write a Host program that loads the COFF file (your current program) there is an API call to reset the DSP (dsk6x_reset_dsp). If you look at the arguments for that function it includes an endianess parameter. Using this approach the Host program temporarily configures the Target to run in big endian mode and you don't need to get out the soldering iron. Regards, Tom Dillon |
Reply by ●April 25, 20022002-04-25
There is a pin on the c6711 that decides the endian of the chip. On the DSK
is is hardwired to little endian. You you want to change it you will have to patch the board. /Regards, P Ligander snowtimhk wrote: > hello everybody! > > i am using c6711dsk with ccsv.2. i want to ask how to set the dsk to > operate at big endian mode. i had set the build option-> compiler-> > advance to big endian. also i had use the library rts6701e.lib > instead of rts6701.lib. finally, i use the csl6711e.lib instead of > csl6711.lib. i can successto compile the source code, but when i load > it into the dsk, the ccs prompt me that the target board not match, > can't load to board. i want to ask that what else i need to set in > order to operate at big endian mode? > > thanks!! > tim > > _____________________________________ > Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group. > > _____________________________________ > About this discussion group: > > To Join: Send an email to > > To Post: Send an email to > > To Leave: Send an email to > > Archives: http://www.yahoogroups.com/group/c6x > > Other Groups: http://www.dsprelated.com > ">http://docs.yahoo.com/info/terms/ |