From: Dennis B. <em...@de...> - 2016-08-09 19:43:31
|
Hello everyone! In our prototype we use two Altera MAX V CPLDs (5M570). When working with Windows I use the Altera tool 'Quartus II programmer' together with an 'USB Blaster' to program both CPLDs via a test connector. Within this software I can also choose to 'examine' the data. Then the programmed content of the CPLD is read back and stored as a .POF file. Now I can easily compare the file with other files. Later, when the housing of our prototype is closed it should be also possible to program both CPLDs without connecting an external programmer. Therefore we have included a FTDI FT2232D which is connected via USB to our onboard processor module (AM335x) running Linux (Yocto) together with OpenOCD. The programming of the CPLDs together with OpenOCD already works (via XSVF). Unfortunately I could not find any command in OpenOCD, to read back the CPLD content to compare it with existing files. It works to use 'Quartus II programmer' to generate a special SVF file with 'Verify' selected as operation. Does anyone know if it is possible to read-back the content or checksum or usercode of the CPLD? Thank you! Best regards, Dennis |