AnsweredAssumed Answered

Error 'm_Text' overflowed with ---- bytes??

Question asked by Amit Kumar on May 23, 2014
Latest reply on May 25, 2014 by Amit Kumar

Hi

I am using Codewarrior 10.5. while compiling a program in KL05Z32VLF4 I was getting the following error. I didn't get what the issue is and how to overcome this. Kindly help.

mtext.jpg

while evaluating I found out that in the below code when I am commenting "DMAT1_EnableChannel(dmap);" the error is not coming. I think it has something to do with DMA.

 

int main(void)

/*lint -restore Enable MISRA rule (6.3) checking. */

{

/* Write your local variable definition here */


/*** Processor Expert internal initialization. DON'T REMOVE THIS CODE!!! ***/

PE_low_level_init();

serial = AS1_Init(NULL);

dmap = DMAT1_Init(NULL);

UART0_C5_REG(UART0_BASE_PTR) = UART0_C5_RDMAE_MASK;  //enable DMA on uart receiver

 

DMAT1_AllocateChannel(dmap);

DMAT1_EnableChannel(dmap);

 

for(;;){}

}


I am using the following DMA Settings

dma.jpg

 

Kind Regards

Amit Kumar

Outcomes