- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
My system doesn't use CFI Flash but SPI Flash, so I have to creat my own bootloader to read code from SPI Flash to SDRAM. Now, I have implemented a bootloader code which is located in an onchip memory and it can work fine to read data from SPI Flash to SDRAM. But I have a important question: Before reading data from SPI Flash to SDRAM, I should initialize the SPI Flash with my Main Code, but how can I get Main Code??? As I know, NiosII IDE will create *.elf for you, but this file will contain many more redundant code which is for programming CFI Flash. What I need is only the following sections: .exceptions, .rodata, .rwdata and .text Anyone help? Thanks very much!Link 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