Hi,
I am trying to use the AAC Encoder example as a template and add DMA Pingpong buffer to transfer I2S data on EVMC5515.
downloads.ti.com/.../MPEG4AAC_LC_Encoder_C55x_Datasheet_1_00_00_03.pdf
I was able to get both projects working with code generation tool 4.4.1, but no luck when combining them.
Repeatedly tried allocating .data and .bss section to DARAM or SARAM but neither worked.
I strongly suspect the linker cmd file cause the problem. Here's linker file I am using.
Where should I change? How should I allocate the memory?
--------------------------------------------------------------------------------------------------------------------------
-w
-c /* Use C linking conventions: auto-init vars at runtime */
/*-u _Reset /* Force load of reset interrupt handler */
MEMORY
{
PAGE 0: /* ---- Unified Program/Data Address Space ---- */
DARAM : origin = 0x000100, length = 0xFF00
SARAM : origin = 0x010000, length = 0x18000
EXTERNAL : origin = 0x0028000, length = 0x0100000
}
SECTIONS
{
vectors(NOLOAD)
vector : > DARAM ALIGN = 256
.text : > DARAM
stack : > DARAM
.sysstack : > DARAM
.system : > DARAM
.switch : > DARAM
.cinit : > DARAM
.cio : > DARAM
.bss : > SARAM
.data : > SARAM
.const : > EXTERNAL PAGE 0
.aacenc_text: align(4) {
-laar_tni_rev2.l55l(.text)
} > EXTERNAL PAGE 0
.aacenc_const: align(4) {
-laar_tni_rev2.l55l(.const)
} > SARAM PAGE 0
.rts_text: align(4) {
rts55x.lib (.text)
} > EXTERNAL PAGE 0
}
------------------------------------------------------------------------------------------------------------------------
Thanks,
Jun