naught
Member level 3
I'm doing a project of remote programming the FPGA, basically I have to write MCS file into flash without using JTAG.
Now I've known that MCS file has its own structure, like head, address, type, checksum, and also contains a ASCII representation of the original bitstream contents(two ASCII characters in MCS file to represent one byte in bitstream rawdata)
I have 2 questions.
1. Do I strip away all these head, address, type , length and checksum information, and ONLY transferring the raw data into FLASH? or Do I have to transfer MCS as a whole without any modification?
2. If I only transfer the raw data, do I have to convert them back into hex form, like taking two ASCII characters as one hex byte, before writing the flash?
I'm not sure whether the following is right or not.
Now I've known that MCS file has its own structure, like head, address, type, checksum, and also contains a ASCII representation of the original bitstream contents(two ASCII characters in MCS file to represent one byte in bitstream rawdata)
I have 2 questions.
1. Do I strip away all these head, address, type , length and checksum information, and ONLY transferring the raw data into FLASH? or Do I have to transfer MCS as a whole without any modification?
2. If I only transfer the raw data, do I have to convert them back into hex form, like taking two ASCII characters as one hex byte, before writing the flash?
I'm not sure whether the following is right or not.