DSPRelated.com
Forums

Does anybody have any ideas about how to access the external memory of Blackfin?

Started by ps_zeung January 14, 2004
I attempt to store some data in the external memory such as SDRAM or
flash RAM of Blackfin 533 processor. However, it seems that my
linker description file doesn't work. Look forward to your kind
response.



Hi ,
I ahve an example LDF( memory configuration) below
which works.

Regards,
Madhav

mem_VDK_strt { TYPE(RAM) START(0xFFA00000)
END(0xFFA08019) WIDTH(8) }
mem_code { TYPE(RAM) START(0xFFA08020)
END(0xFFA0FFFF) WIDTH(8) }
mem_program { TYPE(RAM) START(0x00060000)
END(0x000FFFFF) WIDTH(8) }
// The mem_EVT sections should be placed in data
memory
// Changed everything to map to membank B

mem_EVT_all { TYPE(RAM) START(0x00004000)
END(0x00004003) WIDTH(8) }
mem_EVT_NMI { TYPE(RAM) START(0x00004004)
END(0x00004007) WIDTH(8) }
mem_EVT_EVX { TYPE(RAM) START(0x00004008)
END(0x0000400B) WIDTH(8) }
mem_EVT_IRPTEN { TYPE(RAM) START(0x0000400C)
END(0x0000400F) WIDTH(8) }
mem_EVT_IVHW { TYPE(RAM) START(0x00004010)
END(0x00004013) WIDTH(8) }
mem_EVT_IVTMR { TYPE(RAM) START(0x00004014)
END(0x00004017) WIDTH(8) }
mem_EVT_IVG7 { TYPE(RAM) START(0x00004018)
END(0x0000401B) WIDTH(8) }
mem_EVT_IVG8 { TYPE(RAM) START(0x0000401C)
END(0x0000401F) WIDTH(8) }
mem_EVT_IVG9 { TYPE(RAM) START(0x00004020)
END(0x00004023) WIDTH(8) }
mem_EVT_IVG10 { TYPE(RAM) START(0x00004024)
END(0x00004027) WIDTH(8) }
mem_EVT_IVG11 { TYPE(RAM) START(0x00004028)
END(0x0000402B) WIDTH(8) }
mem_EVT_IVG12 { TYPE(RAM) START(0x0000402C)
END(0x0000402F) WIDTH(8) }
mem_EVT_IVG13 { TYPE(RAM) START(0x00004030)
END(0x00004033) WIDTH(8) }
mem_EVT_IVG14 { TYPE(RAM) START(0x00004034)
END(0x00004037) WIDTH(8) }
mem_EVT_IVG15 { TYPE(RAM) START(0x00004038)
END(0x0000403B) WIDTH(8) }

mem_data { TYPE(RAM) START(0x0000403C)
END(0x00006AFF) WIDTH(8) }
mem_pci_io { TYPE(RAM) START(0x00006B00)
END(0x00006FFF) WIDTH(8) }
mem_sysstack { TYPE(RAM) START(0x00007000)
END(0x0005FFFF) WIDTH(8) }
mem_data1 { TYPE(RAM) START(0xFF800000)
END(0xFF807FFF) WIDTH(8) }
//mem_data2 { TYPE(RAM) START(0xFF907000)
END(0xFF907FFF) WIDTH(8) }
mem_l1_scratch { TYPE(RAM) START(0xFFB00000)
END(0xFFB00FFF) WIDTH(8) }
mem_sdram { TYPE(RAM) START(0x00100000)
END(0x002FFFFF) WIDTH(8) }
mem_heap { TYPE(RAM) START(0x00300000)
END(0x003FFFFF) WIDTH(8) } --- ps_zeung <> wrote:
> I attempt to store some data in the external memory
> such as SDRAM or
> flash RAM of Blackfin 533 processor. However, it
> seems that my
> linker description file doesn't work. Look forward
> to your kind
> response. >
> _____________________________________
> 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://groups.yahoo.com/group/adsp
>
> Other Groups: http://www.dsprelated.com/groups.php3


__________________________________