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

.RFB file byte-reverse

Altera_Forum
Honored Contributor II
1,645 Views

Hi all, 

 

I access to epcs controller as mtd under Linux/uClinux. 

To update program file, i use .rbf but i need to do a byte-reverse before writing it to the EPCS16 

someone has a program to do it? 

 

Thanks 

 

0 Kudos
5 Replies
Altera_Forum
Honored Contributor II
950 Views

Hi, 

That's the python script that I use (not written by me). 

The syntax is "MSB2LSB in.rbf out.bin" wher "in" and "out" are the names of the input and output files you desire.
0 Kudos
Altera_Forum
Honored Contributor II
950 Views

great 

I will try it right now :) 

thank you very much
0 Kudos
Altera_Forum
Honored Contributor II
950 Views

what version of python you use?

0 Kudos
Altera_Forum
Honored Contributor II
950 Views

ActiveState Active Python 2.4

0 Kudos
Altera_Forum
Honored Contributor II
950 Views

it works thank you :)

0 Kudos
Reply