Hallo again,
the jerarchy would be:
control pc --- serial --->
microcontroller ---memory space--->
1st fpga ---JTAG--->
2nd fpga --- Quote Start ---
So how are you doing that now? Via JTAG connected to both the first and second FPGAs, or just to the second FPGA?
--- Quote End ---
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.
The .flash file looks like this (the beginnin), with the notepad:
--- Quote Start ---
S0200000496E647573747269616C45746865726E65744D6F64756C2E666C61736844
S32500000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA
S3250000002056EFEFEFEFCFCFCFDFDF9FDFDF8F9F9FBFBF9FBFFFDFBF9FFFDFFFFF9F9F9F9FE3
S32500000040BF9FBFBF9FBF9FDFDF16E8FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF1A
S32500000060FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF9A
S32500000080FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7A
S325000000A0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5A
S325000000C0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF3A
S325000000E0FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF1A
S32500000100FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF9
S32500000120FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFD9
S32500000140FFFFFFFFFFFFFFFFFFFF000000000101010100000000010101010000000000009B
S32500000160000000000000000000000000000000000000000000000000000000000000000079
S32500000180000000000000000000000000000000000000000000000000000000000000000059
S325000001A0000000000000000000000000000000000000000000000000000000000000000039
S325000001C0000000000000000000000000000000000000000000000000000000000000000019
S325000001E00000000000000000000000000000000000000000000000000000000000000000F9
S325000002000000000000000000000000000000000000000000000000000000000000000000D8
S325000002200000000000000000000000000000000000000000000000000000000000000000B8
S32500000240000000000000000000000000000000000000000000000000000000000000000098
S325000002600000000000000000000000000000000000000000000000000000202020200000F8
S32500000280000000000000000000000000000000000000000000000000000000000000000058
S325000002A00000000000000000000000000000000000000000000000000000202020200000B8
S325000002C0000020202020000000000000000020202020000000000000000000000000000018
S325000002E0000020202020202020202020202000000000000000001010101000000000101018
S325000003001010000000000000000000000000000000000000000000000000000000000000B7
S32500000320000020202020202020200000000000000000020202022222222220202020202067
S32500000340202020202020222222222222222222222222222222222222222222222222222263
S325000003602222222222222222222222222222222222222222222222222222020202020202F7
--- Quote End ---
I guess I would receive not good values if I opened it with a binary editor... as it seems that all lines have some kind of coding for the programmer and then data in Hex format... my doubt here, is which of this information do I have to send and how...
Thank you very much!