Hi, everyone. I need some help from you, guys. I have 6416 DSK of SpectrumDigital co., which is connected to my PC (Window XP based) with USB connect (not JTAG XDS510 USB). The 6416 DSK itself supports USB connection. I also have Code Composer Studio v2.2 and MS Visual C++ v6. The prgogram that I wanna make is a PC and DSK communication program. The file (bigger than 1MB) is loaded in PC host and split the data into small-size-blocks and transfered to 6416 DSK client program, and DSP processing would be performed in DSK, then the result should be transfered back to PC host. The PC host program will put together the results and save the whole result file in PC. The PC host program have to be MS Visual C++ based. I'm not sure what they call this procedure/task. RTDX? HPI? Anyway, I have to make a program for the task above. Yes, I also tried the bundle tutorial program in Code Composer Studio. The tutorial examples are installed, and one of the examples is about RTDX host, but the problem is... the RTDX example, "eventprog", has compile error. The errors ask some predefined values... Success Failure ENoDataAvailable EEndOfLogFile I found above values were not defined in the C code example. One thing curious is, Visual Basic version of the code has the values defined. I don't know how to handle this problem. Now, I'd like to make my question sort. 1. The task I explained above can be performed without JTAG? The task can be performed with only default USB connection? 2. What do they call the above function? RTDX? HPI? Host-Target communication? These are all same? 3. I need a host C program that do the task I explained above, which can be compiled with C compiler in PC. Where can I get a simple example code? 4. Or, someone please do debuging the example code of PC host in Code Composer Studio v2.2 for me. (^.^) I tried to explain my questions/asks as clear as I could, and I'm looking forward to your kind help. (^.^) I hope everyone who read my text has a great day today...
Question about PC Host and DSK Communication with 6416 DSK
Started by ●August 19, 2004
Reply by ●August 20, 20042004-08-20
From the Knowledgebase: http://www-k.ext.ti.com/SRVS/CGI-BIN/WEBCGI.EXE/,/?St=214,E=0000000000007049529,K=3897,Sxi=5,Case=obj(35536) "Using Microsoft Visual C++ 6.0, you might get an error when building a RTDX host client that claims that the following RTDX constants are undefined: * Success * Failure * Warning * ENoDataAvailable * EEndOfLogFile This is caused by a bug in the Visual C++ 6.0 compiler, which has been fixed in Service Pack 3 and above. More details about this problem are described in the Microsoft Knowledge Base under article Q217755. The Microsoft Knowledge Base is located at the following URL: http://search.support.microsoft.com/kb/c.asp Link to Q217755 http://support.microsoft.com/support/kb/articles/Q217/7/55.ASP?LN=EN-US Link to Visual Studio Service Pack 3 (required to fix problem) http://msdn.microsoft.com/vstudio/sp/vs6sp3/default.asp " You seemed a little confused on the acronyms so here's a quick guide: RTDX - Real Time Data eXchange (this is what you want) HPI - Host Port Interface (a peripheral on the DSP for reading and writing, this is not the jtag) Good luck with your project! Brad "dann" <sangjin@intizen.com> wrote in message news:c3ff91722b2b0042c6f5fe5d202b6f0f@localhost.talkaboutelectronicequipment.com...> Hi, everyone. > I need some help from you, guys. > > I have 6416 DSK of SpectrumDigital co., which is connected to my PC > (Window XP based) with USB connect (not JTAG XDS510 USB). The 6416 DSK > itself supports USB connection. I also have Code Composer Studio v2.2 and > MS Visual C++ v6. > > The prgogram that I wanna make is a PC and DSK communication program. The > file (bigger than 1MB) is loaded in PC host and split the data into > small-size-blocks and transfered to 6416 DSK client program, and DSP > processing would be performed in DSK, then the result should be transfered > back to PC host. The PC host program will put together the results and > save the whole result file in PC. The PC host program have to be MS Visual > C++ based. > > I'm not sure what they call this procedure/task. RTDX? HPI? Anyway, I have > to make a program for the task above. > > Yes, I also tried the bundle tutorial program in Code Composer Studio. The > tutorial examples are installed, and one of the examples is about RTDX > host, but the problem is... the RTDX example, "eventprog", has compile > error. The errors ask some predefined values... > > Success > Failure > ENoDataAvailable > EEndOfLogFile > > I found above values were not defined in the C code example. One thing > curious is, Visual Basic version of the code has the values defined. I > don't know how to handle this problem. > > Now, I'd like to make my question sort. > > 1. The task I explained above can be performed without JTAG? The task can > be performed with only default USB connection? > 2. What do they call the above function? RTDX? HPI? Host-Target > communication? These are all same? > 3. I need a host C program that do the task I explained above, which can > be compiled with C compiler in PC. Where can I get a simple example code? > 4. Or, someone please do debuging the example code of PC host in Code > Composer Studio v2.2 for me. (^.^) > > > I tried to explain my questions/asks as clear as I could, and I'm looking > forward to your kind help. (^.^) > I hope everyone who read my text has a great day today... > >
Reply by ●August 31, 20042004-08-31