Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21602 Discussions

help:the format of *.flash(where is the first row in the file,when download it to ep)

Altera_Forum
Honored Contributor II
1,749 Views

hello, 

i am sorry, my english is poor. 

i read the data from epcs in nios program, and compared it with the *.flash in my PC. i found the first row "S01200006D617869756D696E672E666C617368E2" was not in the epcs,because the first row read from epcs by me was the second row of the *.flash. i want to know where is the first row in the *flash, when i download it to epcs. and what's the significance of the first row in the file of *.flash. 

thanks!
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
704 Views

Check your addr

0 Kudos
Altera_Forum
Honored Contributor II
704 Views

The flash file is in the format of Motorla S-Record. 

 

That first row, "S0..." is the block header information.  

 

Look here for more detail of the S-Record format and you can easily distinguish each line in the flash file. 

 

http://en.wikipedia.org/wiki/s-record
0 Kudos
Altera_Forum
Honored Contributor II
704 Views

hi,  

mike21,thanks very much. i'll see it carefully.
0 Kudos
Reply