hi, i want to program FX2LP's Ram in a C++ application.(precisely what Control Center do when click ProgramFX2=>RAM). but the function LoadExternalRam (in C# source of control center) is not available in CYAPI. what i should to Do?
thanks, i tried this code:
QFile file0( "slave.hex" );
QByteArray FPGA_Prog = file0.readAll();
UINT xferBuffer0_size = file0.size();
unsigned char xferBuffer0[file0.size()];
memcpy(&xferBuffer0, FPGA_Prog.data(), file0.size());// convert file's data to unsigned char in xferBuffer0
USBDevice_FX3.DownloadFwToRam(xferBuffer0 , xferBuffer0_size, opCode);
but does not program my FX2LP. please help for this problem.