Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

rbf into firmware binary

I am trying to use MicroBlaster to program the contents of an RBF file embedded into firmware to a Cyclone2. I am using Freescale Codewarrior and a MCF52254 mcu.

I can handle the I/O port side of the MicroBlaster customization, but I'm not sure how to handle the file side of things.

Specifically:

a) include the .rbf file in my project for inclusion into the firmware binary

b) perform fopen, fseek, f[etc] functions on this file (or create wrappers that appear to do what these functions do). There is no filesystem, per se, in my firmware.

I have looked at the MicroBlaster for Coldfire example on Altera's microblaster page, but it doesn't even compile for me. I also think it uses a filesystem.

Thanks for any advice or sample projects.

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Without a file system, you can either store the rbf-image in a nonvolatile memory, which is menaingful, if the FPGA configuration is intended for separate update or you can link the binary to the firmware image. You didn't tell your preferences in this regard.