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.

RM57L843: Blink program work but application program not work in Uart bootloader.

Part Number: RM57L843


Hi,

    I am using RM57L843 Microcontroller. In our project UART bootloader is required to program the controller. But only SCI and GIO codes are working, other codes are not working it stuck at some point. Help me to resolve the issue.

uint32 i =0;

uint32 nullSet =103;

gioInit();

adcInit();

hetInit();

canInit();

dmmInit();

mibspiInit();

sciInit();

rtiInit();

emif_ASYNC1Init();

emif_ASYNC2Init();

emif_ASYNC3Init();

enable_interrupt();

rtiEnableNotification(rtiREG1, rtiNOTIFICATION_COMPARE0);

setFeature();

getFeature();

 UART_putString(sciREG3, "\r Test code Running1...... \r\r");

nand_address_init();

UART_putString(sciREG3, "\r Test code Running2...... \r\r");

retrive_bb_data();

UART_putString(sciREG3, "\r Test code Running3...... \r\r");

totalGoodBlock();

UART_putString(sciREG3, "\r Test code Running4...... \r\r");

nandErase(0, 0, 0);

UART_putString(sciREG3, "\r Test code Running5...... \r\r");

nandErase(0, 1, 0);

UART_putString(sciREG3, "\r Test code Running6...... \r\r");
sciEnableNotification(sciREG3, SCI_RX_INT);
UART_putString(sciREG3, "\r Test code Running7...... \r\r");
This is the application code main function.
And below this one is result of application code.

When I comment the "totalGoodBlock()"  function other 4,5,6,7 test code running printed, but sci interrupt won't work. 

Thanks

Veerappan P