Sign in

username:

password:



Not a member?

Search LPC900_users



Search tips

Subscribe to LPC900_users



Ads

Discussion Groups

Discussion Groups | LPC900 | Recovery of lpc938

Find help, specifications and source code for the LPC900. The LPC900 challenges Microchip and AVR based on the worlds most popular 8-bit architecture the 80C51. With a 2-clock core the LPC900 series is a high performance, very flexible and low cost 8-bit microcontroller family. Designers using or interested in these devices are encouraged to share their know-how and ask questions.

Recovery of lpc938 - yen0yuki - Mar 13 22:15:00 2006

Dear ALL,

I am using MCB900.

When the program that I made was written, it was not possible to write 
it by ISP twice. 
I think, my program erased ISP code.
So, I want to recover MCU.

What work do you only have to do?
and Why did it happen?
	


(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )


Re: Recovery of lpc938 - Jan Waclawek - Mar 14 6:21:00 2006

Ian bell wrote:
> yen0yuki wrote:
> 
>>Dear ALL,
>>
>>I am using MCB900.
>>
>>When the program that I made was written, it was not possible to write 
>>it by ISP twice. 
>>I think, my program erased ISP code.
>>So, I want to recover MCU.
>>
>>What work do you only have to do?
>>and Why did it happen?
>>
> 
> 
> If you really have erased the ISP code then you have no option but to 
> use a parallel programmer.

ICP won't work?

wek



(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )

Re: Recovery of lpc938 - yen0yuki - Mar 14 21:18:00 2006

Dear Ian,

Thank you for reply. 

> If you really have erased the ISP code then you have no option but to 
> use a parallel programmer.
 
How do I confirm it?
Sample program is'nt 

<<< FYI >>>
I wrote program by "FlashMagic"
[Advanced option]-[security]-{Protect ISP Code}CheckBox = ON
block7 CRC is not 0.
	


(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )

Re: Re: Recovery of lpc938 - Ian bell - Mar 15 7:59:00 2006

yen0yuki wrote:
> Dear Ian,
> 
> Thank you for reply. 
> 
> 
>>If you really have erased the ISP code then you have no option but to 
>>use a parallel programmer.
> 
>  
> How do I confirm it?
> Sample program is'nt 
> 

To be certain yes you need to try to load another program and run it.

Also I had forgotten the 900 sereis has ICP as well as ISP. I am not 
sure what the differences are but it may be worth checking out.

Ian



(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )

Re: Re: Recovery of lpc938 - Jan Waclawek - Mar 15 12:32:00 2006

Ian bell wrote:
> 
> Also I had forgotten the 900 sereis has ICP as well as ISP. I am not 
> sure what the differences are but it may be worth checking out.

ICP is a SPI-based ISP and is not dependent on the presence of the 
bootloader; whereas ISP is UART-based.

wek
	


(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )

Re: Re: Recovery of lpc938 - Ian bell - Mar 15 15:04:00 2006

Jan Waclawek wrote:
> Ian bell wrote:
> 
>>Also I had forgotten the 900 sereis has ICP as well as ISP. I am not 
>>sure what the differences are but it may be worth checking out.
> 
> 
> ICP is a SPI-based ISP and is not dependent on the presence of the 
> bootloader; whereas ISP is UART-based.
> 
> wek
> 

Hi Jan,

So maybe this chap can recover his part using ICP?

Ian



(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )

Re: Re: Recovery of lpc938 - Jan Waclawek - Mar 16 6:03:00 2006

Ian bell wrote:
> So maybe this chap can recover his part using ICP?

Ian,

Yes, ICP is meant to be an equivalent for the SPI-based ISP programming 
as it is known from PICs and AVRs and recently Atmel's 89Sxxx. It should 
work regardless of the user flash status; of course the required pins 
have to be reasonably "free".

JW



(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )

Re: Recovery of lpc938 - yen0yuki - Mar 16 20:42:00 2006

Dear JW,

I have other programmer that is "PDS900" by Acqura.
it has ICP function but I couldn't use.
When it is used, The message is displayed. 
It is such a meaning "Device isn't PHILIPS"  

PDS900 has Parallel Programming function.
It is possible to programming LPC938(NG happend) by using it. 

Can I recover LPC938 by MCB900 or PDS900?
	--- In lpc900_users@lpc9..., Jan Waclawek <wek@...> wrote:
>
> Ian bell wrote:
> > So maybe this chap can recover his part using ICP?
> 
> Ian,
> 
> Yes, ICP is meant to be an equivalent for the SPI-based ISP 
programming 
> as it is known from PICs and AVRs and recently Atmel's 89Sxxx. It 
should 
> work regardless of the user flash status; of course the required pins 
> have to be reasonably "free".
> 
> JW
>
	


(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )

Re: Recovery of lpc938 - phb_miller - Mar 19 19:29:00 2006

Hello there,

> I have other programmer that is "PDS900" by Acqura.
> it has ICP function but I couldn't use.
> When it is used, The message is displayed. 
> It is such a meaning "Device isn't PHILIPS"  

Have you discussed this with the Acqura guys (who I have found very 
helpful)? either by email to their support desk or through their web 
based trouble ticket system? Certainly my PDS900 works well in ICP 
mode.

