Reply by Omar Espinosa March 26, 20062006-03-26
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.

Reply by Omar Espinosa March 26, 20062006-03-26
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.
Reply by yen0yuki March 23, 20062006-03-23
--- 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(00).
When baud rate reduced to 7200,It was working. 
It was not sending "reset signal" maybe.
	
Reply by Jan Waclawek March 23, 20062006-03-23
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

Reply by yen0yuki March 23, 20062006-03-23
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?
	
Reply by Jan Waclawek March 20, 20062006-03-20
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

Reply by phb_miller March 19, 20062006-03-19
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
	
Reply by yen0yuki March 16, 20062006-03-16
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
>
	
Reply by Jan Waclawek March 16, 20062006-03-16
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

Reply by Ian bell March 15, 20062006-03-15
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