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.
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
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(=9600). When baud rate reduced to 7200,It was working. It was not sending "reset signal" maybe.
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