View previous topic :: View next topic |
Author |
Message |
eddy
Joined: 09 Apr 2004 Posts: 67 Location: Near Chicago, IL USA
|
Posted: Fri Aug 21, 2009 4:38 am Post subject: Pololu PGM03A Programmer |
|
|
Pololu has an affordable USB programmer for AVR microcontrollers - http://www.pololu.com/catalog/product/1300
Has anyone tried to get the Pololu PGM03A programmer to work with Bascom using the native STK500 driver? The PBM03A emulates the AVRISPv2 and works fine with AVR Studio and with the STK500.exe driver but it doesn't work with the STK500 native driver. The error message is "Could Not initialize programmer"
I have tried different baud rates but that hasn't made a difference.
I am using version 1.11.9.5
Thanks!!
Eddy _________________ Eddy Wright
Wright Hobbies, LLC
http://www.wrighthobbies.net |
|
Back to top |
|
|
Askjerry
Joined: 06 May 2004 Posts: 20 Location: Austin, Texas
|
Posted: Fri Mar 26, 2010 5:27 pm Post subject: POLOLU PROGRMMER STILL NOT WORKING |
|
|
I have been trying to get the Pololu programmer working since 2007... Mark said that he was going to include a driver for it... but I just downloaded the latest version, took my 3PI robot out of storage, and still I can't do anything with it. I'm using build 1.11.9.8
http://forum.pololu.com/viewtopic.php?f=3&t=1080
My new laptop does NOT have a parallel port... so I CAN'T use the simple programmer anymore. The Pololu USB programmer is one of the most popular around and BASCOM just doesn't seem to support it.
I have tried just about every combination that I can think of.
It looks like I need to either stop using BASCOM and learn C, or find another programmer. It shouldn't be that difficult to do... why can't Mark get a driver for this programmer?
Thanks,
Jerry |
|
Back to top |
|
|
ollopa
Joined: 03 Sep 2007 Posts: 233 Location: California
|
Posted: Fri Mar 26, 2010 6:33 pm Post subject: |
|
|
You don't have to use the BASCOM programmer. I prefer not to, actually. You can choose the stk500.exe driver and then point it to a batch file that calls whatever your favorite programmer is. Is it really that big of a deal if BASCOM doesn't natively support every programmer on the planet? IMHO, Mark should spend his time working on the IDE and compiler and let the programming be handled by the good tools that are already out there. |
|
Back to top |
|
|
eddy
Joined: 09 Apr 2004 Posts: 67 Location: Near Chicago, IL USA
|
Posted: Fri Mar 26, 2010 8:35 pm Post subject: |
|
|
Mark and I worked on this for quite a while and we finally got it working reasonably well in the latest release.
The ISP frequency is problematic. Pololu was a little loose on following the AVRISP protocol - they used their own ISP frequencies. You can either use the utility that comes with the programmer to set the ISP frequency and check the box in Bascom to not set the ISP frequency or try different frequencies until it works.
It does work.
Eddy _________________ Eddy Wright
Wright Hobbies, LLC
http://www.wrighthobbies.net |
|
Back to top |
|
|
Askjerry
Joined: 06 May 2004 Posts: 20 Location: Austin, Texas
|
Posted: Sun Mar 28, 2010 12:22 am Post subject: |
|
|
I finally got it!
1.) I had to reinstall the driver for W2K on this XP machine, the original diver was showing errors.
2.) I went to device manager and set the baud to 115200, 8 bit 1 stop bit, no parity
3.) I downloaded Tera Term and set it up for the same serial settings.
4.) I had to do a firmware upgrade... very tricky... took about 5 tries.
Loaded: pgm02b_firmware_v1.4.pgm
5.) I had to select STK500 NATIVE from within BASCOM
6.) I selected USB .
7.) Told it to identify chip - Worked
8.) Told it to program chip - Locked up.
9.) Told it to WRITE BUFFER - Worked.
Yippie! |
|
Back to top |
|
|
|