LPC54018J4MET, hardfault after bss_init when using XIP

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

LPC54018J4MET, hardfault after bss_init when using XIP

587 Views
ronwal
Contributor III

Hello

I created a new baremetal project based on the SDK_2.14_LPC54018J4M for my custom board. Without own code!

Running the project as "plain load image" is working but when I set it up as "XIP" i´ll face the following hardfault after the bss_init section.

  • <signal handler called>() at 0xfffffff9"
  • HardFault_Handler() at semihost_hardfault.c:53 0x1000193a
  • UFSR INVSTATE

ronwal_0-1699367492604.png

Just for information:

Loading the same project on a LPC54S018 EVK works just fine.

 

Regards

Ron

 

 

0 Kudos
Reply
3 Replies

567 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @ronwal 

How about import a SDK demo with XIP?

 

BR

Alice

0 Kudos
Reply

561 Views
ronwal
Contributor III

@Alice_Yang 

I tried that, but it´ll show the same hardfault!

Tags (1)
0 Kudos
Reply

523 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello @ronwal 

 

Take video show your detail steps.

 

BR

Alice

0 Kudos
Reply