On Mon, 21 May 2001 09:41:54 +0200, Greg Pallone wrote: > We work with 2 21065L and we want to exchange data between the two > thanks to the IOP Registers of the processors ID 1 and 2 but it doesn't > work. What, exactly, doesn't work? What steps are you taking that fail? > So: > -Have we to declare them in the .ldf file and if so, how? > -Why can't we see these registers (0x100 to 0x300) with VisualDSP? In C code, I'd do something like this: #define IOP_Port_102 (* (unsigned *) 0x102) // reading or writing in code: IOP_Port_102 = 0x1234; return IOP_Port_102; Since the name is a macro, it won't be usable in the debugger. You'll have to refer to the location by address in the debugger. Kenneth Porter Kensington Laboratories, Inc. mailto: http://www.kensingtonlabs.com |