Other Parts Discussed in Thread: CODECOMPOSER
Tool/software: Code Composer Studio
Hi,
I'm developing a simple PCIe test application on the TMDSEVM6657LS eval board. I need to change the state of the PCIe CLK_MUX_SEL line controlled by the FPGA. The FPGA control register for this signal resides at address 0x50 in FPGA register space. Unfortunately, the versions of fpgaReadConfigurationRegister and fpgaWriteConfigurationRegister in the library Platform_Lib do not support register addresses above 0x3F. Therefore, I have to change the value of FPGA_MAX_ADDR_OFFSET (0x3F) in evmc665x_fpga.h and rebuild the library. This is where I've run into all sorts of trouble. What is the recommended technique for rebuilding this library? I've tried importing the Platform_Lib project into CodeComposer (V7), but that generated a ton of errors regarding missing #define parameters. Next I tried to build the project from the command line w/gmake, but that too was fraught with errors. Any suggestions would be greatly appreciated.
Regards.