#avr | Logs for 2013-09-23

Back
[00:42:52] <spec_> This is driving me insane! I'm trying to generate 8-bit PWM using timer1 on a 2313. No matter what I change I get 50% duty cycle.
[00:43:54] <spec_> Anyone have a code example or insight into which bits need to be set up?
[00:46:05] <Casper> timer mode
[00:46:16] <Casper> you probably have it set to overflow...
[00:46:33] <Casper> or to max...
[00:48:06] <rue_house> spec_, at the end of your program, do you do while(1); or return;
[00:49:04] <rue_house> amee2k, you want my pwm code to play with/stagger?
[00:49:10] <rue_house> it would be easy
[00:50:41] <rue_house> !!!!!!!!! SEVERLY OPTIMIZED CODE !!!!!!!!!
[00:50:41] <rue_house> REFERNENCE ASSEMBLER OUTPUT WHEN MODIFYING
[00:50:41] <rue_house> THIS PWM FUNCTION
[00:50:41] <rue_house> gcc -O1
[00:50:42] <rue_house> **********************************************************/
[00:50:44] <rue_house> SIGNAL (SIG_OVERFLOW0) {
[00:50:46] <rue_house> if (++pwmcount == 0){
[00:50:48] <rue_house> p0 = pwm0; p1 = pwm1; p2 = pwm2; p3 = pwm3;
[00:50:50] <rue_house> SetBit(PWM0BIT, PWM0PORT);
[00:50:52] <rue_house> SetBit(PWM1BIT, PWM1PORT);
[00:50:54] <rue_house> SetBit(PWM2BIT, PWM2PORT);
[00:50:56] <rue_house> SetBit(PWM3BIT, PWM3PORT);
[00:50:58] <rue_house> };
[00:51:00] <rue_house> if ((p0 ^ pwmcount) == 0) { ClearBit(PWM0BIT, PWM0PORT); }
[00:51:04] <rue_house> if ((p1 ^ pwmcount) == 0) { ClearBit(PWM1BIT, PWM1PORT); }
[00:51:06] <rue_house> if ((p2 ^ pwmcount) == 0) { ClearBit(PWM2BIT, PWM2PORT); }
[00:51:08] <rue_house> if ((p3 ^ pwmcount) == 0) { ClearBit(PWM3BIT, PWM3PORT); }
[00:51:10] <rue_house>
[00:51:12] <rue_house> }
[00:51:14] <rue_house> you would lost a bit of the optimization
[00:51:31] <rue_house> its glitch free!
[01:18:25] <spec_> Shitty Time Warner.
[01:18:55] <spec_> Someone here had answered my question about PWM on timer 1, can you please repost it?
[01:39:57] <Joggl> 07:33:02 < rue_house> spec_, at the end of your program, do you do while(1); or return;
[01:39:57] <Joggl> 07:34:00 < rue_house> amee2k, you want my pwm code to play with/stagger?
[01:39:57] <Joggl> 07:34:07 < rue_house> it would be easy
[01:39:57] <Joggl> 07:35:37 < rue_house> !!!!!!!!! SEVERLY OPTIMIZED CODE !!!!!!!!!
[01:39:57] <Joggl> 07:35:37 < rue_house> REFERNENCE ASSEMBLER OUTPUT WHEN MODIFYING
[01:39:57] <Joggl> 07:35:37 < rue_house> THIS PWM FUNCTION
[01:39:59] <Joggl> 07:35:37 < rue_house> gcc -O1
[01:40:03] <Joggl> 07:35:38 < rue_house> **********************************************************/
[01:40:05] <Joggl> 07:35:40 < rue_house> SIGNAL (SIG_OVERFLOW0) {
[01:40:07] <Joggl> 07:35:42 < rue_house> if (++pwmcount == 0){
[01:40:09] <Joggl> 07:35:44 < rue_house> p0 = pwm0; p1 = pwm1; p2 = pwm2; p3 = pwm3;
[01:40:11] <Joggl> 07:35:46 < rue_house> SetBit(PWM0BIT, PWM0PORT);
[01:40:14] <Joggl> 07:35:48 < rue_house> SetBit(PWM1BIT, PWM1PORT);
[01:40:15] <Joggl> 07:35:50 < rue_house> SetBit(PWM2BIT, PWM2PORT);
[01:40:17] <Joggl> 07:35:52 < rue_house> SetBit(PWM3BIT, PWM3PORT);
[01:40:19] <Joggl> 07:35:54 < rue_house> };
[01:40:21] <Joggl> 07:35:56 < rue_house> if ((p0 ^ pwmcount) == 0) { ClearBit(PWM0BIT, PWM0PORT); }
[01:40:23] <Joggl> 07:36:00 < rue_house> if ((p1 ^ pwmcount) == 0) { ClearBit(PWM1BIT, PWM1PORT); }
[01:40:25] <Joggl> 07:36:02 < rue_house> if ((p2 ^ pwmcount) == 0) { ClearBit(PWM2BIT, PWM2PORT); }
[01:40:27] <Joggl> 07:36:04 < rue_house> if ((p3 ^ pwmcount) == 0) { ClearBit(PWM3BIT, PWM3PORT); }
[01:40:29] <Joggl> 07:36:06 < rue_house>
[01:40:33] <Joggl> 07:36:08 < rue_house> }
[01:40:35] <Joggl> 07:36:10 < rue_house> you would lost a bit of the optimization
[01:40:37] <Joggl> 07:36:27 < rue_house> its glitch free!
[01:41:51] <spec_> I have an infinite while loop after everything is set up in main()
[01:42:20] <Casper> hmmmm carrot cake :D
[01:42:34] <Casper> "edgeless" too! :D
[01:43:07] <spec_> I only need one channel and am using OC1A to drive my FET
[01:43:30] <Casper> post code?
[01:44:26] <spec_> Sure. Let me clean it up. Had it working much better, but have banged it up considerably while testing parts
[01:45:21] <spec_> Gotta say GCC support for the 2313A *SUCKS*
[01:48:31] <Joggl> why?
[01:49:28] <Casper> the 2313 don't have much ram
[02:06:57] <megal0maniac_afk> Joggl: PLEASE use pastebin or codepad for that stuff
[02:07:16] <megal0maniac_afk> rue_house: :/
[02:08:13] <Joggl> megal0maniac_afk, say that to rue_house ;) if he used PB i could past his link ;)
[02:19:27] <jadew> my smt discovery board just arrived
[02:19:36] <jadew> stm
[02:22:51] <Casper> atleast your stuff did arrived...
[02:22:56] <Casper> still waiting for mine
[02:49:10] <megal0maniac_afk> Casper: I'd seriously be shouting for rebate by now. Making someone's life miserable enough for them to get in their car and fetch the thing for you
[02:49:21] <megal0maniac_afk> Just to make you go away
[02:50:47] <megal0maniac_afk> jadew: Free shipping?
[02:51:37] <megal0maniac_afk> Although I shouldn't be asking. I'm spending a pretty penny on roadworthy certificates and licenses this morning. No new dev boards for a while
[02:57:30] <megal0maniac_afk> That being said, Cypress PSoC Pioneer looks nice :)
[03:14:07] <Joggl> is gcc responsible for the amount of ram in chip?
[03:14:40] <moemoe> Joggl: what?
[03:14:54] <moemoe> The amount of ram is given by the chip design.
[03:16:42] <twnqx> Joggl: gcc can overrun
[03:16:52] <twnqx> avrlibc even easier so
[03:17:22] <twnqx> there's no runtime check for available stack/heap/static variable space
[03:18:32] <Joggl> <spec_> Gotta say GCC support for the 2313A *SUCKS*
[03:18:32] <Joggl> <Joggl> why?
[03:18:32] <Joggl> <Casper> the 2313 don't have much ram
[03:18:38] <Joggl> therefore i asked...
[03:18:51] <Joggl> ;)
[03:44:51] <spec_> 2313 only has 128 bytes of RAM, none of which I'm using. Just about everything is done in interrupts, and what few variables I have are marked volitile
[03:47:36] <spec_> Now if I can only figure out why OCR0A has no problem generating an interrupt, but OCR0B never fires.
[03:56:19] <Tom_itx> odd one is on portb and other is on portd
[03:56:25] <Tom_itx> is DDRx set for both?
[03:57:05] <Tom_itx> PB2 PD5
[04:09:15] <spec_> Is that required to trigger the interrupt?
[04:10:17] <spec_> Yes, it's set as an output
[04:10:22] <Tom_itx> probably not but it may be
[04:11:47] <spec_> I am using that bit to monitor program flow with a logic analyzer. I'll move that one to another pin.
[04:11:54] <Tom_itx> umm
[04:12:13] <Tom_itx> OCR0x is associated with timer0 right?
[04:12:19] <Tom_itx> you said timer1 above
[04:13:16] <Tom_itx> I'm trying to generate 8-bit PWM using timer1 on a 2313. No matter what I change I get 50% duty cycle.
[04:13:33] <spec_> Setting COM0B1:0 is *supposed* to override output manipulations.
[04:13:51] <spec_> Yes, solved that problem. Now working on a different part.
[04:13:59] <Tom_itx> k
[04:14:50] <spec_> Appreciate the sanity check. I've been at this 20 hours solid.
[04:15:13] <Tom_itx> time to quit
[04:15:23] <Tom_itx> it'll solve itself with rest
[04:15:37] <Tom_itx> http://tom-itx.dyndns.org:81/~webpage/avr/mega128/pwm_test/
[04:15:51] <Tom_itx> mega128 pwm fwiw
[04:15:59] <Tom_itx> also in the subdir
[04:16:09] <Tom_itx> 3 different timers
[04:38:16] <megal0maniac> Why do avrs use JTAG instead of dW in higher pin count devices? And with the xmegas, they have PDI as well as JTAG. Surely PDI or dW alone is enough?
[04:39:07] <megal0maniac> Especially for things like the 1284p. I don't get why they didn't just use dW, since it is programmable via ISP
[04:52:41] <megal0maniac> Surely it would be cheaper to use dW? It isn't like you can use 3rd party tools for Atmel JTAG in any case.
[04:53:00] <megal0maniac> Or am I missing something about JTAG>
[04:53:01] <megal0maniac> ?
[05:13:35] <twnqx> spec_: volatile variables are still static variables in ram
[05:14:23] <twnqx> the difference is just that the compiler can't make assumptions/optimizations about their content and has to read/write them any time they are used
[05:14:46] <twnqx> also, you still need stack, and an interrupt stack alone can be up to 40 bytes
[05:14:50] <twnqx> (iirc)
[05:24:08] <megal0maniac_afk> From inside one of the Atmel DLLs "This is the Run thread dying (goodbye cruel world..)!"
[05:28:51] <megal0maniac_afk> RikusW: Can't find anything about the signature in the DLLs
[05:32:28] <RikusW> I'll have another look around
[05:33:00] <RikusW> mfc90_2539( &v30, "The JTAG ID returned by the target device is 0x%08X. This JTAG ID is\nnot recognized by AVR Studio. Press Retry to reconnect or Cancel to abort.", v7);
[05:33:10] <megal0maniac_afk> Yip
[05:33:13] <RikusW> megal0maniac_afk: I found this in the decompiled file :)
[05:33:45] <megal0maniac_afk> Found that too, but can't find any other references to "JTAG ID" or "0x%08X"
[05:35:19] <RikusW> The id being read is 1248P alright
[05:35:58] <RikusW> megal0maniac_afk: try connecting using the programming dialog box in AS4
[05:36:06] <RikusW> that should work
[05:40:30] <megal0maniac_afk> I can read fuses, erase, program etc
[05:40:44] <megal0maniac_afk> VTg is 4.9V
[05:40:51] <megal0maniac_afk> (But not actually ;)
[05:41:39] <megal0maniac> Just debugging that doesn't work now
[05:42:00] <megal0maniac> Which is the only real advantage of JTAGICE MKI over ISP
[05:43:57] <RikusW> VTG is hardcoded ;)
[05:44:19] <RikusW> I just found a piece of code that looks promising
[05:44:26] <megal0maniac> I know. No ADC on the 32u2
[05:44:32] <RikusW> looks like its checking the IDs
[05:44:37] <megal0maniac> Ooh!
[05:45:11] <megal0maniac> I can confirm that programming flash and fuses work
[05:45:45] <megal0maniac> When you figure this out, you can ship the U2S with a patched version of AS4.18 for debugging purposes :P
[05:46:31] <RikusW> heh
[05:46:33] <RikusW> I will
[05:46:52] <RikusW> Do you have hexrays ?
[05:49:01] <megal0maniac> I have other hex editors
[05:49:16] <megal0maniac> HxD, Frhed and NP++
[05:50:36] <RikusW> megal0maniac: at 0x204E0 you'll find the m16 jtag id
[05:50:48] <RikusW> +0x388 you'll find the next ID
[05:51:03] <RikusW> megal0maniac: hexrays is a decompiler to C
[05:51:22] <megal0maniac> Ah
[05:52:13] <RikusW> oops, add 0xB8
[05:52:22] <RikusW> nor 388
[05:52:24] <RikusW> not
[05:52:42] <RikusW> 204E0 + B8 for next ID, 8 IDs total
[05:53:03] <RikusW> you do know about little endian right ?
[05:53:48] <megal0maniac> What is the JTAG ID for the m16?
[05:53:51] <megal0maniac> And sort of
[05:54:29] <megal0maniac> I overwrote the m16 with the m1284p, so maybe I can overwrite the signature too...
[05:54:33] <RikusW> 3F 30 40 09
[05:54:44] <RikusW> 0x0940303F
[05:54:59] <RikusW> just swap the bytes
[05:55:19] <RikusW> I see there is some more data in those blocks... not quite sure what it does yet
[05:57:47] <megal0maniac> Dammit. Same error
[05:58:11] <megal0maniac> Just overwrote the signature with the 1284p signature, still not recognised
[05:59:18] <RikusW> hmm
[05:59:26] <RikusW> guess it will take more work...
[06:23:07] <megal0maniac> Oh!
[06:23:14] <megal0maniac> I got the endianness wrong
[06:23:35] <megal0maniac> Now it accepts the ID, but the program crashes instead
[06:23:45] <RikusW> hmm
[06:23:59] <RikusW> seems there are some other data in those blocks too...
[06:24:12] <RikusW> like flash size
[06:24:48] <RikusW> You did use overwrite and NOT insert mode right ? :-P
[06:25:59] <RikusW> and tell me you made a copy of the DLL prior to editing ?...
[06:27:04] <megal0maniac> Yes, and yes. I'm not a complete fool ;)
[06:27:32] <megal0maniac> Looking at a stack trace, nothing stands out. But it's definitely trying to debug before it crashes
[06:28:08] <RikusW> so far so good :)
[06:28:11] <megal0maniac> It also tries to access "C:\home\tools\hudson\workspace\avr8-gnu-toolchain\src\gcc\gcc\config\avr\"
[06:28:25] <megal0maniac> Which has never existed on my machine :/
[06:28:40] <RikusW> weird
[06:29:39] <megal0maniac> And it reads C:\Program Files (x86)\Atmel\AVR Tools\Partdescriptionfiles\ATmega1284P.xml quite a few times
[06:30:36] <RikusW> How do you see that ?
[06:30:58] <RikusW> Special tool ?
[06:31:12] <RikusW> dumped data blocks -> http://pastebin.com/yD98fPTf
[06:31:19] <RikusW> use widescreen editor...
[06:32:25] <megal0maniac> Process Monitor
[06:47:13] <megal0maniac> abcminiuser!
[06:47:20] <abcminiuser> Ja
[06:47:20] <megal0maniac> We need the source code for AS4.18
[06:47:24] <abcminiuser> Bahahaha
[06:47:51] <megal0maniac> Surely the copyright has expired by now? :)
[06:48:06] <Steffanx> You don't want to see the code..
[06:48:11] <abcminiuser> Obviously...
[06:49:11] <megal0maniac> RikusW figured out how to get 4.18 to program any mega with JTAGICE (MKI) and I sort of got debugging to work
[06:49:34] <megal0maniac> Now it crashes instead of giving an error, which is one step in the right direction :P
[06:49:36] <abcminiuser> Can't remember the limitation but there was a reason the support was limited
[06:49:50] <abcminiuser> Might be it, something about the way the different OCD gernerations work
[06:49:56] <megal0maniac> Stack trace shows that it /tried/ to start debugging
[06:50:06] <RikusW> abcminiuser: jtag mki doesn't support programming new ATmegas
[06:50:10] <RikusW> but mine does....
[06:50:27] <abcminiuser> Programming was probably fine
[06:50:29] <RikusW> I think its mostly the way flashing works
[06:50:36] * megal0maniac nods
[06:50:42] <RikusW> new ATmegas are differrent
[06:50:53] <RikusW> but I fixed my fw
[06:50:58] <megal0maniac> The OCD is a whole different ball game though
[06:51:04] <megal0maniac> Brb, food
[06:51:18] <RikusW> abcminiuser: I ran avrtargetjtagice.dll through hexrays decompile ;)
[06:51:21] <RikusW> r
[06:52:00] <antto> the NSA will knock on your door any time now
[06:52:12] <RikusW> what for ? :-P
[06:52:32] <antto> they will synthesize a reason afterwards ;P~
[06:53:12] <abcminiuser> Hell we don't care
[06:53:30] <abcminiuser> Just don't ask us about it on support unless you want to be laughed at
[06:56:32] <RikusW> heh
[06:56:43] <RikusW> I'll ask for the source :-P
[07:04:22] <megal0maniac> HALP
[07:04:40] <megal0maniac> AS4.18 keeps crashing when I try to debug
[07:05:40] <RikusW> too bad :(
[07:05:44] <RikusW> I'll try to fix it
[07:08:54] <megal0maniac> Do you have any newer JTAG target devices?
[07:09:13] <megal0maniac> I've got an xmega and an AVR32, but I think that's pushing it :P
[07:11:28] <RikusW> I do
[07:11:39] <RikusW> definitly :-P
[07:11:53] <RikusW> I have m324A and 644A
[07:12:06] <RikusW> and 32u4
[07:12:38] <megal0maniac> 32u4 has JTAG??
[07:12:47] <RikusW> jtag for xmega and AVR32 is completely different...
[07:12:49] <RikusW> it does
[07:12:54] <RikusW> 32u2 got dW
[07:13:20] <megal0maniac> Cool, didn't know that
[07:13:33] <megal0maniac> My 32u4 is on a PCB, no debug support
[07:14:07] <megal0maniac> Oh, and for those using the PL2303, here's a nice driver http://wouxun.us/Software/USB%20Drivers/PL2303_Prolific_GPS_AllInOne_1013.exe
[07:14:14] <RikusW> jtag is on F4-F8
[07:14:33] <megal0maniac> Works flawlessly with Win7 x64
[07:15:56] <megal0maniac> F8?
[07:16:07] <megal0maniac> You've been smoking socks :P
[07:16:21] <megal0maniac> 9bit AVR is not a real thing
[07:18:49] <RikusW> portF
[07:18:53] <RikusW> F7....
[07:19:16] <jadew> megal0maniac, no, I bought it from ebay, the free sample is still under review
[07:19:18] <RikusW> off by 1 error, rebooting :-P
[07:20:00] <megal0maniac> jadew: Cool. Played with it yet?
[07:20:19] <jadew> megal0maniac, nope, went to sleep right after I got it and now I have to start work :/
[07:20:31] <jadew> I did plug it in tho, it blinks.
[07:20:47] <megal0maniac> RikusW: I could probably use JTAG, but it would kill the bootloader and you can't get the .hex file. It's very closed off
[07:21:03] <RikusW> thats unfortunate...
[07:21:05] <megal0maniac> In which case it would become a plain breakout and no longer a Teensy, which would be a shame
[07:21:20] <megal0maniac> You can buy a 32u4 preprogrammed, though :)
[07:21:42] <RikusW> I sent you some sample decompiled code..
[07:21:59] <RikusW> not pretty, but somewhat better than asm
[07:22:57] <megal0maniac> Eugh. It's icky
[07:23:11] * megal0maniac disconnects U2S
[07:24:11] <RikusW> its the part that reads that data block
[07:24:13] <megal0maniac> I quite like the "programming tower" :) Looks cool
[07:24:43] <megal0maniac> U2S + GTL + Breakout boards
[07:24:51] <megal0maniac> RikusW: Yeah, but that's no longer the issue
[07:24:56] <megal0maniac> It's what comes after that
[07:25:42] <RikusW> thanks :)
[07:26:27] <megal0maniac> I mostly like it because it's unique :P But it works. Using it with the 5V jumper
[07:28:15] <RikusW> Have you tried PDI using LUFA mkii yet ?
[07:28:19] <RikusW> it should work
[07:29:11] <megal0maniac> I don't think I have
[07:31:03] <megal0maniac> I see BOD level is 3V on the U2S. Isn't that a bit low, since you have the 3v3 jumper?
[07:31:06] <megal0maniac> I mean high
[07:31:47] <megal0maniac> And CKDIV8? :/
[07:33:02] <RikusW> isn't is 2.9V ?
[07:33:19] <RikusW> I set it to /2 in the bootloader
[07:34:17] <megal0maniac> Nope, 3V
[07:34:30] <megal0maniac> Dumped the fw and eeprom :)
[07:36:02] <RikusW> megal0maniac: eeprom is basically just the last 16 bytes from the settings file
[07:39:18] <megal0maniac> What is SPM?
[07:41:20] <RikusW> the instruction used to write flash
[07:41:24] <RikusW> LPM reads it
[07:41:39] <RikusW> store program memory
[07:42:33] <megal0maniac> Ah, okay
[07:42:42] <megal0maniac> "SPM disabled in bootloader"
[07:43:31] <RikusW> to protect it from being overwritten
[07:56:09] <megal0maniac> PDI works well :)
[07:57:55] <RikusW> great :)
[08:07:34] <megal0maniac> I think you need to write up some nice documentation on the U2S hardware. Nobody knows what it is :P And I keep having to poke around with a multimeter to remind myself what pins are what and what the jumpers are for :P
[08:09:28] <RikusW> hmm indeed
[08:09:40] <RikusW> I do think there as some docs on the site
[08:11:00] <RikusW> iirc I sent you the PCB pictures too, and its on the site as well
[08:13:38] <megal0maniac> You did, but sometimes it's easier with a multimeter because of the layers
[08:15:16] <RikusW> I suspect you might need to hex edit some other values too... like the bootloader addresses... ( to make SPM work in jtag mode)
[08:15:32] <RikusW> bb ----------- -ddddddddd- -smallboot- bb -ddddddddd- ---Fsize--- -ddddddddd- ---Esize--- -ddddddddd- -ddddddddd- -ddddddddd- -ddddddddd- ---boot1--- ---boot2--- ---boot3--- ---boot4---
[08:15:33] <RikusW> 00 00 80 00 00 00 00 00 00 00 80 1f 00 00 00 00 00 00 00 40 00 00 60 04 00 00 00 02 00 00 00 00 00 00 20 00 00 00 20 00 00 00 40 00 00 00 80 1f 00 00 00 1f 00 00 00 1e 00 00 00 1c 00 00 m16
[08:15:46] <RikusW> ugh
[08:15:53] <RikusW> monospace works better
[08:17:10] <megal0maniac> Well I flashed it no problem
[08:17:34] <megal0maniac> Thing is, it refers to the partfile for the correct device, so most of the parameters are correct
[08:19:27] <RikusW> seems some parameters may be stored in those data blocks
[08:19:44] <RikusW> I'd try again later to make it work
[08:19:59] <RikusW> At least I'm onto something
[08:43:08] <megal0maniac> Indeed :)
[08:51:25] <jadew> \o/ yey my two tiva boards just arrived
[08:51:35] <jadew> today seems to be presents day
[08:52:31] <megal0maniac> Haha :)
[08:53:08] <jadew> it's just like christmas, only that it's with presents I enjoy lol
[08:53:48] <megal0maniac> My order should ship on Wednesday
[08:54:11] <megal0maniac> But I'm getting my Stellaris and MSP430 launchpads back from my friend today, so it'll feel the same :P
[08:54:30] <jadew> I think everything that was supposed to come by currier already did, now I'm waiting for a bunch of stuff from china
[08:55:10] <jadew> heh, I didn't have much time to play with the TI stuff, but I kinda owe it to them to do that now
[08:59:04] <rue_house> megal0maniac, just for you, http://paste.debian.net/45222/
[09:00:11] <rue_house> hahah irc text got into it
[09:00:21] <rue_house> easy to find error
[09:01:38] <RikusW> megal0maniac: Just got the m324A "working", well it didn't crash, but breakpoints and singlestepping fails, and about everything else...
[09:02:14] <rue_house> RikusW, did you build up the code or write it all at once and hope it worked?
[09:02:21] <RikusW> megal0maniac: easiest would be to get a supported chip...
[09:02:41] <RikusW> rue_house: my debugger works quite well
[09:02:54] <RikusW> but I want to hack AS4 to support new AVRs too....
[09:03:11] <jadew> RikusW, what are you building?
[09:03:16] <RikusW> afaik the OCD part is the same
[09:03:22] <RikusW> just messing with AS4
[09:03:27] <jadew> ah
[09:03:28] <megal0maniac> rue_house: Thanks, mate :P
[09:03:45] <RikusW> decompiled the jtagice mki dlls with hexrays
[09:10:07] <rue_house> I did it, I really did it
[09:10:21] <rue_house> I finally mixed something up, I poured juice inot my breakfast serial
[09:10:51] <rue_house> the m324 is a nice chip
[09:10:57] <megal0maniac> I've washed myself with shampoo a few times. Only realise that something is wrong when I want to wash my hair
[09:11:46] <rue_house> gcc dosn't not support the m324
[09:11:53] <rue_house> its just a different register layout
[09:12:57] <jadew> isn't atmel studio using gcc?
[09:15:25] <megal0maniac> Wow. 3x SPI 2x UART and hardware interrupts everywhere
[09:16:48] <jadew> which chip has 3x SPI?
[09:17:05] <rue_house> yea, I'm going up from m32
[09:17:13] <rue_house> and m324 loooks sweeeeet
[09:17:37] <rue_house> but I'v had challanges, I didn't expect the registers to be so different, its not a 1:1 m32 upgrade
[09:18:05] <rue_house> and 6? pwm channels
[09:25:49] <megal0maniac> Yip. 6
[12:04:44] <abcminiuser> MannImMond, what's the weather like in Germany at the moment?
[12:28:58] <specing> Its zeee deutschy!
[12:35:32] <Tom_itx> fine its nice weather here in germany
[12:42:49] <Steffanx> Tom_itx, moved to the better side of the globe?
[12:43:58] <RikusW> megal0maniac_afk: Hi are you around ?
[13:11:30] <Tom_itx> no, just relaying someone's msg that lives there
[13:13:24] <theBear> hehe, i like your casual lack of quotes :)
[13:15:39] * amee2k idly ruffles bsdfox' tail :3
[13:16:49] <OndraSter__> outside - shorts & t-shirt is fine
[13:16:49] <OndraSter__> inside - nope, it is already cold inside the house
[13:20:09] <OndraSter__> oh
[13:20:09] <OndraSter__> furrs?
[13:21:54] <amee2k> why not? >_>
[13:22:12] <amee2k> they're kinda cute
[13:24:45] <RikusW> hi megal0maniac_afk
[13:28:53] <OndraSter__> I did not say I don't like furries
[13:49:30] * amee2k nuzzles OndraSter :D
[14:00:23] <OndraSter> :D
[14:00:48] <OndraSter> few weeks ago one chick had "fox" tail going from her pants..
[14:00:54] <OndraSter> wondering if it was somehow held in the pants
[14:00:56] <OndraSter> like.. butt plug :D
[14:01:20] <vsync_> did she do the foxtrot
[14:01:24] <OndraSter> haha
[14:01:26] <vsync_> if so then buttplug defo
[14:01:34] <OndraSter> the foxtrot?
[14:02:22] <vsync_> hmm
[14:02:24] <vsync_> a fox is a canine
[14:02:49] <vsync_> and trotting is a way of walking
[14:03:34] <amee2k> OndraSter: usually they have belt loops, but sometimes people wear the belt under other clothes to hide it
[14:03:36] <vsync_> i guess with horses... now with a human being i guess it would be kind of difficult which could imply a plug inserted in one's anus
[14:03:44] <OndraSter> ah amee2k
[14:03:47] <OndraSter> you seem to know this stuff :D
[14:03:48] <vsync_> it's also a dance
[14:04:01] <OndraSter> as a somebody who did dancing @ competitions I of course know the dance :D
[14:04:24] <vsync_> nice
[14:04:26] <amee2k> OndraSter: yup :3
[14:04:31] <OndraSter> haha
[14:05:38] <amee2k> http://d.facdn.net/art/holowolf/1373645470.holowolf_il_570xn.404993234_1uus.jpg << you can see the black loops on the left
[14:05:53] <OndraSter> oh
[14:05:54] <OndraSter> sexy
[14:05:57] <OndraSter> I want one just like that
[14:05:59] <OndraSter> <3
[14:06:01] <OndraSter> where can I get one?
[14:06:51] * OndraSter is a lonely wolf
[14:06:54] <amee2k> http://www.furaffinity.net/view/11066696/ << this one was for sale... doesn't say if it actually sold
[14:07:10] <vsync_> oh great
[14:07:34] * twnqx takes the cat instead
[14:07:39] <OndraSter> haha
[14:08:17] <vsync_> i'd nail two birds with a single stone and strangle the cat with the tail and set fire to both
[14:08:25] <OndraSter> qIR QHr
[14:08:28] <amee2k> searching FA for something like "tail price" brings up a lot of results... lots of people make accessories like that in their spare time as a hobby
[14:08:33] <OndraSter> wait what*
[14:08:59] <OndraSter> I've seen once a fox tail on a butt plug
[14:09:01] <OndraSter> but I am not using that :D
[14:09:20] <amee2k> or if you see one you like you could just leave a comment asking who made it
[14:09:23] <vsync_> your mission - should you choose to accept it - is butt plug tails
[14:09:36] <amee2k> these exist too, but they're not used for public occasions :>
[14:09:41] <OndraSter> haha
[14:09:45] <OndraSter> furry time in bed!
[14:10:01] <OndraSter> sounds kinky. I like it
[14:10:24] <vsync_> it's very important to know which tails can be used for public occasions
[14:10:34] <vsync_> all tails are not created equal
[14:10:35] <OndraSter> which ones are allowed for public transport?
[14:10:36] <OndraSter> haha
[14:10:43] <OndraSter> that's racist!
[14:10:53] <vsync_> deal with it
[14:10:58] <amee2k> for the most part, a tail is like making a funny shaped pillow... i've been wondering if i should give it a try
[14:11:02] <OndraSter> also are there some where you can move the tail actualy?
[14:11:18] <OndraSter> :D
[14:11:38] <vsync_> seriously amee2k you are way too committed into this
[14:11:38] <amee2k> OndraSter: that depends on your public decency laws, but at furry events you're usually limited to the ones with belt loops or clips :>
[14:11:46] <OndraSter> :D
[14:12:05] <vsync_> i'm completely baffled about these guys/gals who dress up as wolves or something
[14:12:20] <OndraSter> tail - why not. Completely dressing up? nope
[14:12:25] <amee2k> some people made ones with steel cables that can be moved in a more or less controlled way, but thats usually part of a larger costume to hide the control mechanism
[14:12:34] <vsync_> i see no difference between that and chewbacca and f*king yetis and erm
[14:12:37] <vsync_> ron jeremy
[14:12:38] <OndraSter> lol
[14:13:42] <amee2k> vsync_: you don't need to be very committed to find out how people make costume tails lol
[14:13:48] <vsync_> i myself would create a neural interface for a jointed tail
[14:13:53] <vsync_> amee2k: i beg to differ
[14:14:21] <vsync_> if i was into tails i'd be so much cooler than you
[14:14:42] <vsync_> i'd be like ninetails, n shit
[14:15:57] <amee2k> http://d.facdn.net/art/keeatah/1288068092.keeatah_nara_tails.jpg << nine tailed arctic fox kitsune tail >_>
[14:16:27] <OndraSter> eh
[14:16:29] <amee2k> vsync_: also, the difference between the two is that the former, well, don't "fuck yetis". as simple as that
[14:16:40] <vsync_> ping pong ching chong, looks like a cap to me
[14:17:50] <OndraSter> if I'd see some hot redheaded chick wearing some fox tail I am not sure I would manage to not ask her out
[14:18:44] <amee2k> mmh, i remember seeing someone red haired at EF... but firstly he was a dude and secondly he had a leopard tail i think
[14:18:51] <OndraSter> lol
[14:19:01] <OndraSter> the first part is the bigger problem than the second one
[14:19:15] <amee2k> >_>
[14:19:56] <vsync_> enuf
[14:20:49] <amee2k> http://d.facdn.net/art/killercarebearrawwrr/1347594641.killercarebearrawwrr_freckles_fox.png
[14:21:45] <OndraSter> hahaha
[14:21:45] <OndraSter> I ment IRL
[14:22:29] <amee2k> http://d.facdn.net/art/blaziefox/1358674031.blaziefox_img_0157_2.jpg
[14:22:29] <amee2k> :3
[14:22:49] <OndraSter> :D
[14:22:52] <OndraSter> I ment just tail
[14:22:55] <OndraSter> the rest - real
[14:23:30] <amee2k> >_>
[14:24:49] <vsync_> there's some tail for you silly virgins
[14:24:52] <vsync_> http://goo.gl/BFEfyI
[14:24:58] <vsync_> ohh yee
[14:25:05] <amee2k> NSFW
[14:25:18] <OndraSter> I saw the link
[14:25:18] <amee2k> also, thats a bubblebutt
[14:25:19] <vsync_> mildly
[14:25:19] <OndraSter> before it loaded
[14:25:20] <amee2k> not a tail
[14:25:27] <OndraSter> so I closed it
[14:25:29] <OndraSter> before it loaded.
[14:25:45] <vsync_> ur2fast4me
[14:25:56] <vsync_> stupid filename...
[14:26:11] <amee2k> i'm alone in the room, i don't care :P
[14:26:36] <OndraSter> well
[14:26:40] <OndraSter> my sister could walk into the room anytime
[14:26:43] <OndraSter> just as my mum :D
[14:27:04] <twnqx> vsync_: you'd like to plug that? :>
[14:27:23] <amee2k> i have two flatmates, but i'd hear them in the hallway before they came in
[14:27:35] <OndraSter> http://beaverhunt.biz/wp-content/uploads/2013/01/photo-Outdoor-Red-Head-396355069.jpg
[14:27:52] <vsync_> virgintheory still stands
[14:27:52] <amee2k> lolz
[14:28:05] <OndraSter> :D
[14:28:11] <twnqx> there should be more darwin in this world...
[14:28:22] <amee2k> you know, thats kinda funny
[14:28:32] <OndraSter> and then, REALLY nsfw
[14:28:33] <OndraSter> http://sexynakedredhead.com/wp-content/uploads/2013/03/lucyohara-firefox-buttplug-04.jpg
[14:28:39] <vsync_> twnqx: maybe one darwin was enuf. more natural selection though pls
[14:28:43] <amee2k> according to youtube comments, furries are supposed to just have sex in their costumes all day long
[14:28:49] <OndraSter> lol
[14:28:57] <amee2k> so how is it that they're also stereotypical virgins :>
[14:29:21] <vsync_> well, you see, there's the problem. It's internet versus the world out there
[14:29:28] <OndraSter> even, http://sexynakedredhead.com/lucy-ohara-furry-butt-plug/
[14:29:28] <vsync_> take your pick
[14:29:32] <amee2k> if you have sex all day long, you can't be a virgin :>
[14:29:41] <OndraSter> :D
[14:29:47] <vsync_> have, something, according to the internet
[14:29:51] <OndraSter> enough of nsfw content though
[14:29:52] <OndraSter> this is #avr
[14:29:54] <OndraSter> kids can be here
[14:29:59] <OndraSter> like amee2k or vsync_
[14:30:14] <vsync_> if i were you, i'd watch out for my mom
[14:30:18] <vsync_> walking in on me
[14:30:24] <amee2k> lol, i'm totally a kid
[14:30:40] <OndraSter> :D
[14:30:41] <vsync_> enuf juvenility, i gotta run. was fun take care
[14:31:05] <amee2k> :3
[14:31:19] <OndraSter> what's wrong on living with your parents when you are studying on uni?
[14:31:26] <OndraSter> when the uni is in your home town
[14:31:28] <amee2k> lol nothing
[14:31:48] <amee2k> except that my mom would drive me crazy
[14:32:11] <OndraSter> haha
[14:32:14] <vsync_> OndraSter: perhaps keep your comments about other people's juvenility to yourself then :)
[14:32:18] <OndraSter> :P
[14:32:24] <OndraSter> well you are the only two alive
[14:32:29] <OndraSter> and sometimes twnqx says something
[14:32:34] <OndraSter> so I had to pick somebody
[14:32:50] <vsync_> :((((me always
[14:32:57] <twnqx> :P
[14:33:00] <vsync_> i like thebear guy cause he's usually drunk
[14:33:35] <OndraSter> didn't he say something that he is trying to stay out of alcohol's way?
[14:33:53] <vsync_> i should really go to bed. I've been working 14 hours straight and slept ~three hours last night :( so pardon my a-holeism tonight
[14:33:59] <OndraSter> the_nihilant, is your nickname related to half life?
[14:34:16] * amee2k idly nuzzles bsdfox
[14:34:18] <vsync_> is your nickname related to latin?
[14:34:25] <vsync_> the_nihilant: that is
[14:34:40] <the_nihilant> OndraSter: oh, somebody who recognised the reference... at last
[14:35:02] <amee2k> lol, i never played half life all the way
[14:35:30] <OndraSter> yay the_nihilant
[14:35:35] <OndraSter> wasn't it nihilanth though?
[14:36:02] <OndraSter> or did you hit nickname length limit?
[14:36:17] <amee2k> gotta have a unique touch on there >_>
[14:37:09] <the_nihilant> OndraSter: let's say that when I chose the nick I didn't remember the correct spelling
[14:37:18] <the_nihilant> and the wrong one kinda stuck
[14:37:37] <OndraSter> heh
[14:39:59] <amee2k> hehe, i kinda know how that goes >_>
[14:40:37] <OndraSter> let me guess, you made your nickname in the year 2000, amee2k ? :D
[14:40:44] <OndraSter> not thinking anybody will survive to 2001
[14:41:21] <amee2k> i didn't, but incidentially i found out later that the inspiration for it was created in 2000
[14:41:46] <amee2k> i didn't entirely realize that people would keep mistaking me for a wolf chick all the time until the name kinda stuck >_<
[14:41:56] <OndraSter> wolf chick?
[14:42:31] <amee2k> "amee" sounds the same as "amy" to most people, which is a female name
[14:43:03] <OndraSter> oh
[14:43:13] <OndraSter> well I think you are german for some reason
[14:43:20] <amee2k> and and somehow people seem to think that wolves are the only canids sometime *pout*
[14:43:21] <OndraSter> so I think of it as "amee", not amy
[14:43:33] <vsync_> oh really. I didn't know that about amys. Please do continue
[14:45:09] <amee2k> http://www.studiocute.com/store/images/canine-wildheart-demo.jpg
[14:45:39] <Fleck> ?
[14:45:45] <OndraSter> nice amee2k
[14:46:02] <amee2k> they have a fox one too lol
[14:47:12] <amee2k> http://d.facdn.net/art/tanidareal/1347808887.tanidareal_stuck-husky_t-shirts_reorder.jpg
[14:47:18] <amee2k> i've got the blue one >_>
[14:48:20] <vsync_> i have the rainbow colored where two elephants are humping
[14:48:30] <amee2k> pics or it didn't happen
[14:48:36] <vsync_> you are not worthy
[14:48:37] <OndraSter> I have got "The cake is a lie"
[14:48:56] <OndraSter> and also "Don't lie to me" with a cake in the middle :P
[14:49:10] <amee2k> http://d.facdn.net/art/tanidareal/1378932931.tanidareal_ef19_shirt_kacey-tani.jpg
[14:49:11] <amee2k> and that one
[14:49:30] <vsync_> and i have this shirt, after three acid hits it'll show you how everything is connected
[14:49:42] <vsync_> and how everything makes perfect sense
[14:52:23] <vsync_> i'll sell it for a few mp3 decoder chips
[14:52:50] <vsync_> actually, has to be flac capable aswell
[14:59:47] * amee2k idly nuzzles the_nihilant
[15:01:51] <the_nihilant> I have been here: http://blog.tobis-bu.de/wp-content/uploads/2012/10/trollcon.jpg
[15:02:03] <the_nihilant> and I have a nice T-shirt with a trollface on it :D
[15:03:26] <amee2k> i want to trademark the trollface
[15:03:28] <amee2k> :3
[15:03:43] <amee2k> so every time someone links to it, they owe me a dollar
[15:08:41] <Casper> amee2k: sorry, someone already trademarked it, try earlier next time :D
[15:09:37] <amee2k> nah, no big deal
[15:09:37] <vsync_> i want to organize hitlercon
[15:09:48] <amee2k> i'll trademark "thats what she said" then instead
[15:09:49] <vsync_> the whole of #avr is welcome
[15:10:52] <vsync_> you know, to endorse vegetarianism and abstemiousness
[15:12:00] <vsync_> already tried goebbelscon but that was a major letdown
[15:13:33] <amee2k> try PAFcon :>
[15:16:29] <vsync_> i was at mussolinicon last year
[15:16:44] <vsync_> not as fabulous as idiamancon though
[15:17:21] <vsync_> not to mention zedongcon
[15:17:43] <learath> wow.
[15:32:00] <daowee> vsync_: you're missing out if you're not going to potcon
[15:35:43] <vsync_> totally
[15:36:12] <Tom_itx> this channel is about atmel avr microcontrollers
[15:36:24] <Tom_itx> keep that in mind as you type
[15:43:31] <twnqx> he smoked up too many AVRs :X
[16:31:03] * Tom_itx warns OndraSter and vsync_ about posting such links in this channel
[16:31:29] <OndraSter> that's a long ping
[16:31:31] <OndraSter> and I said nsfw
[16:31:32] <OndraSter> many times
[16:34:50] <Tom_itx> OndraSter, just getting complaints that avr is straying too far from topic lately like so many others that go down the toilet
[16:34:56] <Tom_itx> don't care to see that happen
[16:35:12] <OndraSter> ah
[17:31:46] <Roklobsta> sweet 2 new 8oo10c
[17:31:51] <Roklobsta> crap
[17:31:59] <Roklobsta> wrong channel again
[19:16:55] <ryan-c> Does anyone know if adding a timer interrupt to a project running LUFA will cause problems?
[19:17:21] <ryan-c> I need to do software PWM in a device that acts as a USB keyboard
[19:18:16] <Tom_itx> there was discussion about that some time back
[19:18:40] <ryan-c> http://www.avrfreaks.net/index.php?name=PNphpBB2&file=printview&t=91243&start=0 < this looks relevant but I can't seem to reach avrfreaks right now
[19:18:45] <Tom_itx> i think you should be ok but i'd ask dean for sure
[19:20:25] <ryan-c> Does he hang around here? I'm not sure what the best way to ask would be.
[19:22:24] <Tom_itx> yeah
[19:22:33] <Tom_itx> just ask him, nick is abcminiuser
[19:22:41] <Tom_itx> not here atm
[19:22:44] <ryan-c> alright, thanks.
[19:22:47] <Tom_itx> but usually shows once a day or so
[19:22:50] <ryan-c> m
[19:23:20] <ryan-c> I've used V-USB for project before, but LUFA is new to me.
[19:23:38] <Tom_itx> yep, he's got alot of examples in it though
[19:24:14] <ryan-c> yeah, i see that
[19:24:27] <ryan-c> including some composite devices which should be helpful
[19:25:07] <Tom_itx> he's on norway time
[19:25:33] <ryan-c> is that UTC+1?
[19:25:41] <Tom_itx> i'm not sure
[19:25:50] * ryan-c looks it up
[19:25:56] <Tom_itx> he was here this afternoon
[19:26:02] <ryan-c> yeah, it's UTC+1
[19:26:55] <ryan-c> is avrfreaks down for you?
[19:35:04] <uhsf> ryan-c: It's not just you! http://www.avrfreaks.net looks down from here. http://isup.me/www.avrfreaks.net
[19:40:10] <Casper> look like they are getting DDoSed
[19:40:53] <Fornaxian> must be pic freaks doing it!
[19:46:24] <Casper> or ex rizon ceo nessun doing it...
[19:56:13] <Casper> for those that don't know it, nessun and his friends was at the head of rizon.net... and was ddosing other networks to try to gain more people... there has been suspicion for a long while, but no real proof... sadly, it did worked
[19:56:48] <Casper> but then, they attacked one of too many network... and one of them collected logs and called the police... the evidence was too much, that head fell...
[19:57:25] <Fornaxian> never heard of rizon.net or nissun before.
[19:57:28] <Fornaxian> nessun
[19:59:03] <Casper> weirdly, the news didn't circulate much
[19:59:22] <Casper> and that being about 9 years ago.. people even forgot that he existed
[20:14:46] <sre-su_> Can usbasp be used for flashing hex on 8051?
[20:15:34] <Fornaxian> not without some modifications.
[20:15:57] <Fornaxian> don't modern 8051 chips have uart based bootloaders built in?
[20:23:40] <sre-su_> I'm not sure. I'm using Philips 89v51
[20:26:47] <Fornaxian> http://www.futurlec.com/Philips/P89V51RB2FN.shtml
[20:26:52] <Fornaxian> datasheet is on there.
[20:26:58] <Fornaxian> page 20 talks about the serial bootloader.
[20:29:45] <Fornaxian> basically, you initiate ISP mode then with a terminal program you send an intel .hex file.
[20:30:49] <Fornaxian> page 21 is where the info for ISP is.
[20:32:01] <Fornaxian> it is a bit more complex than just sending the .hex file but not by much...looks very similar if not identical to the ds89c450 chip's bootloader.
[20:32:09] <Fornaxian> I'm guessing it's an 8051/2 standard.
[20:32:25] <bisector> Is there anyone here with any experience with AVR stuff on Gentoo linux?
[20:32:49] <bisector> I'm having a really hard time building avr-gcc
[20:38:04] <Fornaxian> bisector, sorry from this side of the world...haven't used gentoo in a long time.
[20:39:46] <bisector> Fornaxian, thanks anyways - I'm having a hell of a time finding any documentation other than like 5 year old stuff about arduino
[20:40:07] <Fornaxian> should be some build instructions..let me look.
[20:40:17] <Fornaxian> I use debian myself and mostly use the prebuilt stuff.
[20:41:12] <bisector> I think I might resort to doing it by hand or just finding prebuilt binaries
[20:41:25] <bisector> so far I've been trying to do it the "right" way
[20:41:28] <Fornaxian> http://wiki.hacdc.org/index.php/Installing_AVR_Toolchain
[20:43:20] <bisector> thanks, unfortunately those are the same instructions that so far haven't been working for me
[20:44:08] <Fornaxian> http://www.nongnu.org/avr-libc/user-manual/install_tools.html
[20:44:15] <Fornaxian> there is always manually building from source then.
[20:45:32] <bisector> Yeah, I think I'm going to have to go that route
[20:45:50] <bisector> have you done it lately? If so any tips?
[20:46:03] <Fornaxian> when I've had to use those instructions I didn't have any problems...make sure your gcc compiler is up to date to match the one you are using to build avr-gcc though.
[20:46:22] <Fornaxian> I haven't had to do it lately as debian seems to have a decently up to date set for me...
[20:46:52] <bisector> cool, I think I'll be giving that a shot soon
[20:47:07] <bisector> thanks!
[20:47:45] <Fornaxian> welcome.
[20:48:28] <Fornaxian> and remember the order...you have to do binutils, then gcc, then avr-libc
[20:49:01] <Fornaxian> at least, I think you have to do binutils first...I know you have to have binutils and gcc done before doing libc because they are used to create it.
[23:52:29] <Casper> jadew: do you have an idea how I could get an additional rebate for the stuff due to the delay?
[23:53:14] <Casper> I currently asked 2 other distributor for when they can have it and at how much