Sign in

username:

password:



Not a member?

Search motoroladsp



Search tips

Subscribe to motoroladsp



motoroladsp by Keywords

56303 | 563xx | 5680 | 56805 | 5680x | 56F80 | 56F800DEMO | 56F805 | 56f807 | 56F830 | ADC | Bootloader | Codec | CodeWarrior | CW5 | CW6 | Debugger | DSP56303 | DSP56303EVM | DSP563xx | DSP5680 | DSP56800 | DSP56807 | DSP56858 | DSP56858EVM | DSP56F803 | DSP56F805 | DSP56F807 | DSP56F80x | DSP56F826 | DSP56F827 | DSP56F8xx | EVM | FFT | Flash_over_jtag | GPIO | Interrupt | Interrupts | JTAG | LCD | Linker | MCF5307 | Metrowerks | Modulus | MSCAN | PCMaster | PWM | Quad | Rif | RTOS | SDK | SPI

Discussion Groups

Discussion Groups | Freescale DSPs | Setting up a buffer in assembly

Technical discussions about Freescale (Motorola) DSPs (including the DSP56000, DSP56300, DSP56600, 56800 DSPs).

  

Post a new Thread

Setting up a buffer in assembly - bblaundry - Mar 5 19:32:00 2004



Folks,

I hope this is a quick question. I'm using CW6.0 for a 56826 and
getting the following error when trying to compile the project.

"No active section in set_buf"

I know that the problem revolves around setting up a buffer within a
section.

Here is the code that's making it puke.

;----------------------------------------
; Circular buffer for A/D Input samples
;----------------------------------------
BUFFER M,FRAME_SIZE*2
FRxBuf ds FRAME_SIZE
ds FRAME_SIZE
ENDBUF

;----------------------------------------
; Circular buffer for D/A output samples
;----------------------------------------
BUFFER M,FRAME_SIZE*2
FTxBuf ds FRAME_SIZE
ds FRAME_SIZE
ENDBUF

;----------------------------------------
; Circular buffer for outgoing DTMF digits
;----------------------------------------
BUFFER M,DTMF_BUFFER_SIZE
Fdtmf_tx_buffer ds DTMF_BUFFER_SIZE
ENDBUF
Thanks for any help,

Brad Laundry





(You need to be a member of motoroladsp -- send a blank email to motoroladsp-subscribe@yahoogroups.com )

RE: Setting up a buffer in assembly - Estevam Fabio-R49496 - Mar 5 20:51:00 2004

Brad,

This is how I made in one of my projects:

SECTION mybuffer
ORG X:
GLOBAL FEventBuff
FEventBuff ds 100

ENDSEC

And in the linker.cmd:

#*******************************************************************************
.DataForExtDataRAM :
{

# .bss sections

* (mybuffer.data)
* (mybuffer.bss)

} > .xExtRAM
#*******************************************************************************

Best regards,

Fabio Estevam

-----Original Message-----
From: bblaundry [mailto:]
Sent: sexta-feira, 5 de março de 2004 16:33
To:
Subject: [motoroladsp] Setting up a buffer in assembly Folks,

I hope this is a quick question. I'm using CW6.0 for a 56826 and
getting the following error when trying to compile the project.

"No active section in set_buf"

I know that the problem revolves around setting up a buffer within a
section.

Here is the code that's making it puke.

;----------------------------------------
; Circular buffer for A/D Input samples
;----------------------------------------
BUFFER M,FRAME_SIZE*2
FRxBuf ds FRAME_SIZE
ds FRAME_SIZE
ENDBUF

;----------------------------------------
; Circular buffer for D/A output samples
;----------------------------------------
BUFFER M,FRAME_SIZE*2
FTxBuf ds FRAME_SIZE
ds FRAME_SIZE
ENDBUF

;----------------------------------------
; Circular buffer for outgoing DTMF digits
;----------------------------------------
BUFFER M,DTMF_BUFFER_SIZE
Fdtmf_tx_buffer ds DTMF_BUFFER_SIZE
ENDBUF
Thanks for any help,

Brad Laundry
_____________________________________
/groups.php3

Yahoo! Groups Links




(You need to be a member of motoroladsp -- send a blank email to motoroladsp-subscribe@yahoogroups.com )