Showing posts from January, 2014

USBAspLoader with Atmega16A-PU Atmega16 Atmega32A-PU Atmega32

Running USBAspLoader atmega8A-16PU with no problem. It was a very victorious moment. Since i am a newbie in micro-controller. Began with a little conversation in the electronic group. That somebody has a problem to get the USBAspLoader run in atmega16. Thanks to him, i encouraged myself to fork the source code at github  and succeeded. Here are the steps to setup everything to work (well i works in my case): 1. Clone or Download the code from the github . 2. The already set the target MCU to atmega16 with xtal 16MHz 3. Plugin your ISP ( i use my cloned arduino as ISP) 4. Modify if necessary to match-up your programmer.     ( i use avrdude and notice i have set the -P /dev/ttyACM0, modfiy       to match yours) 5. Goto the directory above firmware directory.     $ make fuse     $ make flash 6. At the hardware site make sure to arrange the 2 capacitors as described in      the schematic. As you could noticed, the schematic

Linux Eagle 6.5.0 missing and How to

So excited to know the popular Eagle CAD an Electronic Design Automation tool is available in Linux . So got it download from cadsoftusa freeware . I am running Fedora 19 64bit Kernel is 3.11.10-200.fc19.x86_64. The eagle CAD is pre-compiled, so executed with $ ~/eagle-6.5.0/bin/eagle It throw error that not found . I have made sure that OpenSSL is installed. Why it could not found the shared library. $ locate libssl /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib/ /usr/lib64/ /usr/lib64/ /usr/lib64/ /usr/lib64/ Ahah! The solution is simple, just create a new symlink foreach lib and lib64: # cd /usr/lib # ln -s  /usr/lib/ /usr/lib/ # ln -s  /usr/lib/ /usr/lib/ # cd /usr/lib64 # ln -s  /usr/lib/ /usr/lib/ # ln -s  /usr/lib/libcrypto.s

Linux AVR-CDC ttyACM Open and Close by modem-manager

Got stuck with my avr-cdc device detected as ttyACM. Ever since my kernel upgraded to 3.11.10-200.fc19.x86_64 the modem-manager takes place and keep restarting my avr-cdc. I ended up stuck unable to upload any sketch to my arduino. After googling for about an hour to find proper way to disable the modem-manager, no luck. Ok, i will do it my way. Simply rename the modem-manager in /usr/sbin/modem-manager to modem-manager-removed and kill the process. Ahah! It never restart anymore since the kernel could not find the modem-manager application anymore. Playing with my arduino with no problem :D