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 |
|
Setting up a buffer in assembly
Started by ●March 5, 2004
Reply by ●March 5, 20042004-03-05
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 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 _____________________________________ 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: To Post: To Leave: Archives: http://www.yahoogroups.com/group/motoroladsp More Groups: http://www.dsprelated.com/groups.php3 Yahoo! Groups Links |