> PDS900 has Parallel Programming function.
> It is possible to programming LPC938(NG happend) by using it. 
> 
> Can I recover LPC938 by MCB900 or PDS900?

My understanding of the ICP mode is that it performs all the fuctions 
of the parallel mode. Therefore you should be able to restore a 
device to ISP functionality.

The real problem is knowing, and then obtaining, the correct ISP code 
to place back into it.

PM
	


(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )

Re: Re: Recovery of lpc938 - Jan Waclawek - Mar 20 3:56:00 2006

phb_miller wrote:

> The real problem is knowing, and then obtaining, the correct ISP code 
> to place back into it.

Available in source(!) form from the Philips website as code for appnote 
AN10337_1: Adding ISP firmware to an LPC900 software project
Appnote at 
http://www.semiconductors.philips.com/acrobat/applicationnotes/AN10337_1.pdf
zip at
http://www.semiconductors.philips.com/files/markets/microcontrollers/Adding%20ISP%20in%20source%20code.zip

I am not 100% sure it applies for LPC938 so that's something you need to 
find out yourself.

JW



(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )

Re: Recovery of lpc938 - yen0yuki - Mar 23 6:36:00 2006

Dear ALL,

Thank you for your advices.
My problem was as follows.ISP wasn't delete.
It was very easy...

1)My program using external xtal.
   I didn't put external xtal on MCB900.

2)I used a parallel programming to recover.
   But the boot vector of the parallel programming was wrong(=0x1e)

3)I was using the conversion cable from RS232 to USB2.
   It was in a slump.
	So I put external xtal on MCB900.
but While doing ISP operation, using external xtal doing ISP operation 
is fail.
Will anyone understand the cause?
	


(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )

Re: Re: Recovery of lpc938 - Jan Waclawek - Mar 23 6:47:00 2006

yen0yuki wrote:
> 3)I was using the conversion cable from RS232 to USB2. 
>   It was in a slump. 

While I cannot help you with your real problem, can you please be more 
specific on this point?

wek



(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )

Re: Recovery of lpc938 - yen0yuki - Mar 23 21:10:00 2006

--- In lpc900_users@lpc9..., Jan Waclawek <wek@...> wrote:
>
> yen0yuki wrote:
> > 3)I was using the conversion cable from RS232 to USB2. 
> >   It was in a slump. 
> 
> While I cannot help you with your real problem, can you please be 
more 
> specific on this point?
> 
> wek
>

It was not working in high baud rate(=9600).
When baud rate reduced to 7200,It was working. 
It was not sending "reset signal" maybe.
	


(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )

Re: Re: Recovery of lpc938 - Omar Espinosa - Mar 26 11:58:57 2006

Hi
If you programmed the chip using the ISP protocol and if you need to put the values of the ISP registers back, you must use ICP protocol. Moreover, if you programmed the chip via ICP and need to put the values of the ICP registers back, you must use parallel protocol. The latter procedure is so expensive that it is cheeper to put the chip in the basket.
I developed a card that among many other features is able to do the above explained.
see me at:
www.8052.com/users/omarE.html

Good luck!
OmarE
Jan Waclawek wrote:
phb_miller wrote:

> The real problem is knowing, and then obtaining, the correct ISP code
> to place back into it.

Available in source(!) form from the Philips website as code for appnote
AN10337_1: Adding ISP firmware to an LPC900 software project
Appnote at
http://www.semiconductors.philips.com/acrobat/applicationnotes/AN10337_1.pdf
zip at
http://www.semiconductors.philips.com/files/markets/microcontrollers/Adding%20ISP%20in%20source%20code.zip

I am not 100% sure it applies for LPC938 so that's something you need to
find out yourself.

JW
SPONSORED LINKS
Microcontrollers Microprocessor High performance Source code Intel microprocessors Pic microcontrollers

---------------------------------
YAHOO! GROUPS LINKS

---------------------------------

---------------------------------
Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice.


(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )

Re: Re: Recovery of lpc938 - Omar Espinosa - Mar 26 13:58:00 2006

Hi 
If you programmed the chip using the ISP protocol and if you need to put the values of the ISP registers back, you must use ICP protocol.  Moreover, if you programmed the chip via ICP and need to put the values of the ICP registers back, you must use parallel protocol.  The latter procedure is so expensive that it is cheeper to put the chip in the basket.
I developed a card that among many other features is able to do the above explained.
see me at:
www.8052.com/users/omarE.html
 
Good luck!
OmarE
Jan Waclawek <w...@evona.sk> wrote:
phb_miller wrote:

> The real problem is knowing, and then obtaining, the correct ISP code
> to place back into it.

Available in source(!) form from the Philips website as code for appnote
AN10337_1: Adding ISP firmware to an LPC900 software project
Appnote at
http://www.semiconductors.philips.com/acrobat/applicationnotes/AN10337_1.pdf
zip at
http://www.semiconductors.philips.com/files/markets/microcontrollers/Adding%20ISP%20in%20source%20code.zip

I am not 100% sure it applies for LPC938 so that's something you need to
find out yourself.

JW


Blab-away for as little as 1¢/min. Make PC-to-Phone Calls using Yahoo! Messenger with Voice.



(You need to be a member of LPC900_users -- send a blank email to LPC900_users-subscribe@yahoogroups.com )