P89V664 ISP with USB-ISP Link

Started by Laurentg, August 26, 2009, 07:42:51 AM

Previous topic - Next topic

Laurentg

Hi,

I've a P89V664 on a board and I use an USB-ICP-8051-ISP to programm the microcontroller, I saw all the post and I alway's got the message "Unable to connect at the specified baud rate...." I've tried to reduce it but it has no effect, I send a "U" by the terminal and I got the echo on the oscilloscope. If someone has a tips, perhaps there is a pin to connect that I missed, if sommeone have a pict of his ISP schematic...

Thank you!

Laurent

Andy Ayre

Please generate and send us a debug file. Instructions are here:

  http://www.flashmagictool.com/debugfile.html

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

Laurentg

Ok, I use a team fdi dongle as I noticed it in my first message, and my problem was the first pin of the dongle, in the teamfdi documentation, I understoud that the dongle was auto-powered and that the Vcc pin brought the Vcc to the circuit for the ISP, but the first pin of the dongle is an entry and need to be connected to the power supply directly...It was the first time I use this dongle for ISP and perhaps my mistake could help some others...

Now I got an other problem, that is the programmation of the device for a second time, when I try to reprogram the P89V664, it looks like the bootloader don't start, my device got a V4 bootloader, but after one programmation, if I try to reprogramm the device, I found no echo on Tx pin, I try to read the device again but no echo too...

I attached a debug file of a programmed device which I try to read the device signature...

Thanks,

Laurent

Andy Ayre

All I can tell is that the 'U' is not being echoed. Apart from contacting Future Designs for help, you will have to put a scope on the ICP signals and see if they are what is expected.

Andy
Embedded Systems Academy, Inc.
support at esacademy dot com

Laurentg

Ok,

Thanks, I looked at the signals on the ISP pins and the signals are good, the problem is the "U" that is not echoed...I've been told that the programmation with ISP on P89V66x make lost the reset vector, that may explain why I can't read the device anymore, the solution seems to be a parallel programmer, but it wasn't the solution I expected since my mcu is a TQFP...I will receive some PLCC to try the other method. I saw a note that is "no touch" whitch turn the device in ISP mode directly, perhaps it could work...

I have no answer from Future Designs today, so I'll post the solution (if I found one) as soon as possible...

Laurent