Binary code does not run.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Binary code does not run.

Jump to solution
754 Views
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?

Labels (1)
0 Kudos
1 Solution
707 Views
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

View solution in original post

0 Kudos
3 Replies
708 Views
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 Kudos
707 Views
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 Kudos
707 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

OK, thanks your sharing. 

BR

Alice

0 Kudos