Hi, Got where was the problem
the SPIpins (miso/mosi) are NOT used as the ICP pins (all other AVR's do). The pins to use are PDI and PDO. (see datasheet 25.7.1) Fell in a trap ....This has cost me a few days to find out! AT90CAN works with :-- 1> USBASP & AVRDUDE 2> Also works with PonyPROG parallel port programmer. Thanks for supporting. Regards, John On Fri, Sep 7, 2012 at 11:40 AM, John cliffer <[email protected]> wrote: > I am not getting where is the problem ? Same problem faced by someone. > Is problem with USBasp ? > > http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=86832 > > > > On Fri, Sep 7, 2012 at 7:33 AM, John cliffer <[email protected]> wrote: > >> Thaks a lot for replying. >> >> >> I've just looked, I do have an AT90CAN128 around in my box which I >> could probably fit into an STK501. So all I need to get is some kind >> of USBasp to check this myself. >> >> Please check at your end, it will be great favor for me. >> >> >> >> Did you make sure you're using the most recent USBasp firmware >> version? >> >> yes i updated it yesterday to the latest firmware. >> >> >> Kind Regards, >> >> John >> >> >> On Fri, Sep 7, 2012 at 2:01 AM, Joerg Wunsch <[email protected]> wrote: >> >>> As John cliffer wrote: >>> >>> > I soldered at 300 degree celcius. >>> >>> I don't think you've got a hardware problem. >>> >>> Normal lead-free soldering happens at 350 °C. >>> >>> > What should be the length of track between ISP connector on PCB & >>> > microcontroller. >>> >>> Depends on the cable, but about 20 cm is usually fine. >>> >>> > Should power supply circuit be kept away from ISP tracks ? >>> >>> Power supply works like shielding, so it's no problem. >>> >>> I've just looked, I do have an AT90CAN128 around in my box which I >>> could probably fit into an STK501. So all I need to get is some kind >>> of USBasp to check this myself. >>> >>> Did you make sure you're using the most recent USBasp firmware >>> version? >>> >>> -- >>> cheers, J"org .-.-. --... ...-- -.. . DL8DTL >>> >>> http://www.sax.de/~joerg/ NIC: JW11-RIPE >>> Never trust an operating system you don't have sources for. ;-) >>> >>> _______________________________________________ >>> avrdude-dev mailing list >>> [email protected] >>> https://lists.nongnu.org/mailman/listinfo/avrdude-dev >>> >> >> > _______________________________________________ avrdude-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/avrdude-dev
