EmbeddedRelated.com
Forums

Recovery of lpc938

Started by yen0yuki March 13, 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?
	
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

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.
	
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

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
	
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

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

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
>
	
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
	
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