Flash Magic Forum

Archive => Old Topics => Topic started by: SU on January 14, 2004, 01:55:02 AM

Title: 89c668 ISP
Post by: SU on January 14, 2004, 01:55:02 AM
Hi,

     after two days troubleshooting and not changing any hardware, tonight it finally works. i still don't quite understand why.

     now the new problem is that every time i turn on the power supply for 8051 board and ISP interfacing board (2 max232 on it to hardware generate RST and PSEN), i can download the firmware twice; sometimes even cannot download once. it says " unable to access COM port. Ensure no other applications are using the device. try rising or lowering baud rate".

     however, without changing anything, i then turn off the power and after a while turn no again, i can download the firmware again.

     any suggestion is appreciated.

guodong
thanks

Title: Re: 89c668 ISP
Post by: erik malund on January 14, 2004, 04:32:54 AM
>>max232 to  generate RST ...however, without changing anything, i then turn off the power and after a while turn no again, i can download the firmware again.<<

I have NEVER heard of the MAX232 as a reset generator.  The very symptoms you see should tell you to install a proper supervisor chip.

Erik
Title: Re: 89c668 ISP
Post by: Andy Ayre on January 14, 2004, 06:17:48 AM
Do you have both P2.6 and P2.7 pulled high when resetting the device into ISP mode? Only pulling one of them high can lead to erratic results.