Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- the hierarchy would be: control pc --- serial ---> microcontroller ---memory space---> 1st fpga ---JTAG--->2nd fpga Now I can access to the JTAG pins, but I will not in the future, as the whole system will have to be enclosed. I can now directly update the second FPGA, but it is just while debugging. --- Quote End --- That sounds like a very poor design ... --- Quote Start --- The .flash file looks like this (the beginnin), with the notepad: --- Quote End --- Its a Motorola S-record format file: http://en.wikipedia.org/wiki/srec_%28file_format%29 You need to write (or find) some code to turn this back into (address,data) pairs, so that you can then program your flash. Actually, look at the bottom of the Wikipedia entry; gnu binutils (http://en.wikipedia.org/wiki/gnu_binutils) objdump and objcopy programs can produce and display S-records. However, you have yet to confirm that you know the protocols required to perform the flash programming via JTAG. If the only way to get the the second FPGA is to use its JTAG now while the box is open for debugging, just use the JTAG programmer you have now. You're wasting your time trying to figure out details that you cannot use in the final system. Cheers, Dave