- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is the problem I am currently experiencing:
I'm using a CYC3 which has : - EP3C16Q240C8N - M25P64 SPI FLASH for AS config device - MSEL[2:0]=010 - QUARTUSII 8.0 in the "qsf" file define : set_location_assignment PIN_24 -to data0_to_the_epcs_controller set_location_assignment PIN_23 -to dclk_from_the_epcs_controller set_location_assignment PIN_14 -to sce_from_the_epcs_controller set_location_assignment PIN_12 -to sdo_from_the_epcs_controller using uclinux(nioswiki) change the config.c to: #define EPCS_SPI_OFFSET 0x400 /* FIXME */ . . . static struct flash_platform_data nios2_spi_flash_data = { .name = "m25p80", .parts = nios2_spi_flash_partitions, .nr_parts = ARRAY_SIZE(nios2_spi_flash_partitions), .type = "m25p64", /* depend on the actual size of spi flash */ }; and the other following the site : http://www.nioswiki.com/mtd when I download to the board: nios2-download -g zImage nios2-terminal the debug window display : m25p80 spi0.0:found m25p80 expected m25p64 Am I missing something ? thanksLink Copied
0 Replies
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page