s32ds for power1.1 Compile Error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

s32ds for power1.1 Compile Error

941 次查看
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

标签 (1)
标记 (3)
0 项奖励
回复
1 回复

767 次查看
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 项奖励
回复