Forum Discussion

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

Using external flash drive

I've designed my system with CFI flash interface. It uses the DE2 on-board flash memory. This is not enough storage for me though. How would I configure my device to use an external flash drive inserted via usb port? All documentation I've read seems to indicate the use of on-board flash.

Thanks.

3 Replies

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

    Okay, I'm using the ISP1362.v from the wiki. In SoPC builder, I get the following warnings which lead to errors when I try to generate the system.

    Warning: ISP1362.avalon_slave_0: Signal "OTG_DATA" has unknown type "export".

    Warning: ISP1362.avalon_slave_0: Signal readdata appears 2 times (only once is allowed)

    Warning: ISP1362.avalon_slave_0: Signal readdatavalid_n appears 10 times (only once is allowed)

    Warning: ISP1362.avalon_slave_0: Signal beginbursttransfer_n appears 2 times (only once is allowed)

    Warning: ISP1362.avalon_slave_0: readdata[2] and writedata[16] must have the same width

    Warning: ISP1362.avalon_slave_0: Slave with beginbursttransfer also needs burstcount for burst transfers

    Warning: ISP1362.avalon_slave_0: Should have waitrequest signal for read burst transfers
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Edit the Interface and Signal column of the Signals tab in the component editor. The OTG signals should be a conduit type with the signal being export.

    irq and irq need different interrupt sender interfaces. Then edit the signal interfaces to associate the proper interfaced to the interrupt. You may need to hit the "Remove interfaces with no signals" button on the interfaces page.