Altera_Forum
Honored Contributor
12 years agoMCU to program Boot-Prom
Hi All,
as the title said. I want to use a MCU to program the Boot-Prom. I already have USB and SPI working on a MCU, so it would be easy to use this to program the FPGA. For the hardware, the datasheet says it all, it should work just fine. However, for the software part, I am not sure and need your help. 1 )Lets say I have a .hexout file ready to be loaded. I can read the .hexout file as a Hex file: Starting with the begining of the file, I have: :020000040000FA (hexout header for begining of file .. not to be sent) :80000000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF6AD6FF7F000CFB05006AD6FF7F000CFB .... etc :8000800015511115511115511115511... etc :80010000000000000000000000000000000000001AA1111AA... etc If I have a .rbf file, the first two lines are: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 6a d6 ff 7f 00 0c fb 05 00 6a d6 ff 7f 00 0c fb So there is obviously some bytes that are not to be written. If I understand correctly, in hexout format the 8xxxxxxx are not to be send and ALL the bytes of the rbf file need to be sent??? 2) Do I need to re-order the bytes as in the PS Config? Thanks