Hello, I've got a DSK6711 board connected through a parallel cable to a Linux PC. I am not using Code Composer Studio. Has anyone got a simple build that shows a valid mechanism to send data from DSK board to PC and vice versa? Or can anyone suggest documentation on how to program a DSP application to send data across parallel interface to a PC. Many Thanks eduard. |
|
DSK6711 - Parallel port programming
Started by ●January 22, 2003
Reply by ●January 23, 20032003-01-23
edolca2000 wrote : > Has anyone got a simple build that shows a valid mechanism to send > data from DSK board to PC and vice versa? Or can anyone suggest It is likely you won't be able to do it. The // interface on the DSK is connected to a on-board JTAG emulator (SMSC34C60 convert the // port interface is something similar to an ISA bus and ACT8990 is the JTAG controller -heart of every JTAG emulator for TI DSP-) The only way to dialog with the DSP from it would be to be able to use emulation mode to read/write into the DSP memory. The problem is how to do this ? This is only documented in the Emulation Porting Kit (EPK) from TI. This package is available for a few thousands of $ and is (from what I have heard) hard to get into... The simpler solution would be to use serial transmission. It requires a simple TTL/RS232 level translator (eg Max232 or more recent chip) plus some tricky McBSP programming. Check for spra633a.pdf and associated spra633a.zip on TI web site Of course, for a few more bucks, you can get the NDK and use network connection. Best regards, Jean-Michel MERCIER -- dsp & imaging - www.ateme.com ATEME - 26 Burospace - 91573 BIEVRES Tel : +33 (0)1 69 35 89 73 (direct) Fax : +33 (0)1 60 19 13 95 |
|
Reply by ●January 23, 20032003-01-23
Jean-Michel MERCIER wrote: >edolca2000 wrote : >>Has anyone got a simple build that shows a valid mechanism to send >>data from DSK board to PC and vice versa? Or can anyone suggest >> >> > >It is likely you won't be able to do it. > >The // interface on the DSK is connected to a on-board >JTAG emulator (SMSC34C60 convert the // port interface >is something similar to an ISA bus and ACT8990 is the >JTAG controller -heart of every JTAG emulator for TI DSP-) > >The only way to dialog with the DSP from it would be >to be able to use emulation mode to read/write into >the DSP memory. The HPI bus is also connected to the "simulated" ISA bus and there are stuff out there: http://c6x-tools.sourceforge.net/ http://mirriwinni.cs.jcu.edu.au/~phillip/dsp/ /Regards, P Ligander >The problem is how to do this ? >This is only documented in the Emulation Porting Kit (EPK) >from TI. This package is available for a few thousands of $ >and is (from what I have heard) hard to get into... >The simpler solution would be to use serial transmission. >It requires a simple TTL/RS232 level translator (eg Max232 or more >recent chip) plus some tricky McBSP programming. >Check for spra633a.pdf and associated spra633a.zip on TI web site >Of course, for a few more bucks, you can get the NDK and use >network connection. > >Best regards, > Jean-Michel MERCIER > >-- >dsp & imaging - www.ateme.com >ATEME - 26 Burospace - 91573 BIEVRES >Tel : +33 (0)1 69 35 89 73 (direct) >Fax : +33 (0)1 60 19 13 95 >_____________________________________ >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/ > > |
Reply by ●January 23, 20032003-01-23
P Ligander- <plug> Another option: DirectDSP software communicates directly with DSK C6711 HPI from Visual Studio (C/C++, Visual Basic), MATLAB, and LabVIEW. It does not use the CCS DLLs to do so, as they contain a few bugs. More info: http://www.signalogic.com/univt6x.htm </plug> Jeff Brower DSP sw/hw engineer Signalogic > Jean-Michel MERCIER wrote: > > >edolca2000 wrote : > > > > > >>Has anyone got a simple build that shows a valid mechanism to send > >>data from DSK board to PC and vice versa? Or can anyone suggest > >> > >> > > > >It is likely you won't be able to do it. > > > >The // interface on the DSK is connected to a on-board > >JTAG emulator (SMSC34C60 convert the // port interface > >is something similar to an ISA bus and ACT8990 is the > >JTAG controller -heart of every JTAG emulator for TI DSP-) > > > >The only way to dialog with the DSP from it would be > >to be able to use emulation mode to read/write into > >the DSP memory. > > > > > The HPI bus is also connected to the "simulated" ISA bus and there are > stuff out there: > > http://c6x-tools.sourceforge.net/ > http://mirriwinni.cs.jcu.edu.au/~phillip/dsp/ > > /Regards, P Ligander > > >The problem is how to do this ? > >This is only documented in the Emulation Porting Kit (EPK) > >from TI. This package is available for a few thousands of $ > >and is (from what I have heard) hard to get into... > > > > > >The simpler solution would be to use serial transmission. > >It requires a simple TTL/RS232 level translator (eg Max232 or more > >recent chip) plus some tricky McBSP programming. > >Check for spra633a.pdf and associated spra633a.zip on TI web site > > > > > >Of course, for a few more bucks, you can get the NDK and use > >network connection. > > > >Best regards, > > > > > > Jean-Michel MERCIER > > > >-- > >dsp & imaging - www.ateme.com > >ATEME - 26 Burospace - 91573 BIEVRES > >Tel : +33 (0)1 69 35 89 73 (direct) > >Fax : +33 (0)1 60 19 13 95 |
Reply by ●February 5, 20032003-02-05
Hello, Thank you very for your replies. Here is what I ended up doing: I was after an easy way to have the DSP in a forever loop waiting for commands, which are sent across a parallel cable from a PC. This way I can drive the DSP from a PC application. Typical commands would be: o dsp_go (routine_under_test) -> execute 'routine_under_test' and return to the forever loop o dsp_rd (buffer) -> read data from DSP buffer to PC memory o dsp_wr (buffer)-> write data from PC buffer to DSP memory I use this methodology to verify an algorithm running on C6x is bit exact with a reference code running on a PC. If interested attached is a simple build. It has been tested with DSK6711 and a PC under Linux. Best Regards, Eduard. Jean-Michel MERCIER <> wrote: edolca2000 wrote : > Has anyone got a simple build that shows a valid mechanism to send > data from DSK board to PC and vice versa? Or can anyone suggest It is likely you won't be able to do it. The // interface on the DSK is connected to a on-board JTAG emulator (SMSC34C60 convert the // port interface is something similar to an ISA bus and ACT8990 is the JTAG controller -heart of every JTAG emulator for TI DSP-) The only way to dialog with the DSP from it would be to be able to use emulation mode to read/write into the DSP memory. The problem is how to do this ? This is only documented in the Emulation Porting Kit (EPK) from TI. This package is available for a few thousands of $ and is (from what I have heard) hard to get into... The simpler solution would be to use serial transmission. It requires a simple TTL/RS232 level translator (eg Max232 or more recent chip) plus some tricky McBSP programming. Check for spra633a.pdf and associated spra633a.zip on TI web site Of course, for a few more bucks, you can get the NDK and use network connection. Best regards, Jean-Michel MERCIER -- dsp & imaging - www.ateme.com ATEME - 26 Burospace - 91573 BIEVRES Tel : +33 (0)1 69 35 89 73 (direct) Fax : +33 (0)1 60 19 13 95 _____________________________________ 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/ --------------------------------- Type: application/x-gzip-compressed |
Reply by ●February 5, 20032003-02-05
Eduard, Jean-Michel- > It is likely you won't be able to do it. > > The // interface on the DSK is connected to a on-board > JTAG emulator (SMSC34C60 convert the // port interface > is something similar to an ISA bus and ACT8990 is the > JTAG controller -heart of every JTAG emulator for TI DSP-) > > The only way to dialog with the DSP from it would be > to be able to use emulation mode to read/write into > the DSP memory. Absolutely incorrect for DSK C6x11. The parallel port controller (SMSC 34C60) has multiple, software-programmable chip select outputs, one of which is the JTAG controller as you mention, another is the C6x11 HPI. DirectDSP software uses the HPI interface approach to provide real-time, continuous interface from Visual Studio and MATLAB. Works fine -- I know for sure because I worked on the driver. For the newer DSK boards, C5416, C5510, etc. my understanding is that the USB interface connects only to the JTAG controller. One of our engineering students is working on a small HPI interface card that connects to PC parallel port, and gives the same high-speed, real-time performance as possible with previous DSK boards. Like Eduard, we need this for bit-exact comparison between C5xxx algorithms and host simulations. Without it, a) the C5xxx code would be "altered" in some cases from the production version (RTDX + DSP/BIOS), b) we cannot run the algorithm in real-time mode to include the effects of I/O in the test, and/or c) it would take forever to transfer the bulk data amounts that we need. An HPI interface is simple and very low-impact on production C5xxx code, we can leave it in there and provide acceptable built-in test for our customers. Jeff Brower DSP sw/hw engineer Signalogic E Oliver wrote: > > Hello, > > Thank you very for your replies. Here is what I ended up doing: > > I was after an easy way to have the DSP in a forever loop waiting for commands, which are sent across a parallel cable from a PC. This way I can drive the DSP from a PC application. Typical commands would be: > o dsp_go (routine_under_test) -> execute 'routine_under_test' and return to the forever loop > > o dsp_rd (buffer) -> read data from DSP buffer to PC memory > > o dsp_wr (buffer)-> write data from PC buffer to DSP memory > > I use this methodology to verify an algorithm running on C6x is bit exact with a reference code running on a PC. > If interested attached is a simple build. It has been tested with DSK6711 and a PC under Linux. > Best Regards, > > Eduard. > Jean-Michel MERCIER <> wrote: > edolca2000 wrote : > > Has anyone got a simple build that shows a valid mechanism to send > > data from DSK board to PC and vice versa? Or can anyone suggest > > It is likely you won't be able to do it. > > The // interface on the DSK is connected to a on-board > JTAG emulator (SMSC34C60 convert the // port interface > is something similar to an ISA bus and ACT8990 is the > JTAG controller -heart of every JTAG emulator for TI DSP-) > > The only way to dialog with the DSP from it would be > to be able to use emulation mode to read/write into > the DSP memory. > > The problem is how to do this ? > This is only documented in the Emulation Porting Kit (EPK) > from TI. This package is available for a few thousands of $ > and is (from what I have heard) hard to get into... > > The simpler solution would be to use serial transmission. > It requires a simple TTL/RS232 level translator (eg Max232 or more > recent chip) plus some tricky McBSP programming. > Check for spra633a.pdf and associated spra633a.zip on TI web site > > Of course, for a few more bucks, you can get the NDK and use > network connection. > > Best regards, > > Jean-Michel MERCIER > > -- > dsp & imaging - www.ateme.com > ATEME - 26 Burospace - 91573 BIEVRES > Tel : +33 (0)1 69 35 89 73 (direct) > Fax : +33 (0)1 60 19 13 95 |