Please be aware of all shipping deadlines before placing your order - we cannot guarantee ANY orders will arrive before Christmas!

Don't throw away those banned USB-Serial just yet!
Moderators: adafruit_support_bill, adafruit

Don't throw away those banned USB-Serial just yet!

by eventhorizon on Mon Dec 24, 2012 1:30 am

I bought this banned based USB to Serial adapter in the past hoping that I would be able to program using my netbook. The thing is, it doesn't work with serial programmers, and it never will. I am using an ATMEGA8, and flashed in a UART Bootloader, then changed the BOOTRST so that it will run the bootloader on power-up. After that, I connected the ATMEGA8's TX/RX pins to the !RX/!TX (*note the "!") pins of the banned adapter. I downloaded and ran a GUI version of FBoot, then powered up my mega8 (yes, in that order, or simply reset the mega8 if it's already turned on after running FBoot.) , and it flashed successfully.

The reason for the !RX/!TX is that the banned is not RS-232. It is actually a USB-to-TTL, and the outputs (and inputs) are inverted. I simply used a 74LS04 to invert the signals. That's it! I can now use my netbook to do some AVR programming without more expensive programmer (or and arduino in some cases).
-----------------------------------------------------------------------------------------------
Out of one hole, and into another.
eventhorizon
 
Posts: 114
Joined: Tue Jan 25, 2011 6:09 pm
Location: Quezon City, Philippines



cron