LPC11C14 - boot_jump() , Operand syntax error

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

LPC11C14 - boot_jump() , Operand syntax error

跳至解决方案
1,870 次查看
yansinli
Contributor III

My code :

void boot_jump(uint32_t address)  /* Jump to user app form bootloader */
{
    __ASM("LDR SP, [R0]");      //Load new stack pointer address
    __ASM("LDR PC, [R0, #4]");  //Load new program counter address
}

err log :

Error[Og006]: Error in inline assembly: "Error[401]: Operand syntax error" ,

Device  : NXP LPC11C14FBD48_301

IAR IDE:

IAR Embedded Workbench for ARM 7.40.5.9739

IAR Embedded Workbench common components 7.2.7.3905

标签 (1)
标记 (2)
1 解答
1,662 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi yansin lee,

Thank you for your interest in NXP Semiconductor products and
the opportunity to serve you.
To provide the fastest possible support, I'd highly recommend you to refer to the AN11772: LPC11Cxx CAN secondary bootloader which guide you how to jump to APP appropriately.


Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

在原帖中查看解决方案

2 回复数
1,663 次查看
jeremyzhou
NXP Employee
NXP Employee

Hi yansin lee,

Thank you for your interest in NXP Semiconductor products and
the opportunity to serve you.
To provide the fastest possible support, I'd highly recommend you to refer to the AN11772: LPC11Cxx CAN secondary bootloader which guide you how to jump to APP appropriately.


Have a great day,
TIC

-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

1,662 次查看
yansinli
Contributor III

very help answer~~ fix my question~~ thank you

0 项奖励
回复