IAP error code 5

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

IAP error code 5

1,520件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by cwpjr on Wed Aug 21 15:29:39 MST 2013
I have IAP code on a LPC1114FD/102 board that seems to work, I get CMD_SUCCESS ( 0 ) from the prepare and erase commands. Yet I get this error code after the Copy Ram to Flash Code:
5 DST_ADDR_NOT_MAPPED Destination address is not mapped in the memory
map. Count value is taken in to consideration where
applicable.

Page 7, address 0x7000h is the destination address and the count is 4096. I tried 4095 and 4092 which bombs of course.

As far as I can tell complete copy of the 4k of ram is written correctly.

Any info/solutions?

Thanks, Clyde

0 件の賞賛
返信
4 返答(返信)

1,438件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jdcoburn on Fri Sep 13 20:23:33 MST 2013
I have the same error code and am equally confused as to how to interpret it. was there any resolution to this problem?
thanks,
0 件の賞賛
返信

1,438件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by tha on Fri Aug 23 15:25:20 MST 2013
I could not reproduce the error of "DST_ADDR_NOT_MAPPED".

Can you try running the attached LPCXpresso project and see if the error is produce?  The project just does a simple Erase of Sector 7 and write a fill pattern of 0xAA to it.
0 件の賞賛
返信

1,438件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by cwpjr on Thu Aug 22 11:31:13 MST 2013
Thanks but non of the links discuss the error.

What map is this referring to?

So the DST_ADDR is Flash Page 7 ( 0x7000 ) and length of 4096 of it is not in some sort of map?

Error states "DST_ADDR_NOT_MAPPED Destination address is not mapped in the memory
map"

It is visible and part of the 32k Flash. The 4k ram on the chip is the smallest Flash write size on 1114's.

I write it just fine and run code from it just fine yet I get this error message.

What map is this referring to?
0 件の賞賛
返信

1,438件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by NXP_Paul on Thu Aug 22 05:45:55 MST 2013
You may want to take a look at some of the IAP examples we have available on the LPCware website.
Take a look at the following application notes:
http://www.lpcware.com/content/blog/application-programming-iap-code-example
http://www.lpcware.com/content/nxpfile/an11257-spi-secondary-boot-loader
http://www.lpcware.com/content/nxpfile/an11258-i2c-secondary-boot-loader
http://www.lpcware.com/content/nxpfile/an11387-application-programming-lpc11axx
0 件の賞賛
返信