EmbeddedRelated.com
Forums
Memfault State of IoT Report

Recovery of lpc938

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

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


Memfault State of IoT Report