Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

xXriderXx7

macrumors 6502a
Original poster
Jul 6, 2007
715
0
Lake Elsinore, California
Hi, I am in the process of trying to reprogram my TV-B-Gone's chip, and have run into a snag.

In terminal, I have installed AVRDude and am attempting to issue the command to reflash the chip, but when I do, I get the message that I need to compile again with libusb installed. How do I do this? Am I missing something?
 
Sorry for bumping, but Ive made some progress. Ive used fink to install libusb, or atleast it confirms that it accomplished this. But when I attempt to flash the chip, it still says it is not installed?
 
Ive read over those forums countless times, and still, I cannot find a comprehensive guide that will help. Everything I find is missing instructions or only a partial explanation :/
 
Try a little harder
In order to use the AVR ISP mkII on MacOS X, you need to install avrdude and libusb. To do so, make sure that you have the Developer Tools (XCode) installed ...

Further information:
read up on what compiling means, in the programming sense. you have the compiled (ready to run) avrdude binary (as oppossed to source code). libusb is a library, which is basically a collection of programming functions that are helpful for a certain task or related group of tasks. you need to recompile avrdude, because simply having libusb installed is no help. the code for avrdude is already set in stone, and since it wasn't compiled with libusb originally it doesn't know how to use usb. the functions from libusb are not present in your avrdude binary
 
http://www.ladyada.net/learn/avr/setup-mac.html
Wow, you didn't look hard at all. Just download the AvrMacPack

First off, Ive looked very hard, and have been to the page you linked to about 10 tens today. I dont understand how to do it, Ive read over all of that, and I am either messing up or missing something. Im asking for help, not links to more guides. Sorry if Im a bit rude, but Im a little mad that Ive spent so much time on this and cant get it to work. Can somebody walk me through it? Or atleast give me a very simplified guide? And I have tried AVRMacpack and have no idea how to use it, anybody willing to help me on that?
 
Well, it would've helped if you specified exactly what was going wrong (error messages, etc.) Usually vagueness is interpreted as laziness, but maybe I'm just an asshole ;)

First of all, do you have xcode installed?
Second, get this latest version of AVRMacPack. Before you install, nuke any version of avrdude that you have.
It installs in /usr/local/AVRMacPack‐DATE, so your install directory should be /usr/local/AVRMacPack-20081213/
It makes a symlink to /usr/local/AVRMacPack regardless of date, so you can just run it like that.
It drops a manual in the Applications folder. Check that out for further instructions on how to use it.

If you run into trouble, please explain what's wrong instead of saying "it doesn't work" or something similar.
 
Okay. Somehow I got it working. I just finished reflashing my chip with more codes! woot!
Sorry for the vagueness, I was a little flustered. Haha. Thank you for your help, I ended up using OSXAVR and do it through some serious terminal commands.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.