s32ds for power1.1 Compile Error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

s32ds for power1.1 Compile Error

1,007 Views
yankuang1
Contributor III

I compiled the code shown in the attachment, resulting in an error, as shown in the following figure186636_186636.pngpastedImage_1.png

But in that path I can not find the ccduk96Q.s,I would like to know what causes this error.

Original Attachment has been moved to: bootloader.rar

Labels (1)
Tags (3)
0 Kudos
Reply
1 Reply

833 Views
stanish
NXP Employee
NXP Employee

Hi,

This error indicates there is an invalid instruction "nop" in your project. In fact in this VLE project you should use "e_nop" or "se_nop". I made a quick search and I found this "nop" inline asm  instruction in UART_demo.c:

void AppExecute(void)
{
 UINT32 i;
OutStr("\r\nUser Application is going to be executed...\r\n");
//some delay
 for(i=0; i<1000000; i++)
 asm("nop");  // <----replace it with e_nop
/* Reset the device to execute user application. Make sure that state
 of PA[1] pin is logic 0 (SW3 is not pushed on EVB). */
 MC_ME.MCTL.R = 0x00005AF0; //Functional RESET & Key
 MC_ME.MCTL.R = 0x0000A50F; //Functional RESET & Key
}//AppExecute‍‍‍‍‍‍‍‍‍‍‍‍

Please replace it with asm("e_nop"); and rebuild the project again.

Hope it helps!

Stan

0 Kudos
Reply