Need help updating synth with AVR programmer

For Adafruit customers who seek help with microcontrollers

Moderators: adafruit_support_bill, adafruit

Need help updating synth with AVR programmer

Postby LoGiCa » Thu Jan 06, 2011 1:33 pm

Hey, not sure if I have posted this in the right section.

I am trying to work out how to update this DSP synth I have which is no longer supported by the manufacturer http://www.use-audio.com/plugiator.htm

I managed to get the firmware update package from one of the companies distributors and have been looking over the update procedure which seems quite straight forward.

The problem is that I dont know what type of AVR programmer to get to perform this update (ATMEL AVR Studio 4.12 was installed so I guess any compatible AVR programmer will do?) . Also I can't find where I could source the “Target power adaptor” as described in the pdf below.

I dont think the “Program Enable” adaptor mentioned at the end of the document is needed as there is a jumper shown below on the opposite side of the PCB. I assume its just a case of moving the jumper to the other pins?

Image

The update procedure PDF

Any help with this would really be appreciated.
LoGiCa
 
Posts: 39
Joined: Fri Jul 30, 2010 12:17 pm

Re: Need help updating synth with AVR programmer

Postby LoGiCa » Fri Jan 07, 2011 11:18 am

I guess the Target power adaptor provides more voltage to the IC but is there a programmer that has this built in?
LoGiCa
 
Posts: 39
Joined: Fri Jul 30, 2010 12:17 pm

Re: Need help updating synth with AVR programmer

Postby Stephanie » Fri Jan 07, 2011 12:19 pm

The target power adaptor doesn't provide more voltage, it provides more current. From the looks of it, they are using two USB cables to provide twice the current. USB ports can provide up to 500mA but if the synth draws more than that, it will cause the programmer to fail, or the computer may shut off the usb port if it senses the current draw to be too great.

As for what type of programmer, the Adafruit one http://www.adafruit.com/index.php?main_ ... 8aa4b5c09f would be fine I am sure -- other than the question of current.

You are probably correct about the program enable adaptor, it appears to be just a matter of shorting the jumper in order to enable reprogramming the chip.

You could enquire with support about the programmer and the current considerations. An other way to handle it *might* be to let the synth provide its own power, i.e. plug the synth in and turn it on, so that it isn't drawing its current from the programmer. You'd have to research this possibility further however as it may not be practical, or it might cause other problems. I know with some programmers, there is the option (usually a switch or something) that sets whether or not the Vcc from the programmer is connected to the circuit -- in other words, leave the circuit under its own power and don't try and power it with the programmer.

Cheers
User avatar
Stephanie
 
Posts: 286
Joined: Sat Dec 11, 2010 12:17 am
Location: Canada

Re: Need help updating synth with AVR programmer

Postby LoGiCa » Fri Jan 07, 2011 12:38 pm

Thanks for the reply.

It all seems strightforward except for that USB power adapter. The synth is powered from a 9v 500ma adapter so it might work if I flashed the unit while plugged in.

I think the idea of these adapters was to make the distributors job easier when the units where RMA'd for the update as its a painfully buggy unit without the update.
LoGiCa
 
Posts: 39
Joined: Fri Jul 30, 2010 12:17 pm

Re: Need help updating synth with AVR programmer

Postby Stephanie » Fri Jan 07, 2011 1:54 pm

You just want to ensure that the 9v on the synth does not get into the AVR programmer.

It looks like the Adafruit programmer does have a jumper that isolates the Vcc which is what you want. J3, "USB power to target". You'd want to remove that jumper, then the synth can be powered with it's own supply while the USBtinyISP provides the programming data. This should eliminate the need for that target power adaptor.

Cheers!
User avatar
Stephanie
 
Posts: 286
Joined: Sat Dec 11, 2010 12:17 am
Location: Canada

Re: Need help updating synth with AVR programmer

Postby LoGiCa » Fri Jan 07, 2011 1:55 pm

Awesome!, thanks for sharing the knowledge. I appreciate it.
LoGiCa
 
Posts: 39
Joined: Fri Jul 30, 2010 12:17 pm

Re: Need help updating synth with AVR programmer

Postby LoGiCa » Sat Jan 08, 2011 9:48 am

Do you think this mod to the AVRISP MkII would also work?

AVRISP MkII Mod
LoGiCa
 
Posts: 39
Joined: Fri Jul 30, 2010 12:17 pm

Re: Need help updating synth with AVR programmer

Postby Stephanie » Sat Jan 08, 2011 10:51 am

It should work. Just don't do the mod you linked to, as you don't want to be providing power to the target board in this case.

Cheers!
User avatar
Stephanie
 
Posts: 286
Joined: Sat Dec 11, 2010 12:17 am
Location: Canada

Re: Need help updating synth with AVR programmer

Postby LoGiCa » Sat Jan 08, 2011 11:18 am

Hi, thanks for the reply. Could you explain why the modded AVRISP would be different and why I should not do it this way.

I'm still learning so it would be good to understand the difference.

