Dear Friend, I am working on a LPC932, and am trying to program the device w/ minimal hardware. I don't have any debugging boards EPM900 or whatever. I have tried to mimic the hardware of such a board and enter ISP Bootloader w/ Three pulses to reset method. I plan to do this very soon. In case any of you have already tried it, please let me know. In case you have the schematic of the EPM900 board (compatiable w/ FlashMagic) please let me know. Also, it would be great if you know places where I can get sample board. Your reply will be very helpful in carrying out my low cost academic project as a part of my university degree. Yours Sincerely, Aravindh Krishnamoorthy
Wht don't you get an MCB900 board. You can program the on-chip FLASH using FlashMagic. The MCB900 is only $60.00. Jon
Dear Mr. John, I am an undergraduate student studying in India. If I could afford such a board, I wouldn't have posted the message in the first place.
For what it's worth, Philips has an errata sheet that states that the three pulse method does not work. I have found that to be true. That leaves: 1) Programming the micro to enter the bootloader on receipt of a Break, or 2) Using another method. Since I can't guarantee that a Break will never occur on the RxD pin, I have incorporated the use of an unused pin (e.g. SS) to use as a ReLoad signal. The program watches the ReLoad pin and when it goes low, it jumps to the internal bootloader. This method works very well. The only drawback is that you have to program the code to watch the ReLoad pin and have it work the very first time you download firmware. The chips come from the factory ready for download, you only get one try to do it right. If your code works, reloading is simple.
Perhaps you should consider another 8052... there are many from Atmel and Philips that can be programmed through the 8052 UART with no additional external hardware except a temporary connection between PSEN and GND... and that can be unnecessary if the right software is used. The software to program them (FLIP, FlashMagic) is also free. So your only new cost would be a $10 microcontroller.
Bob: Good input. Thanks for the info even if I did not post the original message. Big Help!. Bradford
The following document may be useful as well: http://www.lpc900.com/pdf/enter_isp.pdf Jon
Dear Bob, As I am trying for the first time, it would be helpful if you can forward me the code that you have tested and found working. It would be a lot of help. Together, please include any tech details (switch to reload pin) etc, and make it as simple as possible so that I can get it. Your help will go a long way in completion of my degree, here in Bangalore, India. Thanx a lot for the info. My e-mail id is aravindh@softhome.net and you can forward there. Thank you very much. Yours Sincerely, Aravindh Krishnamoorthy
It seems you have a method very similar to my NoTouch for the P89C series. Send me a ping at erikm@digrec.com , maybe you have Ideas I have not considered and vice versa. Erik