#avr | Logs for 2012-09-09

Back
[00:03:15] <learningc> It has 1 boost converter so I guess you can use it to get back 5V
[01:52:57] <specing> Why are these PMIC so expensive?
[01:53:06] <specing> Like they are made from gold or something
[02:01:55] <RikusW> http://www.udacity.com/courses
[05:50:10] <RikusW> hmm, the Sunday Silence :-P
[06:21:44] <tomatto> :d
[06:21:46] <tomatto> :D
[06:28:55] <Richard_Cavell> Does anyone know where I can buy a copy of M68000 Programmer's Reference Manual (1992) by Motorola ?
[06:37:20] <CapnKernel1> Try amazon
[06:37:25] <CapnKernel1> For their second-hand books
[06:40:45] <RikusW> Hi CapnKernel1
[06:43:23] <CapnKernel1> RikusW: hi there!
[06:44:30] <specing> Richard_Cavell: Why would anyone need that?
[06:44:45] <Richard_Cavell> specing: Because I want to refer to it
[06:44:51] <Richard_Cavell> I used to have it when I was a kid writing Amiga demos
[06:45:02] <specing> http://www.freescale.com/files/archives/doc/ref_manual/M68000PRM.pdf
[06:46:24] <specing> -1 internets to Richard_Cavell for his lack of the googling ability
[06:46:32] <Richard_Cavell> Yes I know that
[06:46:34] <CapnKernel1> +1 to specing
[06:46:35] <Richard_Cavell> I'm reading it right now
[06:46:39] <Richard_Cavell> But I want the hard copy
[06:46:47] <specing> uhm
[06:46:52] <specing> Ever heard of printers?
[06:46:55] <Richard_Cavell> It's a reference.
[06:47:21] <Richard_Cavell> Also, the PDF isn't quite correct. There are some formatting errors that meaningfully affect the interpretation of tables etc
[06:47:22] <CapnKernel1> Reference: Unlike a novel, something you want to look up a couple of pages of...
[06:54:14] <OndraSterver> do you know why I dislike printed manuals etc?
[06:54:25] <OndraSterver> have you ever tried pressing ctrl-f on a book...? :D
[06:55:58] <RikusW> heh, yeah...
[06:56:09] <RikusW> there is always the index OndraSterver....
[06:58:40] <specing> Wait a minute
[06:58:53] <specing> Why do you need to lookup stuff for a 20 years old MCU?
[06:59:15] <specing> I'd say it is a waste of time but that would be an understatement
[07:01:09] <RikusW> x86 is also 30 years old (parts of it anyways) :-P
[07:15:57] <specing> RikusW: more
[07:17:36] <inflex> how far do we go... 8080, 4004
[07:17:37] <inflex> ?
[07:18:05] <specing> as far as it takes
[07:18:20] <inflex> well, officially I think it was the late 70's... so ~78
[07:18:38] <inflex> so yea, about 34yrs
[07:21:47] <Richard_Cavell> specing: I am reading the PDF but I'll read the printed copy when it comes
[07:21:50] <Richard_Cavell> Cost me $100 x(
[07:26:24] <specing> Richard_Cavell: printing would cost you less
[07:26:36] <Richard_Cavell> I'd want it professionally printed and bound
[07:26:42] <Richard_Cavell> Not just on looseleaf
[07:26:51] <specing> and if you have to do this for a 20 year old part, then we can't really help you
[07:26:57] <Richard_Cavell> And like I said the pdf actually is inaccurate in formatting
[07:27:10] <Richard_Cavell> specing: Are you saying that my nostalgia for 68k is evidence of some intellectual limitation?
[07:37:02] <RikusW> 8051 is old and that is still being used
[07:37:18] <RikusW> so whats wrong with 68k ?
[07:37:35] <RikusW> older generally means simpler and easier to use too :)
[07:37:51] <RikusW> unless you start messing with x86 segmented memory.... :S
[07:38:15] <RikusW> which would be ok for small apps, but not big ones..
[08:15:01] <Richard_Cavell> RikusW: If I hear anybody say anything bad about 68000, I'll be opening up a can of whoopass
[08:30:12] <RikusW> hmm ;)
[08:31:26] <Erlkoenig> it's old. :-P
[08:45:07] * Richard_Cavell is not fussed by that comment
[08:47:27] * CapnKernel1 looks on the underside of the can of whoopass: "Best before 17-July-1994"
[08:53:47] <specing> Hahahah
[08:56:14] <timemage> nice
[08:59:36] * Tom_itx looks at his set of 68332 manuals
[09:00:05] * Tom_itx looks at the dust on top of them as well
[09:04:43] <iSalek> I'm trying to use peterfleury UART library for my project but Atmel Studio tells me that there is undefined reference to every file that is in uart.h even thou I have included it via #include "uart.h". Can anyone help me with this?
[09:06:13] <specing> lol
[09:06:32] <specing> What does you #including the file have to do with the files the file you included, includes?
[09:06:39] <Amadiro> iSalek, I don't use AVRStudio, but presumably your linker doesn't know where to look for the object files
[09:07:49] <iSalek> Amadiro: Thanks that's what I guessed by I don't know how to fix it :\
[09:08:08] <iSalek> The file is in the same directory as the other project files
[09:08:13] <specing> iSalek: see if *all* the files are where they should be.
[09:08:33] <Amadiro> iSalek, which file
[09:08:54] <iSalek> specing: All files are in the same directory... I guess that should do
[09:09:00] <iSalek> Amadiro: uart.h and uart.c
[09:09:19] <Amadiro> iSalek, your linker will be looking for a uart.o or somesuch
[09:10:06] <iSalek> Amadiro: Thanks, that is helpful... I don't know where to change that thou... :\
[09:10:53] <Amadiro> iSalek, first compile uart.c to uart.o, then compile your main.c to main.o, then link together main.o and uart.o, something like that should work.
[09:11:34] <iSalek> Amadiro: I will try that as the second option, I guess there should be some better option for that
[09:11:46] <iSalek> I'm looking for linker options now but I can't find them
[09:11:54] <Amadiro> iSalek, I have no clue how AVRStudio handles builds, I'm usually just using makefiles
[09:12:12] <Amadiro> iSalek, but generally, "undefined reference" is a linker error, not a compiler error
[09:12:31] <Amadiro> iSalek, perhaps for some reason AVRStudio does not compile uart.c at all.
[09:12:43] <iSalek> Amadiro: Thank you, I will see into this
[09:12:52] <iSalek> At least now I know what's the problem :)
[09:15:00] <Amadiro> iSalek, I suppose you could somehow deactivate automatic cleanup, try to build and see what you get. If you get a uart.o, it's getting compiled, and the linker just somehow doesn't know they are supposed to get linked together
[09:15:03] <iSalek> I've fixed it, I just have to add these files to the solution... Simple include doesn't work
[09:17:22] <Amadiro> iSalek, no, the linker does not see includes, it needs to be told directly on invocation which files its supposed to link together
[09:18:02] <iSalek> Amadiro: Thank you. I've added the files to the existing solution and now linker seems to work fine. :) Thank you! :)
[09:18:21] <Amadiro> You're welcome
[09:37:52] <Vutral> cool
[09:38:16] <Vutral> eh someone got some sample code for attiny85
[09:41:33] <tomatto> so osccal tune to 12.8MHz with rc osc set to 8MHz doesn't work with tiny4313
[09:44:35] <specing> Vutral: int main (){}
[09:46:01] <Vutral> no initialization code specing ?
[09:50:21] <specing> gcc adds the crt bloat automatically
[09:55:20] <Erlkoenig> if you call crt "bloat", what would you call an... operating system? the JVM? or even a VM?
[09:57:05] <OndraSterver> chmpf, how can all SMPSs that can take >6V on input be so expensive? The only cheapo is MC34063 with only 100kHz oscillator frequency, which is not much.
[09:57:19] <OndraSterver> all those 1MHz+ are like 2€+ for serious input voltages
[09:57:46] <Erlkoenig> wasnt the MC34063 a noise generator?
[09:57:48] <OndraSterver> also for currents for over 1A preferably
[09:57:49] <OndraSterver> hehe
[09:57:52] <OndraSterver> that is one way to put it, yes
[09:57:57] <Erlkoenig> ohmygod 2€ :D
[09:58:01] <OndraSterver> well
[09:58:06] <OndraSterver> if the whole thing is 12 €
[09:58:09] <OndraSterver> 2€ is quite a lot
[09:58:51] <Erlkoenig> rip one from some old electronics? :D
[10:00:39] <OndraSterver> if we are talking like 100 devices
[10:00:39] <OndraSterver> no, not happening :)
[10:01:43] <Vutral> uh nice
[10:02:12] <Vutral> reprogramming the eeprom periodically is said to have better endurance
[10:02:20] <Vutral> lol
[10:02:20] <OndraSterver> eh?
[10:02:27] <Vutral> just the question how i measure an interval for reprogramming :P
[10:02:56] <Tom_itx> wait til the data is corrupt then you know you waited too long
[10:03:10] <Vutral> mhm
[10:05:45] <Erlkoenig1> i'm an idiot.
[10:06:28] <Tom_itx> i'm not one to disagree
[10:07:16] <Erlkoenig1> OndraSterver: what about "P 3596", Vin max = 45V, 3A, about 1€
[10:08:08] <OndraSterver> P5100WG-7 doesn't look bad
[10:08:30] <OndraSterver> I was looking into different section
[10:08:54] <OndraSterver> Erlkoenig1, where from?
[10:08:57] <Erlkoenig1> from Germany
[10:09:26] <Erlkoenig1> http://such002.reichelt.de/?SID=12UEyr8H8AAAIAABqQbhs3e1d5e0eb69a6ccecfbc9ecc1c13f707;ACTION=446
[10:09:27] <OndraSterver> 150kHz switching
[10:09:33] <OndraSterver> I am looking at mouser only really
[10:09:44] <OndraSterver> to avoid paying shipping twice or even more times
[10:10:28] <OndraSterver> I found now two
[10:10:29] <OndraSterver> http://cz.mouser.com/ProductDetail/Diodes-Inc/AP5100WG-7/?qs=sGAEpiMZZMv5LMjColG4yPKq7fZADKygonhBmuJoOlc%3d
[10:10:32] <OndraSterver> http://cz.mouser.com/ProductDetail/Exar/XRP7659ISTR-F/?qs=sGAEpiMZZMv5LMjColG4yKyxkjWg773hyYqkNTAZx7Q%3d
[10:10:36] <OndraSterver> time to check them out
[10:12:26] <OndraSterver> they are virtually identical for what you need to use for external parts
[10:34:06] <nickoe> What is the best way to handle four (4) UARTS on the ATmega1280? Is there a ready made library for it?
[10:43:44] <nickoe> hmm, http://beaststwo.org/avr-uart/index.shtml He says, "I don't intend to add support for more than 2 UARTs unless I need it myself or someone else skins that cat and provides code to add to the library." So is there something bad in adding more that two UARTS?
[10:44:59] <Richard_Cavell> nickoe: So take that code and make it work with 4
[10:45:05] <Richard_Cavell> Post code on Net, become hero
[10:51:03] <Vutral> mhm
[10:51:35] <Vutral> nickoe: if you dont need it why should you invest the time
[11:03:33] <OndraSterver> ugh
[11:03:33] <OndraSterver> http://clip2net.com/s/2hDV0
[11:03:39] <OndraSterver> 17x11mm
[11:03:59] <OndraSterver> left in the between of the vias = input 5 - 20V
[11:04:08] <OndraSterver> bottom right = 3v3 out
[11:11:39] <OndraSterver> 1.46€ total
[11:11:41] <OndraSterver> @1pcs
[11:11:44] <OndraSterver> not bad
[11:15:34] <nickoe> Vutral, yeah right. Richard_Cavell.
[11:17:32] <nickoe> OndraSterver, what about efficiency?
[11:33:28] <iSalek> Can someone please link me to the tutorial on using Attiny2313 timer0 with overflow interrupt or if someone could check out my code and tell me what I'm doing wrong?
[11:36:21] <bsdfox> pastebin it
[11:42:37] <rue_house> iSalek, hi
[11:42:50] <rue_house> the tutorial?
[11:43:02] <rue_house> !assist avr
[11:43:03] <tobbor> Possibly http://eds.dyndns.org/~ircjunk/avr
[11:43:11] <rue_house> !assist tutorials/prog
[11:43:12] <tobbor> Possibly http://eds.dyndns.org/~ircjunk/tutorials/prog
[11:44:29] <rue_house> hmm
[11:45:05] <xaxes> hey folks.. told you about my mkI clone that wasn't able to get working with avarice.. the solution was to recompile avarice to use 19200 as default baudrate :) nevertheless, if anybody has an idea how to increase baudrate of clone, please let me know :)
[11:45:18] <rue_house> http://eds.dyndns.org/~ircjunk/avr/code/irq_flashled/ <--- aha!
[11:45:47] <rue_house> 250000 dosn't work on linux with usb adapters (unless)
[11:46:07] <xaxes> 115200 would be okay :) and I don't use adapter ;)
[11:46:20] <rue_house> it turns out all but 1 usb 2 serial adapters dont have drivers for custom baud rates
[11:46:37] <rue_house> meaning I think the baud tops out at 19200
[11:46:59] <rue_house> used to be 9600, so a coder somewhere is making progress
[11:47:28] <xaxes> 19200 is pretty slow for debugging .. I hope that increase baudrate will help me to debug in a more efficient way
[11:49:40] <rue_house> lots of coderes these days have no understanding of bandwidth limits, so 19200 can be verry slow
[11:49:59] <rue_house> 19200 can be ripping fast if used correctly
[11:50:32] <xaxes> yeah ^^
[11:54:39] <RikusW> xaxes: read the mki spec, there is a command to change the baud to 115200
[11:55:06] <xaxes> RikusW: thank you, Ill look for the spec
[11:56:00] <RikusW> its an avr appnote
[11:57:01] <xaxes> nice, thank you for the hint, I think I got it
[11:57:19] <RikusW> AVR060.pdf
[11:57:42] <xaxes> doc2525-1.pdf is what I got.. let me check
[11:59:31] <RikusW> 42 62 FF 20 20 should set the baud to 115200 (hex)
[11:59:51] <RikusW> you should receive A A on success
[11:59:54] <xaxes> yes :) Im figuring out how to send hexadecimal values to COM without writing a small tool ^^
[12:00:16] <RikusW> 0x42 == setparameter
[12:00:33] <RikusW> 0x62 RW Baudrate UBRR == -BR * 4 - 1
[12:00:34] <RikusW> F4 > 9600 2F
[12:00:34] <RikusW> F8 > 14400 1F
[12:00:34] <RikusW> FA > 19200 17
[12:00:34] <RikusW> FD > 38400 0B
[12:00:34] <RikusW> FE > 57600 07
[12:00:34] <RikusW> FF >115200 03
[12:01:28] <RikusW> there is all the baud values, left is ---- setting > baud "actual ubrr"
[12:01:32] <Richard_Cavell> Does anyone know of a good web forum for assembly language programming where I can get help with 68k assembly?
[12:03:23] <Erlkoenig> i've made a little tool, which allows writing "printf"-alike statements into AVR assembler, these get translated into a few ASM instructions that transmit a number identifying the String, and the corresponding data (register contents).
[12:03:23] <Erlkoenig> on the host(PC) side there's a 2nd program which decodes these numbers into the strings (which got extracted from the ASM source before) and neatly prints them. This way you can have easy printf()-Style debugging in ASM without the overhead of the actual printf().
[12:04:09] <RikusW> Richard_Cavell: /join #68kmla
[12:04:19] <RikusW> I did /msg alis list *68k*
[12:04:54] <Richard_Cavell> RikusW: Yep. I'm aware of them. I guess that's the best I'm going to get.
[12:05:14] <Vutral> mhm
[12:07:20] <iSalek> Can someone please take a look at my code and tell me why my LED isn't blinking? http://pastebin.com/ctM3pCpx
[12:08:01] <Vutral> eh
[12:08:04] <Vutral> i got a piece of assembly
[12:08:19] <Vutral> how do i get something i can upload with avrdude
[12:09:25] <Erlkoenig> use an assembler
[12:11:49] <OndraSterver> nickoe, check the datasheet
[12:11:53] <OndraSterver> AP5100
[12:17:40] <OndraSterver> I could have gone with 2.3€ SMPS controller itself, whole build would be 3€ then and it also has bigger footprint
[12:17:56] <OndraSterver> this has about 80% efficiency at 100mA, goes above 90% for 0.5A I think
[12:18:05] <OndraSterver> hmm nope
[12:18:08] <OndraSterver> that was another chip
[12:18:13] <OndraSterver> hmm
[12:18:20] <OndraSterver> it could be better, sure
[12:18:28] <OndraSterver> still better than LDO :D
[12:18:38] <OndraSterver> http://clip2net.com/s/2hEPH
[12:22:53] <OndraSterver> for 100 pieces we are talking 1.03€
[12:23:04] <OndraSterver> (1pcs = 1.43€ as I said earlier)
[12:23:09] <OndraSterver> 1.46*
[12:23:49] <OndraSterver> 1.18€/50ks
[12:23:51] <OndraSterver> pieces*
[12:24:20] <OndraSterver> 1,32€/25pcs
[12:33:36] <megal0maniac> I think I'd like to read "makefiles for dummies"
[12:33:45] <megal0maniac> Can someone write it, please?
[12:33:47] <megal0maniac> :)
[12:34:20] <iSalek> Can someone help me on why my Telnet is displaying this wierd letters when I want my mcu to send "Connection established"
[12:34:24] <iSalek> How can I fix that?
[12:35:14] <megal0maniac> iSalek: You're not being very specific. What do you mean by weird characters? How are you getting your mcu to "send" anything to telnet? What hardware? What code? Etc
[12:36:28] <iSalek> megal0maniac: Sorry about that. Letters are not ASCII, and I'm using usart.h library to send string that I've predefined
[12:37:24] <megal0maniac> Telnet is a protocol used with ethernet. Are you sure you aren't talking about serial?
[12:38:11] <nickoe> OndraSterver, so is it the AP5100 that is on that image?
[12:38:26] <megal0maniac> zlog
[12:39:00] <rue_house> ppp is a network protocol over serial
[12:39:33] <rue_house> iSalek, your baud rates dont match up
[12:39:35] <iSalek> megal0maniac: Darn, I mistyped, I mean HyperTerminal... It is showing non-ASCII characters and mcu is trying to send data via uart_puts("Data recieved:\r");
[12:39:43] <rue_house> iSalek, your baud rates dont match up
[12:39:58] <iSalek> rue_house: I will check it up but I think both are set to 115200
[12:40:24] <megal0maniac> iSalek: Do your chip and project clock speeds match?
[12:41:34] <rue_house> http://eds.dyndns.org/~ircjunk/tutorials/elex/commdebug.html
[12:41:57] <rue_house> iSalek, http://eds.dyndns.org/~ircjunk/tutorials/elex/commdebug.html
[12:42:04] <rue_house> iSalek, ^^
[12:42:10] <iSalek> I'm looking at it right now
[12:42:15] <megal0maniac> rue_house: Convenient :)
[12:42:20] <megal0maniac> Is tobbor okay?
[12:42:36] <rue_house> I need to make a search function on tobbor
[12:42:40] <rue_house> !time
[12:42:40] <tobbor> My watch says its 10:33AM Sun Sep 09 2012
[12:42:46] <rue_house> far as I know everything is ok
[12:43:07] <megal0maniac> He seems disconnect every hour
[12:43:19] <rue_house> thats because of freenode
[12:43:32] <rue_house> I have a script that disconnects/reconnects every hour in order to stay connected
[12:43:48] <rue_house> it fixes problems with bumps, splits, joins
[12:44:13] <megal0maniac> Ah, so it's intentional. Was just curious :) Didn't notice it until recently
[12:44:17] <rue_house> its a fix worth of microsoft
[12:44:24] <rue_house> worthy
[12:45:42] <OndraSterver> nickoe, on which image?
[12:45:43] <rue_house> I should have elaborated on 3.3
[12:46:09] <OndraSterver> hmm nope, I won't fit... well I would fit the smps on the xboard, but the inductor would be right below USB
[12:46:13] <OndraSterver> not the brightest idea
[12:49:33] <rue_house> iSalek, anything become apparent so far?
[12:50:08] <iSalek> rue_house: Yeah...that I haven't been doing anything on AVR for 2months and I'm using MCU whos fuses I didn't check :)
[12:50:20] <rue_house> ah
[12:50:23] <iSalek> rue_house: I've fixed fuses now and it is working like a charm :)
[12:50:30] <rue_house> yay!
[12:50:43] <iSalek> Thank you and sorry for bothering you all :)
[12:50:48] <rue_house> the tutorial is generic
[12:52:01] <megal0maniac> rue_house: While you're here, what can tobbor actually do? Apart from !seen and !time
[12:52:32] <rue_house> !thislog
[12:52:32] <tobbor> This one: http://rueshouse.dyndns.org:82/~ircjunk/irclogs/html/%23avr-2012-09-09.html
[12:52:38] <rue_house> !roll 40
[12:52:38] <tobbor> rue_house rolls a 11 and a 19 and does 1 damage
[12:52:41] <rue_house> :)
[12:52:46] <rue_house> !doresistor 2
[12:52:51] <rue_house> !doresistors 2
[12:52:52] <tobbor> rue_house: What is the colour for the value 7?
[12:52:55] <rue_house> violet
[12:52:56] <tobbor> rue_house: Correct. What is the value of the color blue?
[12:53:12] <rue_house> its context sensitive, its only listening to me, is looking for a colour
[12:53:22] <rue_house> so I can talk as long as I want while it waits
[12:53:24] <rue_house> 5
[12:53:24] <tobbor> rue_house: No, the answer was 6. Your score was: 50%
[12:53:27] <rue_house> damn
[12:53:41] <rue_house> always get those two mixed up
[12:53:45] <nickoe> OndraSterver, http://clip2net.com/s/2hEPH
[12:53:55] <megal0maniac> Very cool :)
[12:54:26] <rue_house> :)
[12:54:46] <rue_house> I think there is other stuff too, but I'd have to go peruse the code to know for sure
[12:55:00] <rue_house> I think...
[12:55:03] <rue_house> CANUCK
[12:55:03] <tobbor> Yankie!
[12:55:10] <OndraSterver> nickoe, yes
[12:55:13] <rue_house> yea, anti-flyback mechanism
[12:55:53] <rue_house> http://www.gaw.ru/pdf/TI/app/msp430/slaa215.pdf <-- document on automatic baud rate detection for human interfaces
[12:57:56] <megal0maniac> "Customer is inflicted with product, there is verbal and financial transaction. Life goes on."
[12:57:58] <megal0maniac> Nice
[12:58:09] <rue_house> ;)
[12:59:56] <megal0maniac> tobbor: How much NUCK CAN a CANUCK NUCK if a CANUCK CAN NUCK NUCK?
[12:59:57] <tobbor> SOMEONE MAKE HIM SHUT UP! or I'll cry.
[13:00:38] <megal0maniac> I'll admit I "borrowed" that from http://tom-itx.dyndns.org:81/~tom-itx/irc/logs/%23avr/2011-11-21.html
[13:00:45] <Steffanx> H
[13:00:45] <Steffanx> a
[13:00:47] <megal0maniac> But the response has changed somewhat :)
[13:00:52] <Steffanx> CANUCK
[13:00:52] <tobbor> yankie, yankie, yankie.
[13:01:10] <Steffanx> I think the response is 'random'
[13:02:02] <megal0maniac> Well you and specing seem to be the instigators
[13:02:40] <Erlkoenig> what's all that about "canuck" oO
[13:02:44] <Steffanx> Google it Erlkoenig
[13:03:03] <Erlkoenig> it seems to be slang for "canadian", but what does that tell me?
[13:03:10] <Erlkoenig> whats about canadians? :D
[13:03:36] <Steffanx> Actually you have to look for this one http://www.urbandictionary.com/define.php?term=flyback
[13:03:38] <nickoe> they are canadians
[13:04:03] <Steffanx> Afaik that guy is the reason why tobbor has that CANUCK-feature
[13:04:03] <tobbor> SOMEONE MAKE HIM SHUT UP! or I'll cry.
[13:04:18] <iSalek> How can I concatenate char onto a string? They are both stored into a variable?
[13:05:05] <Vutral> mhm
[13:05:08] <Erlkoenig> wat.
[13:05:08] <Vutral> now i got an elf file
[13:05:11] <Vutral> and avrdude
[13:05:15] <Erlkoenig> thats weird
[13:05:23] <Vutral> and stk500v2 connected to a attiny85
[13:05:26] <Vutral> ^^
[13:05:52] <megal0maniac> Can anyone else verify whether or not this link works? http://sourceforge.net/projects/codelite/files/Releases/codelite-4.1/codelite-4.1.5770-mingw4.6.1.exe/download
[13:06:08] <megal0maniac> It seems to time out regardless of the mirror
[13:06:29] <Vutral> well maybe there is some kind of gui for avrdude
[13:06:31] <Erlkoenig> megal0maniac: works perfekt, takes 1sec to download
[13:06:38] <Tom_itx> Your download will start in 0 seconds...
[13:06:47] <megal0maniac> Erlkoenig: Not on a 384kbps line :P
[13:06:51] <megal0maniac> Thanks
[13:07:00] <Erlkoenig> gigabit line <3
[13:09:21] <specing> wait a second
[13:09:32] <specing> one could bitbang a 56k modem on an attiny
[13:10:06] <Erlkoenig> what? why not use UART?
[13:10:40] <megal0maniac> Don't you need flow control lines as well?
[13:10:41] <specing> Im not sure the phone cables use UART
[13:10:59] <Erlkoenig> specing: oh, i was talking about the "COM" side of the modem
[13:11:14] <Erlkoenig> you meant, basically building your own modem for the phone lines?
[13:11:23] <specing> could be on usb and built into my laptop
[13:11:36] <specing> I currently have a winmodem in here
[13:11:40] <specing> totaly useless
[13:11:40] <Erlkoenig> megal0maniac: probably one, but that's so rarely triggered that i wouldn't exactly call it bitbang ;)
[13:12:31] <Erlkoenig> specing: there are perfectly working USB-Modems out there
[13:13:06] <specing> heck it isn't even in lspci or lsusb
[13:13:11] <specing> who knows what it uses
[13:14:08] <Erlkoenig> use something like that one: www.ebay.com/itm/170875984593
[13:14:22] <Erlkoenig> doing the DSP stuff on your own is probably not too easy
[13:14:58] <specing> that looks fucking ugly
[13:15:03] <specing> tbh
[13:15:08] <OndraSterver> why would one need modem ?!
[13:15:09] <specing> and bulky
[13:15:36] <specing> OndraSterver: I have an summer residence that has internet through phone lines
[13:15:42] <OndraSterver> oh
[13:15:55] <specing> over 100 years old building
[13:15:58] <Erlkoenig> ugly... well there are also prettier designs, that was just the 1st search result...
[13:16:14] <OndraSterver> specing, your laptop doesn't have it?
[13:16:15] <OndraSterver> anymore
[13:16:15] <Erlkoenig> i have a nice green-transparent one with curves
[13:16:19] <Erlkoenig> never used it
[13:17:27] <specing> OndraSterver: it does
[13:17:33] <specing> OndraSterver: its a winmodem though
[13:17:44] <OndraSterver> wait
[13:17:45] <OndraSterver> what?
[13:17:46] <specing> It doesen't even show up in lspci or lsusb
[13:17:50] <OndraSterver> oh
[13:17:52] <OndraSterver> linux issues
[13:18:25] <specing> winmodem = barebones chip that makes the OS handle byte by byte sending
[13:18:45] <OndraSterver> I call those software modems
[13:18:48] <OndraSterver> or software anything
[13:19:44] <Erlkoenig> prefixing anything with "win" makes it sound nicer <3
[13:20:05] <specing> they are prefix by "win" because they only work on windoze
[13:20:19] <specing> aka shit
[13:20:57] <Erlkoenig> that's an advantage, isn't it? since windows is so nice and easy to use, in contrast to those big bulky Unix boxes
[13:23:51] <OndraSterver> nickoe, all of these higher voltage input ones have smaller efficiency
[13:24:02] <OndraSterver> well, higher voltage input ones + cheap ones :D
[13:24:02] <nickoe> okayt
[13:24:11] <nickoe> :)
[13:24:13] <specing> Erlkoenig: big bulky unix boxes?
[13:24:30] <specing> Erlkoenig: I don't know where you have been living but it is the other way around
[13:26:01] <Erlkoenig> well those big mainframe computer standing around companies
[13:26:05] <Erlkoenig> you know the expensive ones
[13:26:15] <nickoe> Whats up with them?
[13:27:19] <specing> http://www.baserock.com/
[13:27:29] <specing> I so want, but it is overpriced as hell
[13:27:35] <Erlkoenig> windows is cheaper and easier to handle then them, isn't it?
[13:28:28] <megal0maniac> 8 quad-core ARMv7-A CPUs
[13:28:32] <megal0maniac> ??
[13:28:35] <megal0maniac> But why?
[13:28:41] <OndraSterver> because perfomance
[13:28:48] <OndraSterver> I do wonder how much power does this eat
[13:29:06] <OndraSterver> 260w psu
[13:29:06] <OndraSterver> not bad
[13:29:46] <megal0maniac> I suppose ARM was designed from the ground up with power usage being high priority
[13:30:06] <OndraSterver> but
[13:30:08] <OndraSterver> armv7
[13:30:13] <OndraSterver> :/
[13:30:26] <OndraSterver> cortex a15 anyone?
[13:30:28] <OndraSterver> quadcores
[13:30:37] <OndraSterver> 1.5GHz per core
[13:30:52] <OndraSterver> also it is bloody marvel
[13:31:21] <nickoe> I don't get the embedded thing about that baserock
[13:34:21] <OndraSterver> megal0maniac, 503
[13:34:22] <specing> megal0maniac: HTTP Error: 503 (Service Unavailable)
[13:34:31] <megal0maniac> Hence the "but"
[13:34:39] <OndraSterver> oh
[13:34:43] <specing> -.-
[13:34:44] <CoolBear> HTTP Error: 504 (Gateway Timeout)
[13:34:53] <megal0maniac> Yeah, it does both
[13:34:58] <OndraSterver> HTTP Error: 505 (I win!)
[13:35:36] <specing> HTTP Error: 666 (Here we go...)
[13:35:47] <OndraSterver> HTTP Error: 69 (we all know)
[13:35:52] <OndraSterver> 666 is not "the evil number" btw
[13:35:54] <OndraSterver> it is 616 :P
[13:36:00] <specing> why 616?
[13:36:09] <OndraSterver> originaly it was 616
[13:36:15] <OndraSterver> but during translation or something the people didn't like it
[13:36:16] <specing> typo?
[13:36:19] <OndraSterver> so they changed it to 666
[13:36:25] <specing> lol
[13:36:45] <OndraSterver> also, do you know what is the (un)luckiest guy on the world?
[13:36:50] <OndraSterver> well, was, he died like 2 years ago
[13:37:16] <CoolBear> Still translates to Neron Caesar
[13:37:21] <OndraSterver> lol
[13:37:25] <OndraSterver> well, this guy was in Japan
[13:37:31] <OndraSterver> he was Japanese
[13:37:36] <OndraSterver> well, he was in Hiroshima
[13:37:38] <megal0maniac> Go on...
[13:37:40] <OndraSterver> and what has happened there?
[13:37:45] <RikusW> BOOM
[13:37:47] <OndraSterver> yes
[13:37:51] <OndraSterver> but he survived
[13:37:57] <nickoe> and then?
[13:37:57] <OndraSterver> he grabbed a train
[13:38:00] <OndraSterver> to Nagasaki
[13:38:03] <OndraSterver> and what has happened there? :D
[13:38:05] <RikusW> what ?!
[13:38:07] <RikusW> BOOM
[13:38:08] <OndraSterver> yes
[13:38:09] <OndraSterver> lol
[13:38:15] <OndraSterver> he survived two nuclear explosions
[13:38:17] <CoolBear> Some would call that lucky.
[13:38:20] <RikusW> oooh
[13:38:26] <OndraSterver> and died when he was 93 years old I think
[13:38:27] <megal0maniac> BOOM
[13:38:27] <nickoe> or just annoying
[13:38:29] <OndraSterver> or something around that
[13:38:33] <nickoe> hmm
[13:38:41] <Steffanx> I'm santa, OndraSterver
[13:38:46] <megal0maniac> 93 means that radiation makes you live longer. We have the facts
[13:38:48] <RikusW> OndraSterver: where did you read that ?
[13:38:56] <OndraSterver> RikusW, I heard that from Stephen Fry
[13:38:58] <OndraSterver> :P
[13:39:00] <OndraSterver> on QI
[13:39:15] <OndraSterver> I don't remember his name, it was some japanese gibberish
[13:39:22] <megal0maniac> I question the validity of a lot of what they say...
[13:39:31] <CoolBear> http://www.dailymail.co.uk/news/article-1165768/The-man-survived-TWO-nuclear-bombs-Lucky-Yamaguchi-tells-lived-Hiroshima--fled-home-Nagasaki.html
[13:41:13] <megal0maniac> Unlucky was what the 4 Chinese workers who pushed their scaffolding into high voltage power lines were
[13:41:26] <OndraSterver> eh
[13:41:40] <OndraSterver> I am afk
[13:41:52] <OndraSterver> time to put my screwdriver into left socket on the wall
[13:41:56] <OndraSterver> and see if the wall socket is connected right
[13:42:02] <Steffanx> Have fun
[13:42:05] <OndraSterver> will have!
[13:42:09] <OndraSterver> buzzing fun!
[13:42:17] <Steffanx> live stream?
[13:42:23] <CoolBear> 120v or 240v?
[13:42:33] <Steffanx> 220
[13:43:32] <CoolBear> That'll wake you up in the morning.(I tried...)(
[13:44:59] <nickoe> just don't make the current go through your heart, and you will be fine...
[13:47:43] <CoolBear> Judging from the amount of shocks I've managed to give myself(accidentally mind you), I say it's a rather small chance to die from a zap. Likelyhood of death probably increases with heart problems though.
[13:49:31] <megal0maniac> CoolBear: Only 1 worker survived. 1 died in hospital and the other 2 at the scene. But it was high voltage, and there was fire and stuff... Won't post the link. It isn't pleasant
[13:49:56] <specing> CENSORSHIP!
[13:50:28] <Steffanx> You can pm specing the link megal0maniac
[13:50:37] <learningc> he's just being considerate
[13:50:49] <CoolBear> Well, likelyhood of death increases dramatically with voltage.
[13:50:56] <learningc> to the kids that miight come here :P
[13:51:04] <megal0maniac> And duration of contact. High voltage is... sticky
[13:52:16] <specing> I connected myself to 3000V a few times
[13:52:31] <specing> it was mildly shocking
[13:52:31] <learningc> CoolBear: voltage is a prerequisite for killing
[13:52:35] <CoolBear> Highest I've done is 315v DC from hand to hand, I wouldn't reccomend it.
[13:52:37] <nickoe> specing, auw
[13:52:50] <nickoe> hand to hand is not good
[13:53:03] <CoolBear> Not like I planned it or anything :P
[13:53:17] <nickoe> CoolBear, was you under survaillance on a hospital the next 24 hours?
[13:53:24] <CoolBear> Nop.
[13:53:30] <megal0maniac> When I was a kid (about 7,) my dad told me to hold onto two leads for him
[13:53:38] <megal0maniac> It was a "mega"
[13:53:41] <megal0maniac> 5000V
[13:53:45] <nickoe> woot
[13:53:47] <learningc> CoolBear: that must have been a nasty shock
[13:54:13] <CoolBear> It's safe to say I'll try not to do it again.
[13:54:19] <nickoe> CoolBear, lucky you that your heart did not pause... then
[13:54:55] <CoolBear> Pausing hearts is a bad thing.
[13:54:57] <megal0maniac> MEGGER
[13:54:58] <learningc> CoolBear: did you diagnose any damage in your body afterward?
[13:55:13] <nickoe> yep
[13:55:32] <megal0maniac> That's what it was called
[13:55:34] <nickoe> what is MEGGER?
[13:55:44] <CoolBear> Not really, I just treated my circuit with a bit more respect.
[13:55:57] <megal0maniac> http://physics.kenyon.edu/EarlyApparatus/Electrical_Measurements/Megger/Megger.html
[13:56:10] * megal0maniac is afk
[13:56:39] <Erlkoenig> what a pretty instrument
[13:57:22] <megal0maniac> I don't like it
[13:57:27] <megal0maniac> Can't imagine why...
[13:57:42] <nickoe> ohh
[13:57:48] <megal0maniac> Although the one my dad had was in a white plastic box
[13:57:54] * megal0maniac is really afk
[13:59:09] <megal0maniac> http://www.synology.com/products/product.php?product_name=RS812%2B is back online
[14:05:58] <nickoe> megal0maniac, whats iup with the RS812?
[14:12:17] <RikusW> megal0maniac: my nieghbor also told me about meggers....
[14:12:55] <RikusW> there was a table in his work workshop with aluminum around the edges jointed at opposite sides......
[14:13:14] <RikusW> so his boss would sit at one end and he at the other with a megger :-D
[14:13:35] <RikusW> tooks his boss quite a while to figure out what was going one...
[14:14:50] * RikusW also have 8kV hand to hand or feet a few times.....
[14:14:55] <RikusW> *had
[14:17:27] <megal0maniac> nickoe: It was relevant earlier, but the site was down
[14:18:03] <megal0maniac> RikusW: Must have been a cool job if he could shock his boss and get away with it
[14:19:48] <OndraSterver> http://www.synology.com/products/product.php?product_name=RS812
[14:19:49] <OndraSterver> it's up
[14:20:48] <OndraSterver> http://www.synology.com/dsm/index.php?lang=enu
[14:20:49] <OndraSterver> this looks
[14:20:52] <OndraSterver> like an Apple page
[14:20:53] <OndraSterver> lol
[14:21:38] <wsirc_8116503> Hello
[14:21:43] <OndraSterver> HELOOO
[14:21:47] <megal0maniac> They've been getting more and more like that
[14:21:48] <megal0maniac> HI
[14:22:10] <megal0maniac> CANUCK
[14:22:11] <tobbor> YANKIE.
[14:22:19] <megal0maniac> heh.
[14:22:25] <wsirc_8116503> I don't understand how to use 16bit PWM properly. In the docs it sais that AVRs are capable of 8, 9 and 10 bit resolution. Did I get this wrong?
[14:22:52] <wsirc_8116503> I want 16bits resolution with the ability to set the top value of the PWM counter and the trigger value freely.
[14:23:11] <megal0maniac> Which chip?
[14:23:30] <wsirc_8116503> atmega16
[14:23:55] <OndraSterver> the old mega16?
[14:24:10] <megal0maniac> I speak under correction, but "resolution" doesn't apply to PWM
[14:24:30] <wsirc_8116503> I don't know what's old, it's about 8 years old
[14:24:30] <megal0maniac> PWM works with frequencies and duty cycles.
[14:24:37] <wsirc_8116503> I think they still sell it
[14:24:51] <OndraSterver> so yes, the "old" one
[14:25:01] <megal0maniac> "resolution" would be the resolution of the ADC, which is another thing altogether
[14:25:09] <OndraSterver> you can use PWM phase correct, fastpwm in 16bit just fine
[14:25:12] <megal0maniac> OndraSterver: Have I lied yet?
[14:25:22] <OndraSterver> megal0maniac, hmm?
[14:25:27] <OndraSterver> no idea
[14:25:34] <wsirc_8116503> with resolution I mean the register width for the counter
[14:25:36] <megal0maniac> In the last 2 mins
[14:25:44] <megal0maniac> Sorry :)
[14:25:48] * megal0maniac goes back to cave
[14:25:59] <OndraSterver> sure that resolution applies to PWM :)
[14:26:07] <OndraSterver> if you have 100kHz signal
[14:26:09] <megal0maniac> (cave of the partly informed)
[14:26:27] <OndraSterver> and you can switch it on or off anytime between 0 - 1ns (or whatever is 1/100k)
[14:26:39] <OndraSterver> the more numbers you get in that interval the better resolution you have
[14:27:18] <megal0maniac> Understood
[14:27:32] <OndraSterver> well, that's how I would interpret it
[14:27:36] <wsirc_8116503> ok, thanks
[14:27:38] <OndraSterver> that doesn't necessarily mean that it is like that
[14:28:07] <wsirc_8116503> so I just need to set up the register for the top value, the register for the trigger value, set the PWM mode, prescaler, data direction register for the output pin of the signal, and that's it?
[14:28:46] <OndraSterver> ye
[14:29:02] <OndraSterver> not sure if it was in the list - don't forget about COM* bits
[14:29:07] <OndraSterver> they set what happens on oc match
[14:29:12] <OndraSterver> aka either goes low/high/nothing
[14:29:57] <wsirc_8116503> oh right, thanks
[14:32:20] <wsirc_8116503> Then there's another issue. I use Linux and want to code in assembly, but unfortunately, one assembler named avra can't properly parse it's own include files, and the other one named avr-gcc doesn't supply include files at all as far as I have seen.
[14:32:48] <wsirc_8116503> Is there an assembler that works right out of the box and has a proper documentation?
[14:33:33] <iSalek> Can someone suggest me some tool for serial port communication? I need to read and send HEX codes...
[14:33:43] <megal0maniac> iSalek:
[14:33:46] <megal0maniac> OS?
[14:34:27] <iSalek> Win7
[14:34:52] <megal0maniac> Hex only: http://www.pololu.com/docs/0J23
[14:35:25] <OndraSterver> I have my own "SuperTerm" :P
[14:35:28] <OndraSterver> it can do both ascii and hex
[14:35:29] <megal0maniac> Everything else, hex included, https://sites.google.com/site/terminalbpp/
[14:35:43] <OndraSterver> all uncommon ascii values are shown as \00 (aka 0x00 hex)
[14:35:44] <OndraSterver> and such
[14:35:48] <OndraSterver> the same way you can send them
[14:35:52] <megal0maniac> OndraSterver: Have you tried the bray one?
[14:35:57] <megal0maniac> It's really good
[14:36:00] <OndraSterver> I have no tried and
[14:36:01] <OndraSterver> any
[14:36:07] <OndraSterver> I needed one so I made one :)
[14:36:08] <OndraSterver> to fit my needs
[14:36:11] <OndraSterver> back in the day
[14:36:18] <megal0maniac> Can we have it?
[14:36:26] <OndraSterver> sure
[14:36:28] <OndraSterver> but it is surely bugged
[14:36:30] <OndraSterver> also it is in .NET
[14:36:40] <OndraSterver> I do wonder if I will find it though
[14:36:48] <megal0maniac> Not fussed :P More out of curiosity
[14:36:58] <megal0maniac> Try the one I linked to.
[14:37:12] <megal0maniac> $01 sends 01 in hex
[14:37:22] <OndraSterver> I am using \
[14:37:29] <OndraSterver> to send \ you type \\
[14:38:27] <OndraSterver> http://tempah.myxboard.net/SuperTerm.exe
[14:39:04] <megal0maniac> "SuperTerm.exe is not commonly downloaded and could be dangerous. Discard?"
[14:39:08] <OndraSterver> lol
[14:39:13] <OndraSterver> what OS?
[14:39:24] <megal0maniac> Chrome. :P
[14:39:27] <OndraSterver> oh
[14:39:50] <megal0maniac> I like it. It's simple and light
[14:40:04] <OndraSterver> there is some bug about COM1 being selected and not being used
[14:40:11] <OndraSterver> when you click on another serial to connect to it works just fine
[14:40:29] <OndraSterver> also Send File was never done. It would have been proprietary to my project anyway though
[14:40:47] <megal0maniac> Makes sense
[14:40:53] <megal0maniac> https://sites.google.com/site/terminalbpp/Terminal20111230.zip?attredirects=0
[14:41:17] <OndraSterver> 321kB :o
[14:41:23] <OndraSterver> can it connect to Mars Rover?
[14:41:39] <iSalek> This pololu terminal is great, simple and yet it has everything I need :D
[14:41:45] * megal0maniac shrugs
[14:41:52] <megal0maniac> iSalek: Cool, glad it works
[14:42:03] <megal0maniac> OndraSterver: It can send file :P
[14:44:00] <megal0maniac> OndraSterver: I mostly like that you can manually toggle DTR, since I use that to perform hardware reset from software. Also the hex/bin view and other little cool things about it.
[14:44:09] <OndraSterver> ah
[14:46:47] <megal0maniac> Eh.
[14:46:50] <megal0maniac> Well I like it
[14:54:07] <Amadiro> megal0maniac, 41 different antivirus software packages consider it clean, so looks like you're reasonably on the safe side :)
[15:02:17] <RikusW> megal0maniac: electronics related, needless to say his boss was quite angry when he finally found out what was going one :-P
[15:02:37] <megal0maniac> But he kept his job?
[15:05:26] <RikusW> yes
[15:05:56] <megal0maniac> Then he has a cool job :P
[15:05:58] <RikusW> they also charged caps with a megger and told someone else to catch it :-D
[15:06:09] <RikusW> Had, it was years ago
[15:06:21] <RikusW> He worked as Sasol
[15:06:28] <RikusW> amongst others
[15:07:00] <megal0maniac> A microwave motor turned by hand gives a nasty shock
[15:07:03] <RikusW> Now ho does GPRS/GPS tracking units, the old one use m128 and the new one AVR32
[15:07:26] <RikusW> it does, faster == bigger shock
[15:07:57] <RikusW> you probably haven't seen those old black manual exchange phones ?
[15:08:07] <RikusW> they give even more of a shock
[15:08:27] <megal0maniac> I have, but it's broken. I can imagine though :P
[15:09:32] <RikusW> and then 8kV Gallagher electric fencing.... thats like a kick in the chest....
[15:09:45] <RikusW> only a 170us pulse at 5Joules
[15:10:00] <RikusW> some give 50J used for elephants
[15:10:52] <RikusW> basically a pulse grade cap charged to say 800V and pulsed through a microwave transformer for x10
[15:11:21] <RikusW> I built something like that using a 20uF 1000V cap, got it from mantech for R50
[15:11:46] <RikusW> shorting that cap when charged gives a big BANG
[15:12:11] <OndraSterver> i ove shorting charged caps
[15:12:13] <OndraSterver> love*
[15:12:30] <megal0maniac> I think I should try it
[15:12:40] <OndraSterver> "30V on few hundreds of uF? meh... can't be that big bang
[15:12:41] <OndraSterver> lol
[15:12:46] <OndraSterver> I still have hole in my pliers
[15:12:59] <OndraSterver> it was actually few thosuands of uF
[15:13:05] <OndraSterver> thousands*
[15:14:59] <RikusW> 20uF at 600V is nasty
[15:15:07] * RikusW don't want to touch that
[15:15:16] <OndraSterver> heh
[15:15:28] <OndraSterver> I always do two phases of testing whether some wire is live
[15:15:36] <OndraSterver> first I use that "probing screwdriver"
[15:15:42] <OndraSterver> you know, there is some lightbulb in it
[15:15:49] <OndraSterver> it earthes through you
[15:15:54] <OndraSterver> and if it doesn't light up I touch the wire :D
[15:16:17] <megal0maniac> Sounds safe enough
[15:17:03] * RikusW use a 100 Ohm resistor to discharge PC smps caps ( + and - 175V)
[15:17:13] <OndraSterver> what wattage?
[15:17:19] <RikusW> quite big
[15:17:27] <RikusW> 2W maybe ?
[15:17:33] <RikusW> or 5W not sure
[15:18:03] <RikusW> I have some 5cm long 20k resistors....
[15:18:07] <OndraSterver> I do wonder,
[15:18:17] <OndraSterver> how much would induction coil for SMPS induct into USB data lines
[15:18:24] <OndraSterver> that would be on the other side of the FR4 board
[15:18:32] <RikusW> 4 layer ?
[15:18:36] <OndraSterver> 2
[15:18:38] <OndraSterver> only :/
[15:18:43] <OndraSterver> it is small SMD inductor
[15:18:44] <OndraSterver> 1210 package
[15:18:45] <RikusW> I'd keep it seperated
[15:19:12] <RikusW> and the USB lines as short as possible
[15:19:13] <OndraSterver> something like this
[15:19:13] <OndraSterver> http://clip2net.com/s/2hHal
[15:20:20] <OndraSterver> http://cz.mouser.com/Search/ProductDetail.aspx?R=CBC3225T3R3MRvirtualkey57660000virtualkey963-CBC3225T3R3MR
[15:20:22] <OndraSterver> this inductor
[15:20:23] <RikusW> I'll still keep it seperate
[15:20:27] <OndraSterver> ye
[15:20:37] <OndraSterver> so, no SMPS on xboard mini or coco!
[15:20:53] <megal0maniac> Noted :)
[15:21:04] <OndraSterver> just LDO
[15:21:18] <OndraSterver> on Ultra there will be SMPS
[15:21:23] <RikusW> what do you want smps for anyways ?
[15:21:28] <OndraSterver> well, efficiency :)
[15:21:38] <OndraSterver> with LDO you can get about 480mA out from USB
[15:21:46] <OndraSterver> with SMPS you can get about 650 - 700mA
[15:21:52] <RikusW> LDO for 1A would be quite good enough for USB pcbs
[15:22:10] <OndraSterver> I am using 800mA one
[15:22:10] <RikusW> hmm I see your point
[15:22:30] <RikusW> still, be carefull with placement
[15:22:33] <OndraSterver> sure
[15:22:37] <OndraSterver> the inductor breaks it all :(
[15:22:37] <RikusW> smps is noisy
[15:22:39] <OndraSterver> yes
[15:22:59] <OndraSterver> also for external power.. if one plugs in 12V wall adapter, a lot of power gets wasted
[15:23:36] <RikusW> having components on both sides might make assembly tricky....
[15:23:42] <OndraSterver> home assembly
[15:23:46] <RikusW> still
[15:23:51] <OndraSterver> top = oven, bottom = hotair
[15:23:58] <OndraSterver> once I build my oven
[15:24:07] <RikusW> and have the top stuff come loose ?
[15:24:11] <OndraSterver> with hotair? no
[15:24:24] <RikusW> I'd use a soldering iron
[15:24:28] <OndraSterver> yes, you can
[15:24:35] <OndraSterver> but you can use hotair just fine
[15:24:43] <OndraSterver> the temperature doesn't reach anywhere near soldering points
[15:24:46] <OndraSterver> on the other side
[15:24:52] * RikusW assembled 120 U2S boards using just an iron
[15:24:57] <OndraSterver> :)
[15:24:59] <OndraSterver> well I have QFN
[15:25:06] <RikusW> averaged 20min / pcb
[15:25:33] <OndraSterver> you are using atmel's bootloader with hand optimizations, right?
[15:25:46] <RikusW> no, custom STK500v2 bootloader
[15:25:48] <OndraSterver> oh
[15:25:52] <OndraSterver> I mean USB stack
[15:26:13] <RikusW> heavily stripped
[15:26:29] <OndraSterver> ok
[15:26:31] <RikusW> I removed all but the essentials
[15:26:32] <OndraSterver> no licensing from atmel? :)
[15:26:50] <RikusW> the demo is free as I understand, but only for AVR chips
[15:26:57] <OndraSterver> the issue is - in ASF the USB stack contains code for all xmegas, for all possible stuff, but also for avr32 :(
[15:27:01] <OndraSterver> so it is real, REAL mess
[15:27:34] <RikusW> the CDC code does have toooooo many #defines... it made the code unreadable...
[15:27:50] <RikusW> (un understandable...)
[15:34:05] <OndraSterver> I wish one could see the "connected" code from avr-gcc with all #ifdefs already (un)checked and all files included.
[15:35:30] <OndraSterver> the xmega manual doesn't talk much about the USB IMHO
[15:35:35] <OndraSterver> they could have more expanded the section :)
[15:47:30] <RikusW> OndraSterver: there is a switch for gcc that outputs preprocessed code
[15:48:12] <OndraSterver> oo
[15:48:18] <OndraSterver> do you happen to know it?
[15:48:23] <RikusW> -e or -E maybe ? just guessing, /me is using XP now
[15:48:28] <RikusW> try man gcc ?
[15:48:41] <OndraSterver> on windows? :)
[15:48:50] <RikusW> yes, temporarily
[15:49:05] <OndraSterver> no, I mean "try man gcc ?" on windows
[15:49:13] <OndraSterver> /P maybe
[15:49:16] <OndraSterver> /E is to stdout
[15:49:16] <RikusW> man gcc on the linux commandline
[15:50:00] <OndraSterver> hmm there is even preprocess switch in AS itself
[15:50:57] <RikusW> -E Stop after the preprocessing stage; do not run the compiler proper. The output is in the form of preprocessed source code, which is sent to the standard output.
[15:51:04] <RikusW> http://linux.die.net/man/1/gcc
[15:51:29] <RikusW> gcc -E file.c > out.txt
[15:51:41] <RikusW> will work even on win
[15:52:10] <RikusW> -S is interesting too
[15:52:21] <OndraSterver> do I look like I am using raw gcc?
[15:52:22] <OndraSterver> I am using AS :P
[15:52:23] <OndraSterver> thanks
[15:52:26] <OndraSterver> I will look into that
[15:55:35] <OndraSterver> I like how "Optimize most (-O3)" generates bigger file than Optimize (-O1)" lol
[15:55:45] <OndraSterver> or is that for speed?
[15:55:49] <OndraSterver> and only -Os is for size?
[15:56:08] <RikusW> yes
[15:56:10] <OndraSterver> oh
[15:56:31] <RikusW> -Os is generally used for AVR
[15:57:13] * RikusW is getting sleepy .|
[15:57:21] <OndraSterver> work tomorrow eh? :P
[15:57:39] <RikusW> hmm
[15:58:06] <OndraSterver> http://www.youtube.com/watch?v=v_DbphNR9i8&list=PL6FEACF6178CE15EF&index=18&feature=plpp_video
[15:58:48] <OndraSterver> what about 12 or 13 drives!
[15:58:49] <OndraSterver> lol
[16:02:51] <RikusW> seen phantom of the floppera yet ?
[16:03:34] <OndraSterver> looong time ago
[16:03:40] <OndraSterver> probably the first one I ever saw :)
[16:05:05] <iSalek> is there a way to see some old channel logs?
[16:05:11] <RikusW> zlog
[16:05:45] <iSalek> Thanks
[16:06:51] <RikusW> !log
[16:07:11] <RikusW> !logs
[16:07:19] <RikusW> CANUCK
[16:07:19] <tobbor> YANKIE!!!!
[16:07:29] <RikusW> !thislog
[16:07:30] <tobbor> This one: http://rueshouse.dyndns.org:82/~ircjunk/irclogs/html/%23avr-2012-09-09.html
[16:14:52] <learningc> are canucks smarter or yankees smarter?
[16:18:36] <OndraSterver> I'd dare to say that canucks lol
[16:18:39] <OndraSterver> in average
[16:19:10] * Casper pokes learningc
[16:19:37] <learningc> right! there's smartcanucks.ca, but no smartyankees.com
[16:19:41] <learningc> :P
[16:29:12] <Casper> you have your answer now :D
[16:33:09] <Kevin`> anyone used an rtos on avr8? looking for recommendations. I want something that will make it sane to do blocking functions with (at least) cooperative multithreading
[16:35:00] <Kevin`> low ram usage if possible
[16:49:03] <OndraSterver> NEW FREEMANS MIND