Parallel Programmer
I have made my programmer using this method ( Arduino - ParallelProgrammer ) but I am not sure where to hook it up on my spiffie kit MPGuino. I see 4 sets of 2 jumpers (8 total) near the buttons... where else could it go?
thanks, Shane |
You probably need an isp connector for that programmer (2x6). The spiffie should be programmable with a standard usb cable though, like hooked to most printers/scanners these days.
|
yeah, I had the resetting issue and it won't boot up now. I've tried to upload a new sketch, can't find it. Need to re-boot it.
|
2 Attachment(s)
You can rig up connections to the appropriate isp pins on the cpu with whatever you have handy. Here is a schematic that has the isp mapping:
http://www.arduino.cc/en/uploads/Mai...-schematic.pdf I made an "in circuit" adapter for my ftdi cable out of an extra DIP socket (plus hotglue and careful bending of the tips, reset cap, etc, etc). I just press it on while programming. Maybe rig something like this up if you plan on doing it more than once. http://ecomodder.com/forum/attachmen...1&d=1236055998 http://ecomodder.com/forum/attachmen...1&d=1236055983 |
Sorry for the stupid question, but what pins are what on the ATML chip. I know what numbers to tap into, but the chip itself isn't numbered.
Thanks, Shane |
|
I have everything hooked and i open the code in arduino 0011 Alpha (is this the right program?) It gives me an error;
avrdude: stk500_getsync(): not in sync: resp=0x00 avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51 I have tried to run it with USB powering it and without. |
yah, the parallel guy is flakey in my experience. I wound up loading a bootloader and verifying that it worked by watching for the blinking.
|
Quote:
|
Quote:
|
FYI, here is a site with lots of programming info.
It is probably where I got the "press on programmer" idea from. ELM - AVR programmer http://elm-chan.org/works/avrx/isp_clp.jpeg Note: I just use a usbtinyisp these days. |
FYI, I dug out my parallel port isp programmer just now to see how it does under ubuntu. It hasn't failed once after dozens of attempts. It never worked this good on windows. I'm using 5v power from the usb port to power the target board also.
I just put these commands in a shell script and ran it with sudo (might need tweaking of course), and arduino should have made a hex file already: Code:
export avrdir=/home/dave/progs/arduino-0011/hardware/tools |
Thanks a bunch DC!. The diagrams were very helpful in getting this thing going again. I had a hard time keeping the wires pressed to the chip when trying to re-burn the chip, the extra socket is a must!
It now runs 100% and I hope to ad the data for the 98 ranger to the wiki page in the next week or so! |
Awesome news !!! :)
|
ISP programming question
Very interesting info, lot of it.
However, difficult to follow for me. I am a retired forester, just hobbist experimenter with electronics. Suppose I have a chip (MPGuino chip) already programmed. I need to change units (from english to metric) and some sensor processing calculations. The only language I know is Arduino 011 (kind of C++) . If I use the USB tiny ISP , can I edit the programm of the MPGuino chip and change some lines with the Arduino compiler from the notebook? If not possible, what is the easiest way to proceed? Supose I want to use the USBtinyISP device... Can I bought it from you? Can you program my chip? What solution do you advice me? Thank you in advance for your help. OldBeaver Quote:
|
just another option for isp programming, I've used this from arduino and it works well with avrstudio as well as other programmers, and the kit is $11 shipped!! I got it with the AVRISP-mkII firmware.
Make Your Own MP3 Player |
All times are GMT -4. The time now is 09:29 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Content Relevant URLs by vBSEO 3.5.2
All content copyright EcoModder.com