This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software: TI C/C++ Compiler
Hi. I'm jeongtae kim from south korea.
I used TMS320C5517( EVM5517 board) for FFT test.
In order to use hwafft function, i was coding, testing and i was verified on debug mode.
However, on SPI Flash mode, only FFT Function did not work. (Every function operated normally such as, UART, I2C, PLL, ADC,...)
I checked the boot mode switch and hwafft function code but, it worked normally in debug mode.
What is difference between debug mode and SPI Flash mode in hwafft function?
I attached my CMD file code. Please help me.
/*********************************************************************************************/*
/*** Add the following code to the linker command file to call HWAFFT Routines from ROM ***/
/* HWAFFT Routines ROM Addresses */
_hwafft_br = 0x00fefefc;
_hwafft_8pts = 0x00feff10;
_hwafft_16pts = 0x00feffff;
_hwafft_32pts = 0x00ff0155;
_hwafft_64pts = 0x00ff045e;
_hwafft_128pts = 0x00ff05f3;
_hwafft_256pts = 0x00ff0804;
_hwafft_512pts = 0x00ff0a02;
_hwafft_1024pts = 0x00ff0c7c;
MEMORY
{
MMR: o = 0x000000 l = 0x0000C0 /* 192B Memory Mapped Registers */
DARAM: o = 0x0000C0 l = 0x00FF40 /* 8kB Dual Access RAM 0 */
SARAM: o = 0x010000 l = 0x040000 /* 256kB Single Access RAM 0 */
CS0: o = 0x050000 l = 0x7B0000 /* 8MB CS0 external memory space */
CS2: o = 0x800000 l = 0x400000 /* 4MB CS2 external memory space */
CS3: o = 0xC00000 l = 0x200000 /* 2MB CS3 external memory space */
CS4: o = 0xE00000 l = 0x100000 /* 1MB CS4 external memory space */
CS5: o = 0xF00000 l = 0x0E0000 /* 1MB CS5 external memory space */
ROM: o = 0xFE0000 l = 0x01FF00 /* 128kB ROM (MPNMC=0) or CS5 (MPNMC=1) */
VECS: o = 0xFFFF00 l = 0x000100 /* reset vector */
}
SECTIONS
{
vectors (NOLOAD)
// vectors (NOLOAD) > VECS /* If MPNMC = 1, remove the NOLOAD directive */
.cinit > DARAM
/* Arbitrary assignment of memory segments to .text section. */
/* Can be expanded or reduced observing limitations of SPRAA46 */
.text >> SARAM //SARAM
// .text >> SARAM0|SARAM1|SARAM2|SARAM3|SARAM4|SARAM5
.stack > DARAM
.sysstack > DARAM
.sysmem > DARAM
.data > DARAM
.cio > DARAM
.bss > DARAM
.const > DARAM
.switch > DARAM
data_buf > DARAM //SARAM
data_br_buf > DARAM //SARAM
scratch_buf > DARAM //SARAM
}