Hello all, I'm an electrical engineering student, working on my final project, which is: implementing a communication system on the dsk6713. I'm trying to evaluate the actual speed of the communication between the host (pc) and the target card in the following way: the host sends the number 1 to the target, the target recieves the number and increments it by 1, and then sends 2 to the host, which increments it also and sends back 3 and so forth. after a fixed period of time, i check the number that was reached and devide the time by that number. I'm using the Microsoft visual c++ there is only one problem: I CAN'T PROGRAM THE HOST TO COMMUNICATE WITH TARGET THROUGH THE RTDX!!!!! I tried the files provided with the CCS tutorial, but only the .exe files work. when i try to run the source file in debug, or to even compile them, it doesn't work. for example: in the file that sends an array of integers to the target i recieve, among other errors, the following: error C2065: 'Success' : undeclared identifier, when 'Success' is supposed to be a returned value of rtdx->open() (I guess i should include or import a specific .h file or a library). I would appreciate it A L O T (! ! !) if someone could provide me some kind of reffernce code or any kind of technical note about using the rtdx from the host side. thanks in advance, Offir Karni. |
programming the rtdx from the host side
Started by ●May 5, 2004