Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - demytro

#1
LPC9xx/LPC9xxx / LPC932A1 IAP Problems
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.