Thanks!
LoGiCa
 
Posts: 39
Joined: Fri Jul 30, 2010 12:17 pm

Re: Need help updating synth with AVR programmer

Postby Stephanie » Sat Jan 08, 2011 3:10 pm

The mod that is described there is specifically to allow the programmer to power the target board. In the case of your synth, you're going to be powering it through its 9v 500mA supply so you do not want the programmer to also be supplying power - that would risk the 9v on the board burning out the 5v programmer.

With the USBtinyISP there is a jumper that lets you select if you want to power the target board or not power the target board, which is why it is a good choice - in many cases, it's easier and preferable if the programmer can power the circuit while you are programming it.

With your synth however, it appears to require more power than a USB programmer can provide (hence the 'target power adaptor' that was described in the programming pdf). So instead of relying on the USB programmer to power the board, you can probably just power the board with its own power supply, but this means that your USB programmer must not try and power the board (target) at the same time.
User avatar
Stephanie
 
Posts: 286
Joined: Sat Dec 11, 2010 12:17 am
Location: Canada

Re: Need help updating synth with AVR programmer

Postby winch » Sat Jan 08, 2011 4:33 pm

The programmer in the pdf probably is an AVRISP which thanks to the link to the mod we know does *not* supply power to the board being programmed.
That's why they use the target power adapter to splice in 5v from a usb port.

A modified AVR ISP or another programmer like the usbtinyisp that supplies 5v to the board should work fine.
winch
 
Posts: 8
Joined: Sat Aug 02, 2008 1:03 pm

Re: Need help updating synth with AVR programmer

Postby LoGiCa » Sat Jan 08, 2011 4:55 pm

winch wrote:The programmer in the pdf probably is an AVRISP which thanks to the link to the mod we know does *not* supply power to the board being programmed.
That's why they use the target power adapter to splice in 5v from a usb port.

A modified AVR ISP or another programmer like the usbtinyisp that supplies 5v to the board should work fine.


I was hoping that was the case. I will give the mod a go and report back. Thanks for the info guys.
LoGiCa
 
Posts: 39
Joined: Fri Jul 30, 2010 12:17 pm

Re: Need help updating synth with AVR programmer

Postby LoGiCa » Mon Jan 10, 2011 4:58 pm

Does anyone have any recommendations for a pre-built AVR programmer (not a kit like the USBtinyISP) that can supply 5v power to the target board?
LoGiCa
 
Posts: 39
Joined: Fri Jul 30, 2010 12:17 pm

Re: Need help updating synth with AVR programmer

Postby Stephanie » Mon Jan 10, 2011 6:36 pm

LoGiCa wrote:Does anyone have any recommendations for a pre-built AVR programmer (not a kit like the USBtinyISP) that can supply 5v power to the target board?


I like the Sparkfun AVR Pocket programmer. It's cheap, comes with everything you need, and it is based on & fully compatible with the USBtinyISP. It's not a kit, comes fully assembled, and has a switch so you can power the target or not.
http://www.sparkfun.com/products/9825
User avatar
Stephanie
 
Posts: 286
Joined: Sat Dec 11, 2010 12:17 am
Location: Canada

Re: Need help updating synth with AVR programmer

Postby LoGiCa » Tue Jan 11, 2011 11:43 pm

I got a reply back from the manufacturer of the synth, but not answering any of the questions I was asking. But they did send the picture below which helps alot.

Also there are 2 updates involved I am told. 1 which updates the top panel interface which is pictured below and the other which you plug the programmer into the main board of the synth and power the traget board with the units own 9v power adapter.

I just need to find a programmer with +3.3v now...

I was also right about the program enable adapter, it does just bridge the pins the same way the jumper does on the other side of the board.

Image

Stephanie wrote:
LoGiCa wrote:Does anyone have any recommendations for a pre-built AVR programmer (not a kit like the USBtinyISP) that can supply 5v power to the target board?


I like the Sparkfun AVR Pocket programmer. It's cheap, comes with everything you need, and it is based on & fully compatible with the USBtinyISP. It's not a kit, comes fully assembled, and has a switch so you can power the target or not.
http://www.sparkfun.com/products/9825


Thanks for the info. Does this programmer supply +3.3v?
LoGiCa
 
Posts: 39
Joined: Fri Jul 30, 2010 12:17 pm

Next

Return to Microcontrollers

Who is online

Users browsing this forum: No registered users and 2 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [114]

Raspberry Pi[82]
 
FLORA[24]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[12]
Arduino[60]
 
NETduino[14]
 
BeagleBone[23]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[39]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[9]


 
Breakout Boards[35]
LCDs & Displays[49]
Components & Parts[70]
Batteries & Power[54]
EL Wire/Tape/Panel[52]
LEDs[112]
 
Wireless[16]
Cables[66]
 
Lasers[6]
Sensors/Parts[147]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[41]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[25]


 
Stickers[41]
 
Skill badges[55]
 
Books[26]
 
Circuit Playground[7]
 
Gift Certificates[4]