- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everybody,
i have a new problem with the read/write into a Flash Memory. I use NiosII with the Cyclone Altera FPGA, the Quartus 5 and i use the Nios II IDE. I compile and dowloading into a board the example called "Memory test", but when the program ask the memry with the line: Enter the name of the CFI flash device to be opened, or just press <enter> to open "/dev/ext_flash") I insert >/dev/cfi_flash_0 and the result is -ERROR: Could not open /dev/cfi_flash_0 because the line fd = alt_flash_open_dev(flashname); are the value '0'. Can you help me, please? Best regards, gohanLink Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
HI,
let try to test change your source code form fd = alt_flash_open_dev(flashname); to fd = alt_flash_open_dev("/dev/cfi_flash_0"); I have seen this one in my design. I think that uart console has some problem with CR, LF Regards
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