Binary code does not run.

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

Binary code does not run.

跳至解决方案
1,511 次查看
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,464 次查看
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,465 次查看
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,464 次查看
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,464 次查看
Alice_Yang
NXP TechSupport
NXP TechSupport

OK, thanks your sharing. 

BR

Alice

0 项奖励
回复