#robotics Logs

Dec 02 2012

#robotics Calendar


02:23 Jak_o_Shadows christmas lights status: Mostly put up, slightly broken, not yet self-aware
02:28 rue_mohr heh
09:23 Tom_itx just needed a good cleaning
11:42 m_itx raises rue_bed's shade so the sun shine
11:45 e_bed sees his shaddow and scurries back under the co
15:24 rue_mohr http://www.youtube.com/watch?v=DovunOxlY1k
17:04 Tom_itx too quiet
17:08 DagoRed agreed
17:09 DagoRed Ok... arduino course almost done.... now to figure out how the hell I am to use AVR-C on these boards.
17:29 DagoRed Tom_itx: How do you upload code to an atmel using the bootloader?
17:46 rue_shop3 ok
17:47 rue_shop3 I think the trick is to use acetone (or alcohol) to 'empty' ink from a pen and get an even layer on the board, the plotter has no problems with the scribe
17:47 Tom_itx DagoRed what chip?
17:47 rue_shop3 then I use isolation routing and I'm good
17:47 Tom_itx i gotta run an errand but i'll be back in a while
17:54 DagoRed Tom_itx: 328P
17:54 DagoRed Atmega328P
17:54 DagoRed Tom_itx: I was just wondering in AVR studio how one uploads code using the bootloader.
18:40 Tom_itx DagoRed you wouldn't
18:40 Tom_itx it depends on the bootloader but usually it's a serial interface
18:41 Tom_itx using a bootloader isn't gonna act the same as ISP programming
18:42 DagoRed Tom_itx: You can't just dump a program on a chip through a serial boot loader?
18:43 Tom_itx it depends on how the bootloader is written
18:44 Tom_itx and it would likely need to be compiled to load where the bootloader jumps to on execution
18:44 DagoRed got it
18:45 Tom_itx i had a pic one that had to be loaded in the 3rd byte instead of 0
18:45 Tom_itx because the bootloader used a jmp instruction at the beginning to jump to the bootloader code
18:46 Tom_itx then it would return to the 3rd byte
18:46 DagoRed ahh
18:47 DagoRed wrong button
18:48 DagoRed Tom_itx: Doesn't atmel have a boot loader they recommend that works with AVR studio?
18:48 Tom_itx not that i'm aware of
18:48 DagoRed now I just have a lot of questions.
18:49 Tom_itx climbing the next hill?
18:50 DagoRed as always
18:51 DagoRed http://balau82.wordpress.com/2011/03/29/programming-arduino-uno-in-pure-c/
18:51 DagoRed Tom_itx: I believe the answer I am looking for is either in this link or there is a link to it.
18:51 DagoRed You mentioned a key part, I need to see what I can do with AVR dude to make the boot loader happen.
18:52 DagoRed The reason why I'm asking is that there is a need at my hacker space as I try to convert people from Arduino to full on AVR-C but I want to do so using the bootloaders on the chip. My major professor when I was in gradschool managed to use the boot loaders on the chip so I want to give it a shot myself.
18:54 DagoRed Tom_itx: Thsi might be it. http://www.procyonengineering.com/embedded/avr/bootloader/index.html
18:54 DagoRed "STKLOAD: A STK500-Emulating Bootloader"
18:54 Tom_itx their stuff is ok but likely old
18:54 Tom_itx procyon has a c lib as well
18:55 Tom_itx not sure it's ever been updated
18:56 Tom_itx those bootloaders are compiled for specific chips at specific frequencies too you see
18:56 DagoRed http://rajeshkovvuri.wordpress.com/2011/09/21/arduino022-and-issues-with-sketch-uploading/
18:56 DagoRed Yes... which is ok.
18:57 DagoRed I have the chips, I have the crystals, I just need to get the boot loaders up for people at the pace.
18:57 DagoRed *space
18:58 Tom_itx http://www.avrfreaks.net/index.php?module=Freaks%20Academy&func=viewItem&item_type=project&item_id=625
18:58 Tom_itx login required
18:58 DagoRed I'll create a login.
18:59 DagoRed I have a feeling I will be frequenting there more often.
18:59 Tom_itx i don't know a thing about that one
19:23 DagoRed Tom_itx: got it figured out! Well... I found a link that explains it all. http://hekilledmywire.wordpress.com/2010/12/04/22/
19:47 DagoRed Tom_itx: If you use the avrisp option on avrdude, have the correct com port, and the correct baud rate apparently the boot loader (if done right) will just dump the hex file into memory.
19:48 DagoRed I don't think accounting for boot loader during compile time matters since the boot loader just adds each line of code and then increment the program counter.
21:41 rue_shop3 I need to cut a hole out of the middle of a peice of lexan
21:41 e_shop3 starts looking for the end of the bandsaw blade so he can feed it thru the starter
21:42 Tom_itx hole saw
21:47 KimLaroux rue_bed, how large?
21:48 KimLaroux eh
21:48 KimLaroux rue_shop3,
21:48 KimLaroux I find sharp spade drill bits to do the cleanest holes in Lexan and plexiglass
21:50 eadthem what about forsiner?
21:50 eadthem mmm this is a question i know someone in here will know
21:50 eadthem do most deadbolts use a flat bar about 1/4 by 1/16 inch to connect the keyway and knob to the bolt? or is it manufacture specific?
21:50 eadthem darn kat isnt online
21:51 DagoRed http://aprs.fi/#!call=a%2FK6RPT-12&timerange=3600
21:51 DagoRed so fun to watch
21:52 KimLaroux DagoRed, what's that?
21:52 eadthem ballon?
21:52 KimLaroux oh yea, makes sense
21:53 DagoRed I friend of mine passed the link to me. They plan on going cross country
21:53 KimLaroux 12km high, wow
21:53 DagoRed they're not done yet
21:53 KimLaroux is it manned?
21:54 DagoRed they need to get above 60k to get the FAA off their ass
21:54 DagoRed nope, unmanned
21:55 eadthem Tom_itx or rue_mohr dont suppose ither 1 of you knwo?
21:55 Tom_itx not sure
21:57 rue_shop3 KimLaroux, :)
21:57 rue_shop3 still cant find the end, thinking of using a jigsaw
21:58 rue_shop3 eadthem, pretty sure they are generic
21:58 Tom_itx what diameter hole?
21:58 rue_shop3 1"
21:58 rue_shop3 no wait
21:58 rue_shop3 square, 2" x 3.4"
21:59 rue_shop3 ok its a rectangle
21:59 eadthem well if there generic then maby i can leave off the knob part
21:59 eadthem direct drive it
22:50 rue_shop3 spade bits suck
22:50 e_shop3 looks at the odd elipse it
22:53 KimLaroux you used a hand drill?
22:53 KimLaroux Don't you have a press drill?
22:54 KimLaroux I personally had great results using a spade bit on a handled drill http://www.head-fi.org/g/a/657814/millett-starving-student-hybrid-headphone-amplifier/
23:08 rue_shop3 I used a drillpress
23:09 KimLaroux weird
23:11 DagoRed rue_shop3: Do you know how to use avrdude with a bootloader?
23:12 DagoRed Not to put on a bootloader. But to upload connect with avrdude and upload code through the boot loader.
23:24 rue_shop3 yes, push the button and upload the code
23:24 rue_shop3 #@$%#$&@#$%^ damn gearbox
23:24 rue_shop3 dosn't lign up
23:31 DagoRed rue_shop3: not working