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.

RM44L520: Data Abort When using sciSend()

Part Number: RM44L520


Hello all, 

I am currently trying to add serial print statements to some of my tasks but for some reason when I try to add some statements to one task in particular I keep getting Data Aborts. I have pasted the code that seems to be causing the issue below:

sprintf(str1,"(UV) ");
sciSend(scilinREG, 5, (uint8_t *) str1);
sprintf(str1,"UVSelfCheckError/TotalTestComplete: ");
sciSend(scilinREG, 36, (uint8_t *) str1);

The Instruction Fault Address points to strlen's implementation which is strange considering I am not using that function here. I have removed this code and everything works fine so I still think that this is what is causing the issue. I have also tried making this section of the task a critical section to make sure the issue isn't due to context switching and made sure that str1 is only accessible by this one task with no luck. If anyone has any ideas I'm all ears. 

Thanks