Forums

IAP Problem in LPC2138

Started by dine...@hcl.in November 27, 2007
Hi All,

I have a problem in using IAP commands.

When i do a sector 8 erase and write to address 0x00008000 or any sector8 address the microcontroller is getting reseted.

In the write routine it is exactly getting reseted when i call the IAP routine to prepare the sector for write.

The 2 reset sources are watchdog and the signal at P0.14.
While doing the flash erase and write operations iam not applying any Reset signal and the watchdog is disabled.

Has any one faced the same problem?

Please help me in resolving this. Any comments are welcome.

Thanks,
Dinesh.

An Engineer's Guide to the LPC2100 Series

Hi

I think the problem may be related to an address line that is not masked out.hecne in the case that every sector 8 is getting resetted.Just check out the switch settings.

I have not faced this issue and I am also working on LPC2138.
----- Original Message -----
From: dineshkumar g
To: l...
Sent: Tue, 27 Nov 2007 18:22:41 +0530 (IST)
Subject: [lpc2000] IAP Problem in LPC2138

Hi All,

I have a problem in using IAP commands.

When i do a sector 8 erase and write to address 0x00008000 or any sector8 address the microcontroller is getting reseted.

In the write routine it is exactly getting reseted when i call the IAP routine to prepare the sector for write.

The 2 reset sources are watchdog and the signal at P0.14.
While doing the flash erase and write operations iam not applying any Reset signal and the watchdog is disabled.

Has any one faced the same problem?

Please help me in resolving this. Any comments are welcome.

Thanks,
Dinesh.
--
My life has changed. What about yours?
Log on to the new Indiatimes Mail and Live out of the Inbox!
Hi Shilpa,

Sorry, I din't get your point could you please elaborate on that.

Thanks,
Dinesh.

Dinesh Kumar G
Member Technical Staff
HCL Technologies Ltd.
No.184, NSK Road,Vadapalani
Chennai-600 026

-----Original Message-----
From: Shilpa Shilpa [mailto:s...@indiatimes.com]
Sent: Wednesday, November 28, 2007 9:38 AM
To: l...
Cc: Dinesh kumar Godthi
Subject: Re: [lpc2000] IAP Problem in LPC2138

Hi

I think the problem may be related to an address line that is not masked
out.hecne in the case that every sector 8 is getting resetted.Just check
out the switch settings.

I have not faced this issue and I am also working on LPC2138.
----- Original Message -----
From: dineshkumar g
To: l...
Sent: Tue, 27 Nov 2007 18:22:41 +0530 (IST)
Subject: [lpc2000] IAP Problem in LPC2138

Hi All,

I have a problem in using IAP commands.

When i do a sector 8 erase and write to address 0x00008000 or any
sector8 address the microcontroller is getting reseted.

In the write routine it is exactly getting reseted when i call the IAP
routine to prepare the sector for write.

The 2 reset sources are watchdog and the signal at P0.14.
While doing the flash erase and write operations iam not applying any
Reset signal and the watchdog is disabled.

Has any one faced the same problem?

Please help me in resolving this. Any comments are welcome.

Thanks,
Dinesh.
--
My life has changed. What about yours?
Log on to the new Indiatimes Mail and Live out of the Inbox!

DISCLAIMER:
-----------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.

-----------