#avr | Logs for 2013-07-10

Back
[03:42:19] <braincracker> h
[03:42:59] <braincracker> what may cause an atmega to read only like 900 instead of 1023 if i mux the internal 1.1V ref to the input that is used as reference ?
[03:43:13] <braincracker> pin is not loaded
[03:45:12] <bitd> You sure the input voltage reaches 1.1V? :P
[03:46:37] <braincracker> well it measures internally 0.9413V, i switch to 1.1V ref, measure on with multimeter, and it is 1.091V
[03:46:39] <braincracker> ;/
[03:46:50] <braincracker> like if the internal magic mux died
[03:48:40] <bitd> Tried it with a different atmega?
[03:49:08] <braincracker> no
[03:49:17] <braincracker> but this worked better before
[03:49:32] <braincracker> did i accidentally short the vref to gnd and it killed the internalmux?
[03:50:02] <braincracker> no idea how could this happen but ;/
[03:50:45] <braincracker> or the internal switch is not break before make, and it dies naturally
[03:51:21] <bitd> Well yeah, it seems like -something- died.
[03:51:55] <bitd> No way to switch out the atmega?
[03:57:55] <braincracker> i have spare parts, but i don't see how this should die.
[03:58:19] <bitd> Hahaha, well probably the least painfull method of finding out if it actually did die.
[03:58:27] <braincracker> it seems like if technicians failed badly
[03:58:55] <braincracker> ok, what if i start my program with another atmega ant it dies too?
[03:59:17] <bitd> Yes, there is that :
[03:59:18] <braincracker> or just not work?
[04:00:07] <bitd> Sure, theres that chance, but it might also work.
[04:00:16] <braincracker> i remember it was about right, i have even calibrated the int ref to 1.059V
[04:00:29] <moemoe> hi, does anyone has experience with avrdude trunk and jtagice3 in pdi mode?
[04:00:36] <bitd> Weird problem braincracker
[04:00:40] <braincracker> i think "only" the internal mux died
[04:01:08] <braincracker> because if i select the 1.1V reference, and measure with my multimeter at the pin, it is 1.091V
[04:01:32] <braincracker> i mux the same ref for measurement, and i get 0.9413V
[04:01:37] <braincracker> ...
[04:02:02] <braincracker> it should be full-scale.
[04:02:35] <bitd> Something is giving impedance, so probably something died, indeed.
[04:03:24] <braincracker> i can wash the board with some alcohol, but nothing else
[04:04:01] <braincracker> it is tqfp btw
[04:06:01] <bitd> Thats kind of painfull to replace, lol.
[04:06:51] <braincracker> i just wanted extra feature to measure own power supply voltage
[04:07:03] <braincracker> not really important, but nice feature
[04:07:24] <bitd> Yeah, and now you need to find out why its going fubar.
[04:07:56] <braincracker> i assume it is bad design, and it is a manufacturer error
[04:08:32] <braincracker> so i need an external reference and 2 resistors to measure power supply voltage
[04:08:58] <braincracker> and leave alone the magic internal mux
[04:09:43] <bitd> Haha, not as sexy, but whatever.
[04:10:46] <braincracker> yeah, external components ;< 2x 0603-0805 resistors, 1x sot-23 reference, $0.4
[04:11:01] <braincracker> anyway, it will be 0.5% precision then
[04:11:33] <bitd> Just out of curiosity, what are you building?
[04:11:35] <braincracker> takes a few pins...
[04:11:40] <OndraSter__> 0.5% ref + whatever ADC does
[04:12:47] <braincracker> i added integration and it is very stable with my hall potmeter
[04:13:23] <braincracker> various things bitd
[04:14:03] <braincracker> timer, temperature controller, motor control, led effects
[04:14:40] <bitd> For marketing purposes or own comfort? :P
[04:14:51] <braincracker> and it is a must to have a power supply voltage measurement for automotive
[04:14:56] <braincracker> both
[04:16:09] <braincracker> now i don't know yet if the 1.1V internal ref works if i input external signal to some adcs
[04:16:45] <braincracker> the internal magic mux is definitely not cool
[04:17:27] <braincracker> i only have 1.250V ref now
[04:18:25] <braincracker> being lazy to wire up a potmeter on it
[04:26:31] <BJfreeman> braincracker http://extremeelectronics.co.in/avr-tutorials/using-the-analog-to-digital-converter/
[04:26:46] <BJfreeman> REFS1 REFS0 selects the reference voltage
[04:28:39] <braincracker> ADMUX &= ~(1<<REFS1); // AVcc with external capacitor at AREF
[04:28:39] <braincracker> ADMUX |= (1<<REFS0); // AVcc with external capacitor at AREF
[04:28:46] <braincracker> ADMUX |= (1<<REFS1)|(1<<REFS0); // AVcc with external capacitor at AREF
[04:28:46] <braincracker> ADCSRA=(1<<ADEN)|(1<<ADPS2)|(1<<ADPS1)|(1<<ADPS0); // div128 prescaler 62500Hz
[04:28:48] <braincracker> good?
[04:29:11] <braincracker> avcc, and 1.1v internal ref selection
[04:32:06] <braincracker> anyway is this correct?
[04:32:08] <braincracker> ch=ch&0b00001111;
[04:32:08] <braincracker> ADMUX|=ch;
[04:32:21] <braincracker> it only sets bits, does not reset
[04:32:39] <braincracker> wondering if reserved combinations kill the mux...
[04:34:09] <BJfreeman> braincracker your comments are the same for each selection and what you show does not match the link,
[04:34:41] <braincracker> yeah i did some copy pasting, comments just went
[04:35:03] <braincracker> i have used both btw
[04:35:14] <braincracker> so if invalid combinations kill the mux then i did that
[04:39:42] <Roklobsta> anyone use the code::bolcks ide?
[04:42:27] <antto> me \o/
[04:43:04] <Roklobsta> you likey?
[04:43:11] <Roklobsta> for debug too?
[04:44:05] <Roklobsta> tooled through codelite, qt creator, kdevelop too. nice to see blocks does avrgcc right away
[04:46:17] <antto> Roklobsta i use it with mingw/gcc for my C++ projects, and with avrgcc for teh avr stuff
[04:46:43] <antto> it's nice that it works on windows/linux and whatnot
[04:47:14] <Roklobsta> exactly
[04:47:53] <Roklobsta> how is it with gdb on avr and x86?
[04:50:13] <BJfreeman> mingw has a security hole on windows
[04:50:56] <braincracker> amazing, i have connected adc7 to gnd, reads 0-1, connected it to aref pin, and reads 1023
[04:52:46] <braincracker> init_ADC_1v1(); bandgapv = ADC_read(0b1110); gives 915
[04:52:47] <antto> Roklobsta uhm, i don't use a debugger with my avr stuff
[04:52:53] <Roklobsta> wuss
[04:53:03] <BJfreeman> must have the Aref connected to VCC
[04:53:08] <braincracker> no
[04:53:27] <braincracker> it has internal bandgap reference that should be selectable
[04:53:59] <braincracker> otherwise you can not use the temperature sensor for example
[04:55:12] <BJfreeman> sensors that go effectively +- use 2.5 as zero
[04:56:23] <BJfreeman> on a 5v system
[04:56:38] <Roklobsta> i have no trouble using the adc in the past
[04:56:48] <Roklobsta> i wonder what's the issue
[04:59:29] <BJfreeman> not sure i use lots of ADC in subsystems flight systems
[05:13:39] <braincracker> yeah, my sensor has 0.5 VCC as zero
[05:13:45] <braincracker> works fine
[05:18:31] <braincracker> ch=ch&0b00001111;
[05:18:32] <braincracker> ADMUX &= 0b11110000;
[05:18:32] <braincracker> ADMUX|=ch;
[05:18:46] <braincracker> who can tell why this does not work as expected?
[05:20:38] <cart_man> Hows a ARM different from an AVR?
[05:20:54] <braincracker> it is faster
[05:21:34] <OndraSter__> different arch
[05:21:36] <OndraSter__> completely
[05:24:29] <cart_man> So the coding couldnt be done in C?
[05:24:36] <cart_man> does it use VHDL?
[05:24:41] <Roklobsta> c
[05:24:45] <Roklobsta> asm
[05:24:45] <Roklobsta> c
[05:28:58] <cart_man> Will it be hard to learn after I have some really good experience with AVRs?
[05:29:02] <cart_man> and C in total?
[05:45:38] <braincracker> uh, core temperature dropped from 35C to 31.9C moving from 5.12V to 4.09V on the atmega?
[06:45:04] <district> braincracker: that surprises you? :P
[06:45:59] <district> oh nevermind, i totally didn't read the backlog.
[06:59:11] <RikusW> megal0maniac_afk: http://www.netram.co.za/Electronics/Components/Reverse-Polarized-SMA-Connector.html
[07:01:04] <Tom_itx> gps antenna?
[07:02:25] <RikusW> the conector he should have gotten
[07:15:47] <RikusW> megal0maniac_afk: https://www.sparkfun.com/tutorials/140
[07:32:00] <RikusW> so have anyone used jam instead of make before ?
[09:08:34] <jwhitmore> hello all, trying to find info on avr-gcc on stuff like directives to set Fuses in processor. Not sure if there's a specific User Guide for the AVR version of gcc. Found the wiki but didn't find much there
[09:46:57] <kdehl> Anyone of you guys know about PS/2 and Microchannel?
[09:47:07] <kdehl> Isn't it so that I need a BIOS driver on a floppy for each new card that I wish to install, or did I make that up myself?
[09:57:52] <timemage> heh, wow.
[10:00:01] <timemage> kdehl, all i remember about microchannel was that it was much advanced over isa and it was designed after ibm learn-their-lesson, which meant it was nowhere to be found.
[10:00:57] <kdehl> Yeah. Crap.
[10:01:02] <kdehl> Oh well.
[10:01:40] <kdehl> I just bought a PS/2 P75 (A 486 computer), and it needs ethernet.
[10:01:44] <timemage> kdehl, you got an old machine you're playing with?
[10:01:50] <timemage> ah
[10:02:07] <kdehl> I figured I could just buy an ethernet card off ebay.
[10:02:20] <timemage> you have software for it that would be able to make use of an ethernet card?
[10:02:44] <kdehl> I found a 3COM EtherLink III, which I guess is about as standard as it could get (apart from those NE2000 cards).
[10:02:53] <kdehl> Yeah, I'll do NetBSD, I think.
[10:03:00] <kdehl> Which does have support for it.
[10:03:08] <kdehl> I just wonder if I need to configure it first.
[10:05:25] <timemage> ne2000 kind of was the soundblaster of ethernet cards. if you have a choice i'd go with that over the 3com card even though 3com cards were good.
[10:05:40] <kdehl> Yeah.
[10:05:46] <kdehl> Couldn't find an ne2000 though.
[10:06:05] <kdehl> But damn, $61. That's more than I paid for the computer.
[10:06:45] <timemage> i dunno that they ever made them for mca. it would make sense that 3com did though. iirc, 3com was founded by metcalf.
[10:07:05] <timemage> heh. i'm not surprised.
[10:07:22] <kdehl> Oh well.
[10:07:40] <kdehl> I'll make an offer of $30, if he doesn't accept it, I guess I'll have to pay it.
[10:07:44] <kdehl> _have_ to. Heh.
[10:09:41] <timemage> offer to send them pictures of it working in the system.
[10:11:00] <timemage> do you have the system booting already?
[10:11:32] <kdehl> Oh yes. It runs windows 3.1
[10:11:44] <timemage> heh
[10:11:53] <kdehl> There's barely a scratch on the computer. Old SCSI drive spins like a cat.
[10:12:11] <timemage> i was just thinking you might want to do the work of getting bsd working before bothering with the card.
[10:12:14] <kdehl> It seems to been barely used at all.
[10:12:26] <kdehl> Yeah, that's true.
[10:13:03] <kdehl> Only problem I have right now is that I need to configure the BIOS, but in order to do so I need to boot from a floppy. But... I don't have any other computer with a floppy!
[10:13:28] <kdehl> My GF comes by tomorrow, she'll bring an old laptop wich has it.
[10:15:25] <kdehl> http://www.tradera.com/ibm-ps-2-p75---------ovanlig-modell--auktion_340854_182782940
[10:15:28] <kdehl> That's the one.
[10:16:04] <kdehl> The boot error message is because the BIOS battery is dead.
[10:16:05] <timemage> i suppose you could take other machine and run something like slurp on it then attach the ps/2 through serial.
[10:17:05] <timemage> weird. i didn't think it was a luggable.
[10:18:53] <kdehl> Yeah. I have a null modem cable already, but this bitch has a 25-pin serial port.
[10:18:59] <kdehl> I ordered a converter on ebay, hope to get it this week.
[10:20:35] <timemage> kdehl, you must love this thing warts and all.
[10:22:03] <kdehl> Haha.
[10:22:03] <kdehl> Well, my friend's dad has one of these when we were kids, so it's a little nostalgic.
[10:22:18] <kdehl> I was just thinking, maybe I should get a sound card as well.
[10:23:02] <timemage> kdehl, lhx attack chopper on one. (also 688 attack sub).
[10:25:12] <kdehl> timemage: Test Drive 2, and Prince of Persia.
[10:25:22] <kdehl> And of course Leisure Suit Larry.
[10:37:09] <tzanger> 688 attack sub, my god I remember building a 50 foot null modem cable to play that
[10:40:50] <timemage> heh.
[10:59:47] <braincracker> kdehl <= those ethernet cards and many old junk sells in the range $0.4 - $2 around here
[11:01:14] <braincracker> 486 ? i don't even have that old stuff... my oldest thing is a pentium 1 class celeron >233MHz
[11:02:04] <braincracker> the 600Mhz intel p3 looks nice though with sd-ram, i have recovered hdds with that years ago
[11:03:13] <braincracker> the cpu is slot-1 and works fine without a fan on the passive heat-sink ;>
[11:03:37] <braincracker> (did a burn-in test too)
[11:18:36] <kdehl> braincracker: MCA=
[11:18:38] <kdehl> ?
[11:19:09] <braincracker> hm?
[11:22:47] <kdehl> Microchannel Ethernet cards.
[11:22:59] <kdehl> I've never seen any.
[11:23:48] <braincracker> i was thinking about isa, pci
[11:24:13] <braincracker> and i don't search through junk boxes
[11:24:28] <braincracker> stepper motors interest me more
[11:24:45] <BJfreeman> some day if I ever get to clean out my storage, I have some 1985-90 systems
[11:25:15] <braincracker> oh i liked the 8 segment displays btw
[11:25:30] <braincracker> i have a double too, too bad it is only 2 digits
[11:25:52] <braincracker> however, 2-3 of them would make great service
[11:26:14] <BJfreeman> Including and z80 exidy, and commadore 1000
[11:27:19] <braincracker> i remember playing on some c64 thing about 20 years ago
[11:29:26] <BJfreeman> my first computer was a wirewrapped s-100 dual ported ram in 1976
[11:29:32] <braincracker> :)
[11:31:51] <BJfreeman> I thought ED was like what word is now. boy was I in for a awakening
[11:32:53] <kdehl> Heh. I just lost all my Commodore and ABC (Swedish computer producer in the 70s and early 80s). I had it in my storage and it was all stolen.
[11:33:03] <BJfreeman> Just ordered 4amp 40volt Stepper drivers
[11:33:05] <kdehl> They must have used a trailer to get it all out.
[11:33:39] <BJfreeman> sorry to hear that
[11:33:40] <braincracker> they sold it to a museum
[11:34:28] <kdehl> Yeah, the thing was that that only a year earlier I had cleaned everything out and given away all the stuff I didn't want to keep to a museum.
[11:34:55] <kdehl> Oh well, enough whining about that.
[11:35:33] <braincracker> you didn't arm the security system (motion aiming laser rifle)
[11:36:04] <kdehl> I do have my suspects.
[11:36:19] <kdehl> A Roma family moved in, and suddenly things started to disappear.
[11:36:26] <braincracker> o yes
[11:36:30] <BJfreeman> takes a lot to get a 40-400 watt lazer these day
[11:36:35] <braincracker> the indians
[11:36:49] <RikusW> kdehl: gypsies ?
[11:37:01] <kdehl> RikusW: Yup.
[11:37:22] <braincracker> BJfreeman<= not that much you think, co2 lazer is cheap, (us military has 100kW SS laser diodes )
[11:38:10] <BJfreeman> not price but have to convince them you not going to use it as a weapon
[11:38:47] <BJfreeman> I am trying to get them for my CNC machine
[11:39:03] <braincracker> definitely not <; it is just you know for playing around, cutting some inch thick metal plates
[11:39:57] <BJfreeman> making parts for my johnny 5 like robot
[11:40:21] <braincracker> then mounting one on it;>>
[11:40:40] <BJfreeman> that is what they ask
[11:41:18] <braincracker> oh no, is is only for self defense ;< poor thing can't protect itself against the gypsies
[11:42:12] <BJfreeman> actually the model I am working on is to assist in senior living
[11:43:43] <braincracker> http://pufone.org/blog/in-gold-we-trust/ you just know when you see these hard working gypsies...
[11:44:49] <BJfreeman> using the laser pointer as lidar
[11:45:13] <BJfreeman> so have a lot of substems that are AVR
[11:53:07] <braincracker> making lidar out of laser printer ? :)
[11:54:14] <BJfreeman> laser pointer like you use for presentations
[11:57:29] <braincracker> i mentioned it because it alreda contains a scanner
[11:57:33] <braincracker> dy
[11:57:56] <braincracker> so, only a ccd and a laser scanner needed with some signal processing?
[12:00:36] <braincracker> BJfreeman<= $2M toy http://en.wikipedia.org/wiki/Boeing_AH-6
[12:01:46] <BJfreeman> yup http://www.wickedlasers.com/nano and http://www.ebay.com/itm/5-Mega-pixel-Camera-Module-OV5642-1080P-JPEG-Output-/271130719953
[12:03:25] <BJfreeman> I am into drones but a little smaller
[12:36:27] <braincracker> i assume you use a beahlebone for this :)
[12:36:36] <braincracker> beaglebone
[12:52:13] <BJfreeman> I am mostly into STM32 and olimex with a allwinners A13 and A20
[12:53:25] <BJfreeman> my main hobby/business is CanBus 2.0 stuff to Automotive and RV
[12:54:55] <MrM0bius> BJfreeman, have you made any board with allwinner stuff yet?
[12:56:32] <BJfreeman> I have a olimex A13 with Android on NAND and Wifi. that is my main interface to the automotive stuff
[12:57:09] <MrM0bius> id like to get a board for one of those but eventually make my own board. it seems like that would be a harder board to make though.
[12:58:48] <BJfreeman> the Eagle files are avialible for reference and once you understand the Power and A13 I don't see it a problem. I have studied the Schematic and dug into the chip
[12:59:33] <MrM0bius> ya. isnt there a lot of other stuff you have to think about though at speeds like that?
[13:00:27] <BJfreeman> lots of good info https://github.com/OLIMEX/OLINUXINO/tree/master/HARDWARE
[13:00:44] <BJfreeman> look at the A13 folders
[13:02:01] <BJfreeman> I use eagle so I can group copy paste to a new schematic
[13:02:22] <BJfreeman> and I have the routing to consult
[13:03:12] <BJfreeman> there are a few on #olimex that have done standalone A13
[13:04:12] <MrM0bius> nice
[13:08:34] <braincracker> there are crosstalks, delay lines, transmission lines, skin effect at 1GHz
[13:09:10] <braincracker> thinking about hand-routing a motherboard?
[13:09:30] <braincracker> 8-16 layers
[13:10:40] <BJfreeman> max I have done is 4 layer and that was mostly power and grnd planes
[13:11:02] <braincracker> that is basic
[13:11:28] <BJfreeman> yeah I am a minimalist
[13:11:50] <braincracker> sure, if there is no need for 6 way 128 bit databuses
[13:12:38] <BJfreeman> I shy away for multicore and try to break things down to modules
[13:13:20] <braincracker> i was talking about only a single board
[13:13:51] <braincracker> the data bus must be fast
[13:14:08] <BJfreeman> yes I know but I take single boards and make them modules on a backplane
[13:14:29] <braincracker> okey sometimes it is nice going to 3d :)
[13:14:54] <BJfreeman> more for flexiblity of the system
[13:14:56] <braincracker> the "hyperplane" decreases distance ;)
[13:15:19] <braincracker> but you know, the earth is still flat for most
[13:15:30] <BJfreeman> I design or system life cycles
[13:16:45] <BJfreeman> if you make sphere large enough you can visualise flat
[13:17:41] <antto> and if light bends around it - you'll be able to see your own a$$ in the distance
[13:17:43] <antto> ;]
[13:17:52] <BJfreeman> that is the way then do in math break down a curve to is flat part
[13:18:26] <braincracker> i don't but ok
[13:19:28] <BJfreeman> when doing 3D that is the way to get best curves
[13:19:54] <braincracker> no, that is the way nvidia does it
[13:20:11] <braincracker> because it is simple and cheap
[13:20:38] <BJfreeman> do not know nvidia
[13:21:03] <BJfreeman> I use DSP
[13:22:46] <braincracker> atmega driving multiplexed 5x8 segment display using 2x 74hc595's, having precision watch crystal timebase, displaying time, core temperature, avcc...
[13:22:48] <braincracker> :)
[13:23:21] <BJfreeman> nice
[13:23:49] <braincracker> 256Hz POV / 5 digits is nice, no flicker
[16:28:49] <Roklobsta> what's an ITX?
[16:31:54] <Tom_itx> a arm pc
[16:34:22] <Roklobsta> oh nice, a VIA board?
[16:42:04] <Tom_itx> an older one
[16:42:29] <Tom_itx> http://tom-itx.dyndns.org:81/~webpage/itx/EPIA-MII-45.jpg
[16:43:26] <Roklobsta> nice, been a while since i saw pcmcia
[16:43:29] <Roklobsta> or pci
[16:44:25] <Roklobsta> heh, looks like an FCC nightmare
[16:45:39] <Roklobsta> is there a law forbidding american garages to leave plasterboard unpainted?
[16:46:14] <Roklobsta> <joke ruined by double negative?
[17:09:56] <RikusW> http://www.eeweb.com/electronics-forum/has-anyone-seen-mulpin-embedded-parts/
[17:13:43] <Roklobsta> interesting. back in 2004 my company tried throughhole-via-less pcbs that instead used a pad/mound combination. when the layers are sandwiched a pointy mound would contact an opposing pad. an 8 layer board with no throughhole via's was weird to see. we didn't end up using it as the registration for the size of board was not good enough.
[17:14:19] <Roklobsta> i think this process is used on most mobile phones.
[17:15:11] <Roklobsta> but you can imagine how much better routing and plane use is with no via holes.
[17:22:16] <RikusW> interesting
[17:29:57] <Roklobsta> i'd post an URL to the process but I can't seem to google it!
[17:34:19] <Roklobsta> every via is essentially buried.
[17:38:35] <Tom_itx> my via is sitting right here
[17:39:37] <Roklobsta> tiddy boom tschhhh
[17:39:47] <Roklobsta> you'll be here all night
[19:31:53] <Roklobsta> rikusw: The mound/pad process I just found out was abandoned. The closest now might be Panasonic's ALIVH and B2IT.
[19:31:55] <Roklobsta> http://www.ami.ac.uk/courses/topics/0262_hdi/
[19:33:08] <Roklobsta> toshiba developed B2IT
[19:35:57] <Roklobsta> The NeoManhattenBumpInterconnect is close to what I am thinking of too. http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CC0QFjAA&url=http%3A%2F%2Fwww.kmtek.co.kr%2Fkorean%2Fdownload.php
[19:36:16] <Roklobsta> poop google overload
[21:29:25] <ferdna> why is my NTP: time.nist.gov... 20 minutes behind my cell phone time?
[21:31:45] <BJfreeman> can you read the output directly from the nist
[21:32:07] <Roklobsta> isn't gps time 20mins behind utc?
[21:33:44] <ferdna> but windows has to fix it according it to my timezone...
[21:33:45] <ferdna> no?
[21:34:23] <Roklobsta> http://leapsecond.com/java/gpsclock.htm
[21:34:42] <Roklobsta> gps is 15 seconds ahead of utc
[21:34:45] <BJfreeman> I would say there is a problem with the windows time app
[21:35:52] <ferdna> i am always looking at my computer for time
[21:36:02] <Roklobsta> he's on platform 9 3/4
[21:36:35] <ferdna> ?
[21:38:09] <Roklobsta> harry potter reference
[21:38:51] <Roklobsta> what is your cell phone time? the mins should say :23
[21:38:55] <Roklobsta> :24
[21:39:17] <ferdna> 21
[21:39:18] <ferdna> 24
[21:39:23] <ferdna> 25
[21:39:49] <ferdna> 8:25pm... computer 8:07pm
[21:40:05] <Roklobsta> computer is wonky. ok
[21:40:07] <ferdna> so my computer is UTC time...
[21:40:17] <Roklobsta> what is your system timezoe?
[21:40:22] <ferdna> -7
[21:40:26] <ferdna> mountain time
[21:40:40] <Roklobsta> oh, also manually set the time. if it's out by a certain amount then ntp won't sync
[21:40:48] <Roklobsta> i don't know if it's more or less than 20mins
[21:40:56] <ferdna> Roklobsta, it will sync perfectly..
[22:51:11] <ferdna> Roklobsta, i found the problem...
[22:51:24] <ferdna> its my time server...
[22:52:57] <ferdna> ipcop was redirecting all ntp request to itself
[22:52:57] <ferdna> =)
[22:59:33] <Roklobsta> heh PEBKAC
[23:00:01] <Roklobsta> it's always pebkac.
[23:00:50] <Roklobsta> in the past i have made a GPS/PPS interface for ntpd. Not too tricky to get the PPS going in onto the serial port.
[23:02:44] <Roklobsta> having used gps on 8 bit systems i'll add the hint that at startup you should send commands that turn off all output bar the RMC command.
[23:03:52] <Roklobsta> a project i inherited spent 1/2 the cpu time waiting for and stripping out the useless other messages that come out. they also intefere with the timing of RMC message with respect to the pps.
[23:17:06] <Casper> does anyone here use openvpn on iphone?
[23:22:31] <IanCormac> Can you?
[23:22:46] <IanCormac> OpenVPN is such a pain in the ass to set up compared to L2TP/IPSec
[23:22:52] <IanCormac> Why not just use that? it has native support
[23:25:56] <Casper> my cell provider block all native vpn
[23:26:18] <IanCormac> Then they probably block OpenVPN
[23:26:21] <Casper> I don't have a data plan, but unlimited web browsing plan, so all what work is what go throught their web proxy
[23:26:37] <IanCormac> Have you tried setting up OpenVPN on port 80?
[23:26:57] <Casper> yes, by default openvpn do not use the proxy, so fail
[23:27:06] <Casper> and when I set the proxy, it seems to ignore the directive
[23:27:13] <IanCormac> Hmm not familiar with your issue
[23:50:21] <Valen> openvpn can run through a proxy as i recall
[23:54:26] <Casper> the option is there
[23:54:34] <Casper> but it do not seems to obey the config
[23:54:42] <Casper> I see zero reference in the log file