I want run SDRAM. How I modify Boot.asm, Lnk.cmd & Hex.cmd ? plz help me. MEMORY { BOOT_RAM: o = 00000000h l = 00000800h fill = 0 IRAM: o = 00000800h l = 0000f7ffh fill = 0 CE0: o = 80000000h l = 01000000h CE1BOOT : o = 90000000h l = 00000800h CE1PMEM : o = 90000800h l = 0003F800h } SECTIONS { .boot_load : loadBOOT, run=BOOT_RAM .text : loadPMEM, run .stack : loadPMEM, run=IRAM .bss : loadPMEM, run=IRAM .cinit : loadPMEM, run=IRAM .const : loadPMEM, run=IRAM .data : loadPMEM, run=IRAM .far : loadPMEM, run=IRAM .switch : loadPMEM, run=IRAM .sysmem : loadPMEM, run=IRAM .tables : loadPMEM, run=IRAM .cio : loadPMEM, run=IRAM } |
|
How I modify POST(6711DSK code) for SDRAM?
Started by ●November 29, 2004
Reply by ●November 29, 20042004-11-29
that is highly depending on the way the SDRAM is connected to your DSP on your very private board. Which CE is used? In which adressrange is the usabele part of your SDRAM? What about EMIF? Are the settings correct for the memory you are using? from my point of view you have to: 1.) make a list of your memory map. which memory types are there on your board 2.) Accordingly, you can define Memory-Section names in the MEMORY part of your .cmd file 3.) In the SECTION part of the cmd File, you can then put the different sections of your program to different MEMORY locations 4.) I dont think that a modification in your code will be required to change the location of your code. The definitions in the .cmd will be sufficient from my point of view. I would recommend to have a look at spru186.pdf and spru187.pdf (www.ti.com), there is lots of information about linking, compiling, cmd Files and so on. bye, Thomas > I want run SDRAM. > How I modify Boot.asm, Lnk.cmd & Hex.cmd ? > plz help me. > > MEMORY > { > BOOT_RAM: o = 00000000h l = 00000800h fill = 0 > IRAM: o = 00000800h l = 0000f7ffh fill = 0 > CE0: o = 80000000h l = 01000000h > CE1BOOT : o = 90000000h l = 00000800h > CE1PMEM : o = 90000800h l = 0003F800h > } > > SECTIONS > { > .boot_load : loadBOOT, run=BOOT_RAM > .text : loadPMEM, run > .stack : loadPMEM, run=IRAM > .bss : loadPMEM, run=IRAM > .cinit : loadPMEM, run=IRAM > .const : loadPMEM, run=IRAM > .data : loadPMEM, run=IRAM > .far : loadPMEM, run=IRAM > .switch : loadPMEM, run=IRAM > .sysmem : loadPMEM, run=IRAM > .tables : loadPMEM, run=IRAM > .cio : loadPMEM, run=IRAM > } > _____________________________________ > Note: If you do a simple "reply" with your email client, only the author > of this message will receive your answer. You need to do a "reply all" if > you want your answer to be distributed to the entire group. > > _____________________________________ > About this discussion group: > > To Join: Send an email to > > To Post: Send an email to > > To Leave: Send an email to > > Archives: http://www.yahoogroups.com/group/c6x > > Other Groups: http://www.dsprelated.com > > Yahoo! Groups Links > > -- NEU +++ DSL Komplett von GMX +++ http://www.gmx.net/de/go/dsl GMX DSL-Netzanschluss + Tarif zum supergstigen Komplett-Preis! |