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

PFL endian format?

Altera_Forum
Honored Contributor II
1,311 Views

Hi,  

What data format does the PFL expect from FLASH, Big or Little endian? 

 

Thanks, 

Nick
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
591 Views

Discovered that NIOS is little-endian so I converted my code to match and now the PFL reads the code from FLASH correctly. 

 

My system is a little unique, I have a Coldfire CPU (Big-endian) running RTEMS which acts like a master on the Avalon bus. I have a CFI (common flash interface) SPOC component which I can interface to for remote FPGA updates. The Coldfire has control of the AC power outlet to allow power-cycling the development kit to upload the new code. This setup uses the Stratix II GX PCIe development kit, and soon will be upgrade to the Stratix IV GX kit. Hopefully this will work on the S4GX kit as well. NIOS is not used but I use the SPOC system heavily. 

 

Thought this might be of some interest. 

Nick
0 Kudos
Reply