Binary code does not run.

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

Binary code does not run.

ソリューションへジャンプ
1,520件の閲覧回数
alfredolopez
Contributor II

Hi, I have my own LPC824 hardware working fine. I have developed with MCUXpresso 11.0.0 and I have experienced no problems, but when I generate binary to download it with an external bootloader it does not run. I attached debugger to analize the problem and I can see that   USART_TransferCreateHandle() function jumps to HardFault_Handler.

Should the binary be the same as .axf executable? Do I must change any settings at compile-linking time?

ラベル(1)
0 件の賞賛
返信
1 解決策
1,473件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Alfredo Lopez .

What about your external bootloader, does a UART bootloader?

And what about the address about bootloader? What about the start address of your image?

Regards,

Alice

元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,474件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello Alfredo Lopez .

What about your external bootloader, does a UART bootloader?

And what about the address about bootloader? What about the start address of your image?

Regards,

Alice

0 件の賞賛
返信
1,473件の閲覧回数
alfredolopez
Contributor II

This issue is solved. Thank you Alice for your appointment. The external bootloader changed several bytes that made the code unstable. Once directed the external bootloader to not change anything on binary file, the code runs fine.

0 件の賞賛
返信
1,473件の閲覧回数
Alice_Yang
NXP TechSupport
NXP TechSupport

OK, thanks your sharing. 

BR

Alice

0 件の賞賛
返信