IAP-Command at even address?

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

IAP-Command at even address?

402 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mbehlau on Wed Aug 19 10:47:10 MST 2015
Hi,

i have written a library for usefully commands, which i use in different projects.

One function is to read the UUID and the ChipID  via a IAP-Command. In my test application where the function is directly included, the function working fine. After i pushed the function to a lib, the function call caused hardfaults in some situations, If i comment some other code/functions call, the function working fine again. I spent a lot of time in debugging and found a systematic. If the variable, which is used in for the IAP-Commands placed at position 0x10000208, the function is working fine, if the variable placed at 0x10000209, the hardfault is caused. It is possible, that the variable which is used in IAP-Commands, must be aligned to 4? I'm using a LPC11U67/LPC11U68 with lpcopen 2_11.

Best regards,

Marcel
Labels (1)
0 Kudos
Reply
2 Replies

391 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by mbehlau on Fri Aug 21 05:04:39 MST 2015
sorry, i don't know what do you mean
0 Kudos
Reply

391 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by wmues on Thu Aug 20 00:41:34 MST 2015
Is this location accessed via 16bit or 32bit access width?
0 Kudos
Reply