LPC11C14 - boot_jump() , Operand syntax error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC11C14 - boot_jump() , Operand syntax error

ソリューションへジャンプ
1,301件の閲覧回数
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,093件の閲覧回数
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,094件の閲覧回数
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,093件の閲覧回数
yansinli
Contributor III

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

0 件の賞賛
返信