Forum Discussion
Altera_Forum
Honored Contributor
16 years ago --- Quote Start --- I'm pretty confused. I can't get a clear picture of what you're doing from your description. So let's state the facts and you correct me if I'm wrong. 1 - Your CPU reset address is set to 0x37000000. 2 - Your flash memory is based at 0x01000000. (These are the numbers you gave) --- Quote End --- thats correct --- Quote Start --- 3 - You are trying to program your CPU code into the flash starting at address 0x12000000 (completely unrelated to the two addresses you've previously given). --- Quote End --- I add 2.000.000hex(32MB) because altera considered in their tool chain that the employed 512MBIT flash device actually consists of two 256MBIT flash devices in a single chip package. The GUI tools try to regard it as a 512MBIT device and fail to program it correctly. So if I use the normal base address the programmer tells me, that there ist not enough space. Thats just a trick to work arround that bug. This is working(Worked with other programs/FPGA-Designs). --- Quote Start --- 4 - You're telling the elf2flash command that the reset address of the processor is located at 0x13700000 (not related to the two addresses you previously gave). --- Quote End --- This address ist auto generated and should work pretty good. 10M hex+3,7M hex= 137M hex. --- Quote Start --- Can you clarify the addresses you gave? Some of them must be incorrect. Jake --- Quote End --- I just add 2M hex at the base address to trick arround with a bug. This, as I said, worked in many designs.