Forum Discussion
Altera_Forum
Honored Contributor
21 years agoHow to convert .srec to .rbf for flash progr.?
Hello, how do I convert a Nios1 software file (.srec or .flash) to a .rbf file (raw binary file) that I can use to program directly a flash via that Nios? Thanks for your help, damc
Altera_Forum
Honored Contributor
21 years ago --- Quote Start --- originally posted by kwokwong@Feb 10 2005, 01:00 PM use hal flash api to program.
other threads in this forum discussed about the image fomats (fpga and application).
do a search on key words: boot, epcs_controller and/or flash. --- Quote End --- It's an old Nios1 design, so I have no HAL. But that's also not the problem. Functions (nr_flash_erase_sector, nr_flash_write_buffer, ...) for programming the flash are avilable and working, but I didn't found any convinient file format (or converter) for the software that I could use. For firmware Quartus offers the .rbf (raw binary format) or the .rpd (raw programming data) format, but for software I couldn't find any conversion tool or utility. So at the moment I guess I have to write one by myself ...