IAP-Command at even address?

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

IAP-Command at even address?

430件の閲覧回数
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
ラベル(1)
0 件の賞賛
返信
2 返答(返信)

419件の閲覧回数
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 件の賞賛
返信

419件の閲覧回数
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 件の賞賛
返信