DSPRelated.com
Forums

5402 DSK HPI registers access

Started by Unknown September 4, 2001
Hi:All
I'm using TI's DSK for 'c5402, which provides a DLL named evmdsk54x.dll. But
the CCS help file gives me the propotype of a function as follow:

BOOL evmdsk54x_read_hpi_reg( LPVOID h_hpi_map, C54X_HPI_REG reg, PULONG
value,ULONG dspNum )

while in the head file evmdsk54xdll.h, it is described differently:
BOOL evmdsk54x_read_hpi_reg( LPVOID pBd_, PRegister pReg, ULONG dspNum )

I replace the later defination with the former one, and the complier(VC6.0)
doesn't say errors, but it CANNOT run corroctly, always return FALSE.

Thanks in advance

Yiya ______________________________________

===================================================================
ѵ(http://mail.sina.com.cn)
100İͬʱô? (http://cheese.sina.com.cn)
Ϣ (http://classad.sina.com.cn/)