Author Topic: P89V664 ISP with USB-ISP Link  (Read 7966 times)

Laurentg

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
    • Email
P89V664 ISP with USB-ISP Link
« on: August 26, 2009, 07:42:51 am »
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

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: P89V664 ISP with USB-ISP Link
« Reply #1 on: August 26, 2009, 09:23:20 am »
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

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
    • Email
Re: P89V664 ISP with USB-ISP Link
« Reply #2 on: September 02, 2009, 11:57:03 pm »
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

  • ESAcademy Staff
  • Sr. Member
  • *****
  • Posts: 2160
    • View Profile
    • Embedded Systems Academy, Inc.
    • Email
Re: P89V664 ISP with USB-ISP Link
« Reply #3 on: September 03, 2009, 10:48:12 am »
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

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
    • Email
Re: P89V664 ISP with USB-ISP Link
« Reply #4 on: September 04, 2009, 01:47:44 am »
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