Forum Discussion

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

Read BMPfiles in CF and output it

Hello.

I want to make a small system with nios2 development kit(Stratix2 EP2S60ES).

All that I want to do is,

*Read BMP file in CF (FAT16 format).

*Output the BMP file data to custom logic block in Quaruts2 design.

*The custom logic output the data to PROT2 connector.

I read the forum, and I found several ways

(uCLinux, eCos, Altera Host Based File System, Making own filesystem etc).

But I can't judge which is the easiest way.

Which is the easiest way to make this?

And could you explain the detail of the easiest way ?

(For me, it is the first time to use nios2.

I'm harware engineer. I don't know about software design, well.

So, I want to know every step to make it.)

Thank you.

Best regards.

1 Reply

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

    I'd go with uClinux on this. Download uClinux and work through the tutorial. Then modify the "full-featured" demo design for your board to hook up the CF slot (disconnect the LCD). Then it's just a matter of writing a Linux program to read from CF and write to your peripheral.