Debugging while using IAP commands

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

Debugging while using IAP commands

603 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Mattia Berton on Sun Feb 02 04:14:50 MST 2014
Hello,
I'm using the LPC1114 and I'm trying to write in flash using the AN11008. However, while I'm debugging I can't execute the IAP command. Is is impossible to debug while using IAP commands?
Labels (1)
0 Kudos
6 Replies

523 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by bomba82 on Fri Feb 07 00:21:08 MST 2014
What do you mean with "multiple flash wirtes"? Do you call "u32IAP_CopyRAMToFlash" multiple times? I think that flash writes can only be done respecting the sequence:
1) u32IAP_PrepareSectors
2) u32IAP_EraseSectors
3) u32IAP_CopyRAMToFlash
0 Kudos

523 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Mattia Berton on Thu Feb 06 23:44:38 MST 2014
Can you launch a single Write in flash command?
0 Kudos

523 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by george.thaliath on Thu Feb 06 22:47:43 MST 2014
Hi,
I have been having the same issue, but it in a slighley different sinario.
I have been having the error pop up when I have been trying to do multiple flash writes.
Would you have any clue why this would be happening.
Regards
George
0 Kudos

523 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by bomba82 on Mon Feb 03 06:04:27 MST 2014
You're welcome. I am quite new to this stuff, but I try to be helpful if I can.

Bye!
0 Kudos

523 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Mattia Berton on Mon Feb 03 04:23:00 MST 2014
Hello bomba82,
I just found what was preventing my IAP function to work properly: "static" declaration, in AN11008, were not executed, therefore my IAP* was not correctly pointing to 0x1fff1ff1. Now I solved this problem, but I don't know why the static declaration were not executed... perhaps a problem related to the compiler, I have to investigate.

Thank you for your prompt answer!
0 Kudos

523 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by bomba82 on Mon Feb 03 03:32:17 MST 2014
Hello,
  I am using LPC11C24 and I can debug a program using IAP. I can use IAP functions and I can also verify in the "Memory" tab if my operations on memory are ok.
Can you provide more informations on what's blocking the execution?
0 Kudos