Author Topic: LPC932A1 IAP Problems  (Read 2812 times)

demytro

  • Jr. Member
  • **
  • Posts: 1
    • View Profile
LPC932A1 IAP Problems
« on: November 12, 2007, 01:04:42 pm »
I am hoping someone may have some suggestions regarding some LPC932A1 IAP problems I am having.

1) What is the latest IAP Version ID for the LPC932A1? Using Flash Magic it's reported as 2.
Calling PGM_MPT(0xFF03) with ACC = 0x1 returns with R7 = 4; Note: All interrupts are disabled before calling.

2) Calling PGM_MPT(0xFF03) with ACC = 2; R7 = 3; R5 = 1 results in a reset occuring. I don't understand why as the UCFG1 BOE bit = 0
and the PCON BOPD bit = 0. Note: BSB = 0; AWP = 0; CWP = 0; DCCP = 0. What could be causing the reset? All interrupts are disabled before calling. I initially tried this with BOE = 1 and got similar results. Also, I have written to the activation key (0xFF = 0x96) before calling PGM_MPT

I appreciate any suggestions you may have.
« Last Edit: November 12, 2007, 01:15:32 pm by demytro »