#avr | Logs for 2012-12-19

Back
[06:41:45] <inflex> Been a while, but my prototype-#1 for my chest-freezer controller. http://dxp.me/i/freezer-001.png
[06:42:20] <inflex> Converts chest freezers into cool-boxes, where you can have the temp from -15 ~ 20'C
[06:42:54] * inflex uses one here at 15'C to keep his bread, butter, cooking oil, eggs, salad and fruit all cool without over chilling them
[06:44:09] <inflex> has a 16x2 LCD connected up to it and an ambient temperature sensor, along with using PT1000 sensors... though I suppose for this application I can get away with boring old thermistors
[08:09:55] <edmont> hi
[08:11:36] <edmont> double a = 0.042;
[08:11:36] <edmont> uint32_t b = 1000 * a * 1.5;
[08:11:37] <edmont> printf("%lu", b);
[08:11:46] <edmont> why the result is 42?
[08:15:00] <jadew> Tom_itx: http://imall.iteadstudio.com/electronic-components/connectors/header/im120531006.html
[08:16:24] <jadew> edmont, try adding some brackets, maybe it's not executing it from left to right
[08:18:48] <dunz0r> edmont: Might also be because your compiler interprets 1.5 as 1, since it's an int.
[08:19:35] <ok9swl> edmont: In my oppinion it is not legal to just retype float to int. It may run, but it may not.
[08:26:09] <edmont> don't worry guys, i found the problem
[08:26:37] <ok9swl> edmont: That is the most important :D
[08:27:00] <edmont> i'm using make files and changing that line didn't make the compiler to rebuild that file
[08:27:51] <edmont> anyway, it's still weird...
[08:28:05] <edmont> Irms[i] = 1000 * calVal.Ical[i] * (float)sqroot(sumI[i]*10000/nrSp)/100;
[08:28:23] <edmont> that's the complete, non simplified line
[08:29:00] <edmont> i get this error:
[08:29:01] <edmont> batmetlib.c:344:1: error: unable to find a register to spill in class ‘POINTER_REGS’
[08:29:02] <edmont> batmetlib.c:344:1: error: this is the insn:
[08:29:02] <edmont> (insn 665 664 667 3 batmetlib.c:288 (set (reg:SF 675 [ D.6582 ])
[08:29:02] <edmont> (mem/s/j:SF (post_inc:HI (reg:HI 14 r14 [orig:700 ivtmp.254 ] [700])) [0 calVal.Ical S4 A8])) 877 {*movsf} (expr_list:REG_INC (reg:HI 14 r14 [orig:700 ivtmp.254 ] [700])
[08:29:02] <edmont> (nil)))
[08:29:02] <edmont> batmetlib.c:344: confused by earlier errors, bailing out
[08:29:35] <edmont> but this works fine:
[08:29:36] <edmont> temp = (float)sqroot(sumI[i]*10000/nrSp)/100;
[08:29:36] <edmont> Irms[i] = 1000 * calVal.Ical[i] * temp;
[08:30:01] <edmont> any explanation of the error?
[08:32:10] <ok9swl> edmont: I suggest you to start with 1000.0, you will tell compiler to start using a floating aritmethic from the start.
[08:33:28] <ok9swl> edmont: It came from my instinct more than from a knowledge. I try to avoid start a equation by constant, because type and range depends on compilator and may be wrong from time to time.
[08:34:51] <ok9swl> edmont: but the error is really nice, "confused by earlier errors"
[08:35:58] <edmont> :D
[08:38:50] <ok9swl> As I think about it, I am confused by my earlier errors all the time.
[08:44:46] <edmont> ok9swl: still confused with 1000.0
[08:44:49] <edmont> :)
[08:44:57] <edmont> no problem, i'll keep two lines
[08:46:03] <ok9swl> edmont: Yes, good solution. It is still clear and effective.
[08:49:22] <Lt_Lemming> http://imgur.com/ASGLoh
[10:37:12] <Essobi> Herp.
[10:42:07] * dunz0r is happy dunz0r
[10:42:48] <dunz0r> Solved an "issue" with my Dragon, it wouldn't upload to my Attinys, sending a delay to avrdude did the trick
[10:43:01] <dunz0r> Seems they come factory set at 1MHz
[10:45:11] <Essobi> Lt_Lemming: neat board.
[10:45:33] <Lt_Lemming> thanks
[10:45:44] <Lt_Lemming> uber led driver Essobi
[10:45:55] <Lt_Lemming> 72 channels, 1080w total
[10:46:15] <Essobi> Yea, that's pretty hawt.
[10:46:43] <Essobi> Lt_Lemming: got a url for it or anything of the sort?
[10:46:53] <Lt_Lemming> not atm
[10:47:03] <Essobi> Anyone played with chip45's boot loader? I can't get that damned thing working.
[10:47:11] <Lt_Lemming> it's being developed mostly for an interactive art piece, but I do plan to take it futher
[10:47:12] <Essobi> Lt_Lemming: cool cool.. post it if you do.
[10:47:15] <Lt_Lemming> further even
[10:47:17] <Lt_Lemming> will do
[11:26:29] <OndraSter> Essobi, chip45?
[11:27:39] <Essobi> OndraSter: http://www.chip45.com/avr_bootloader_atmega_xmega_chip45boot2.php
[11:27:53] <OndraSter> h
[11:27:53] <OndraSter> ah
[11:28:09] <Essobi> Serial bootloader.
[11:28:18] <Essobi> RS485 and other fancy things supported.
[11:57:34] <Essobi> *sigh*U
[12:01:15] <discorpia> oh, chip45 seems cool
[12:02:01] <Essobi> Looks interesting anyways.
[12:02:05] <Essobi> Instructions suck.
[12:02:16] <Essobi> I see conflicting directions about bootloader size.
[12:02:35] <Essobi> Figure's they're german native speaking.
[12:02:56] <Essobi> I'm just trying to get it to work over TTL levels to start with
[12:03:00] <Essobi> in 232 mode
[12:03:46] <Essobi> I never get a bootloader id from the chip
[12:04:15] <Essobi> but if I throw on something that talks serial it works fine.
[12:05:36] <discorpia> just out of curiosity; what chip are you using it on?
[14:57:30] <Trieste> Hey, I have an ATTiny45, and I want to use its ADC in free running mode - so as per the datasheet, I set all the flags, but when I start the conversions by setting ADSC in ADCSRA, the mcu halts, no matter what are the contents of the interrupt - what could be wrong?
[14:57:56] <Trieste> s/all the flags/the necessary flags/
[15:12:39] <Trieste> also, when it hangs, the LED that's connected to a GPIO lights up very dimly, no idea why
[15:14:06] <OndraSter> ERROR ERROR: DOES NOT COMPUTE
[15:14:13] <OndraSter> you have got error in your code obviously
[15:14:18] <OndraSter> and without it we can only guess
[15:14:20] <OndraSter> using our globes
[15:14:35] <OndraSter> BUT accidentaly mine is just on warranty replacement
[15:14:39] <OndraSter> it was not working very well
[15:14:44] <OndraSter> too wrong results
[15:14:55] <OndraSter> (do you see where I am heading or should I continue?)
[15:15:06] <Tom_itx> zowie batman! 2 days in a row he's here
[15:16:27] * RikusW stripped some cellphones using sidecutters :-D
[15:16:36] <RikusW> no torx available...
[15:17:22] <RikusW> I see bga now come in silicon only versions, no epoxy
[15:17:23] <RikusW> 3x3mm with 5x5mm pads
[15:17:27] <RikusW> 5x5 pads
[15:17:30] <Tom_itx> i made a torx once
[15:17:55] <RikusW> cellphones use T6, thats tiny...
[15:18:21] <RikusW> so the bga consists only of the silicon die
[15:18:38] <RikusW> almost like flipchip
[15:24:50] <RikusW> does anyone know how to dissolve soldermask ?
[15:25:00] <RikusW> http://en.wikipedia.org/wiki/Methylene_chloride
[15:25:03] <RikusW> seems that might work
[15:25:09] <RikusW> http://components.about.com/od/Design/a/Removing-Solder-Mask.htm
[15:25:20] <RikusW> and this http://www.pcb007.com/pages/zone.cgi?a=50283
[15:25:56] * RikusW is wondering what is in C-8
[15:42:46] <Trieste> OndraSter: sorry, http://pastie.org/private/hcuk9ozsqpt605mxzg2ga
[15:45:29] <Trieste> had to go away unexpectedly, I wasn't ignoring you
[15:51:03] <OndraSter> Trieste, is that ALL of your code?
[15:52:33] <Trieste> OndraSter: it's the part that I thought was relevant, give me a second then
[15:57:32] <Trieste> OndraSter: http://pastie.org/private/8q5pr4ow2juajnedusaogg
[16:21:06] <Trieste> OndraSter?
[16:22:03] <OndraSter> Trieste, I am away
[16:31:58] <RikusW> http://www.9square.net/nokia-disassembly-guide.html
[16:43:22] <iSaleK> Hey everyone
[16:44:04] <iSaleK> I was thinking about making my own logic analyzer. Can someone tell me why is it neccessery to buffer samples? Can't I just check if port has some changes, if does, send what time did change occured and after that send values of pins
[16:44:26] <iSaleK> after that on computer I can graph values that mcu sends over uart
[16:44:32] <iSaleK> what do you think? :)
[16:44:39] <OndraSter> iSaleK, safety
[16:44:52] <OndraSter> it is much safer to blow up $.1 buffer than $10 chip
[16:44:58] <OndraSter> (and much eaiser to replace)
[16:47:13] <iSaleK> Oh, no no I know that. I was thinking about buffering it in external sdram or mcus sdram and after buffering is complete send it to computer
[16:47:36] <OndraSter> oh
[16:47:40] <OndraSter> that is because of USB
[16:47:48] <iSaleK> can't I just check if there was change, if true, send state of pins to uart and value from timer and that's it :)
[16:47:51] <OndraSter> USB is slow (12Mbit/s), high speed chips cost a small fortune
[16:48:03] <OndraSter> if you have got 12MHz signal @ 16 bits..
[16:48:12] <iSaleK> Oh, that's why...
[16:49:01] <OndraSter> anybody remembers me trying to fix the 22" LCD?
[16:49:04] <OndraSter> how I failed... twice?
[16:49:12] <OndraSter> when I got it I was pretty sure it would be caps
[16:49:14] <OndraSter> so I changed them
[16:49:18] <OndraSter> surprisingly it didnt still work
[16:49:24] <OndraSter> (they were bulged as always in LG stuff)
[16:49:29] <iSaleK> Well If I have ATmega8 with 16MHz oscilator and max baudrate set, could I use ft232 to send 2 bytes whenever changes occure on monitored pins? :)
[16:49:30] <OndraSter> so I scoped around it
[16:49:43] <OndraSter> iSaleK, well, that is 2MBaud max
[16:49:50] <OndraSter> and accidentally killed the fuse in the PSU
[16:50:08] <OndraSter> I have moved on - it has got two inputs: 5V standby/MCU/.. and 15 - 18V for panel.
[16:50:29] <OndraSter> I am using old laptop PSU with 19.5V or so input - I checked, on the input there are just SMPSs with inputs upto 24V
[16:50:31] <OndraSter> anyway
[16:50:34] <OndraSter> the LCD tries to start
[16:50:38] <OndraSter> and fails
[16:50:41] <OndraSter> and "resets" the board
[16:50:44] <OndraSter> and again
[16:50:45] <OndraSter> and again
[16:50:51] <OndraSter> I kept trying
[16:50:54] <OndraSter> I disconnected the panel
[16:51:07] <OndraSter> now the delay between startup and reset became maybe twice or three times as long
[16:51:25] <RikusW> still not working ?
[16:51:36] <OndraSter> then I grabbed V-meter and connected it on one of the gnd pads for the screws and the other end to the input (19.5V from the PSU)
[16:51:40] <OndraSter> and I noticed one VERY STRANGE thing
[16:51:48] <OndraSter> just before it resets the voltage goes down to zero
[16:51:49] <OndraSter> BUT
[16:51:56] <OndraSter> it looks like the GND actually moves UP
[16:52:07] <RikusW> oooh
[16:52:09] <OndraSter> because checking voltage at the input keeps the 19.5V
[16:52:19] <OndraSter> I think there is some MOSFET or BJT dead
[16:52:28] <RikusW> broken ground connection ?
[16:52:30] <OndraSter> I have got full service manual except original power supply
[16:52:39] <OndraSter> I haven't tested it any further
[16:53:05] <OndraSter> no idea
[16:53:09] <OndraSter> will see where I end up
[16:53:15] <OndraSter> it should be just 2 layer board
[16:53:18] <RikusW> LG seems to like the FAN7601 smps ic
[16:53:27] <RikusW> I once replaces FAN0000 with it
[16:53:38] <OndraSter> MP1583 here
[16:53:43] <RikusW> seems that was a custom number to confuse us
[16:53:48] <RikusW> it worked :)
[16:55:35] <OndraSter> http://clip2net.com/s/2CLT0
[16:55:42] <OndraSter> this is the block diagram for power supply and others
[16:55:51] <OndraSter> parts list and schematics follows
[16:55:54] <OndraSter> even board layout :)
[16:56:21] <iSaleK> OndraSter So basicly usb with 12MBit/s should be able to handle that baud rate?
[16:56:31] <OndraSter> I was doing 2MBaud with FT232RL
[16:56:39] <OndraSter> which is actually high speed device I think
[16:56:49] <RikusW> and actualy transfer rate was ?
[16:56:55] <OndraSter> I was doing only bursts
[16:57:05] <OndraSter> which were slow because I did it on my old laptop :)
[16:57:08] <OndraSter> it couldn't keep up
[16:57:20] <OndraSter> some heavy math involved there
[16:57:40] <OndraSter> I used 2MBaud because it required me to use 0 in the baud selection and had the smallest lag
[16:58:10] <RikusW> iSaleK: usb is a block protocol, if you send single bytes it will slow down dramatically... like to 1kb/s
[16:58:26] <OndraSter> usb is awful thing :)
[16:58:37] <iSaleK> :\
[16:58:43] <RikusW> was ieee1394 any better ?
[16:58:52] <iSaleK> How big blocks should be then?
[16:58:55] <RikusW> its closed spec afaik
[16:59:07] <RikusW> the bigger the better, 64 bytes or so
[16:59:21] <RikusW> or even 512 if your mcu supports that ;)
[16:59:24] <OndraSter> yeah, full speed supports upto 64B payloads on bulk endpoints
[16:59:26] <iSaleK> I would use RS232 but my laptop doesn't have one like my desktop :)
[16:59:45] <OndraSter> isochronous endpoints are upto 1023B I think even on full speed?
[17:00:02] <RikusW> I was able to achieve 76kb/s using 32byte double buffered on mega32u2
[17:00:20] <iSaleK> So I would have to store about 64bytes in eprom and then send them over uart to usb?
[17:00:29] <OndraSter> atmel showed us something over 8.7Mbit/s on xmega with almost 0% CPU load :)
[17:00:33] <RikusW> in ram...
[17:00:35] <OndraSter> more like SRAM, iSaleK
[17:00:40] <OndraSter> eeprom would die rather quickly
[17:00:45] <RikusW> DONT use eprom !
[17:01:00] <OndraSter> 8.7Mbit/s of data, protocol overhead was not in that
[17:01:57] <iSaleK> Well looking at this problem, USB sucks :)
[17:02:15] <OndraSter> we know
[17:02:25] <OndraSter> ;)
[17:02:32] <OndraSter> nothing new there :D
[17:02:59] <iSaleK> I have rs232tousb converter and it creates virtual serial port. Is that the same as the ft232 thingy? :)
[17:03:26] <OndraSter> it is
[17:03:33] <OndraSter> it will contain either ft232 or cp2102
[17:03:35] <OndraSter> (which sucks)
[17:03:52] <iSaleK> both or just cp2102? :)
[17:04:10] * RikusW wonders if SATA can be used as a peripheral bus ?
[17:04:34] <RikusW> or is it dedicated to mass storage ?
[17:04:44] <OndraSter> just the 2102 sucks
[17:04:58] <OndraSter> SATA... don't think about it without dedicated hardware in FPGA or ARM or whatever :D
[17:07:17] <RikusW> say I have the hw, how about the protocol on SATA ?
[17:07:24] <OndraSter> haha
[17:07:26] <OndraSter> I don't think it is open
[17:08:07] <RikusW> 1x pci express ? guess thats closed too ?
[17:08:14] <OndraSter> you know, it is not very nice thing to live today - back 30 years you had schematics and diagrams for your PC, for everything. Now all the docs and rfcs are closed and you have to pay!
[17:08:32] <RikusW> its a pity :(
[17:09:11] <RikusW> well back 30 years you only had 64kb of ram :-P
[17:09:16] <OndraSter> heh
[17:09:19] <OndraSter> so?
[17:09:22] <RikusW> in a PC that is ..
[17:09:29] <OndraSter> you still had all the schematics
[17:09:35] <OndraSter> with 8088, 8259, ..
[17:10:18] <iSaleK> One another thing, there is only ft232, cp2102 and mcp2200/2210 ?
[17:10:38] <RikusW> ft2232h for high speed
[17:11:00] <OndraSter> there are many FTDIs
[17:11:31] <iSaleK> but for all of them you have to make block as large as possible to get fast transfer speed? :)
[17:12:03] <OndraSter> they block it for you obviously
[17:12:08] <OndraSter> in some smart way
[17:12:09] <OndraSter> btw
[17:12:11] <OndraSter> http://thedailywtf.com/Articles/Maybe-I-Needing-Later.aspx
[17:12:15] <OndraSter> it might be me (not my code)
[17:12:18] <OndraSter> Ondra M. IS my name
[17:12:23] <OndraSter> and the code IS very familiar to me
[17:12:28] <OndraSter> but I don't remember submitting it there
[17:12:59] <OndraSter> and 3 years ago I ran linux server with webhosting..
[17:12:59] * RikusW got 2 of these lcds -> http://www.formymobile.co.uk/1208disassembly.php
[17:13:17] <OndraSter> yay
[17:13:22] <OndraSter> I have got here somewhere one from SE T22 or something
[17:13:29] <OndraSter> it has got i2c or spi or something
[17:13:34] <OndraSter> but it has got that zebra strip :(
[17:15:07] <iSaleK> Hey, my uncle has a telephone repair shop and he has dozens of broken phones that don't work but their display may be ok
[17:15:34] <OndraSter> I have got here actually one more
[17:15:35] <OndraSter> Motorola Fone
[17:15:36] <iSaleK> Is there a site where I can find how do you connect pins and does lcd have i2c or spi or any other protocl?
[17:15:41] <OndraSter> it has got ... how do you call it
[17:15:41] <iSaleK> *protocol?
[17:16:11] <OndraSter> google usually
[17:16:19] <OndraSter> if you have got working whole phone, you can just use logic analyzer
[17:16:26] <OndraSter> and keep trying
[17:16:51] <OndraSter> tomorrow = logic analyzer using FPGA!
[17:17:10] <OndraSter> I have to already try out the SingalTap feature
[17:24:58] <iSaleK> So if I want a decent performance with ft232 I have to buffer at least 8x8bytes of data and then transmit them over uart?
[17:25:09] <iSaleK> Otherwise the performance will be poor, right? :)
[17:25:15] <OndraSter> no, you will be transmitting UART as you want
[17:25:19] <OndraSter> and the chip will send whatever it has got ready
[17:25:25] <OndraSter> when the IN token comes
[17:25:26] <OndraSter> presumably
[17:25:28] <OndraSter> you can not control that
[17:26:31] <iSaleK> So ft232 decides when and what to send? :)
[17:28:01] <iSaleK> Now I see why most of our teachers don't like usb that much :)
[17:29:57] <OndraSter> ft232 is complete USB implementation
[17:30:13] <OndraSter> me and rikus are playing with USB directly on the chip
[17:30:17] <OndraSter> and THAT IS SOMETHING AWFUL
[19:13:07] <Essobi> WOOOOOOOOOORMFOOOOOOOOD
[19:13:18] <Essobi> What's up briches.
[19:13:27] <Essobi> anyone played with Chip45?
[19:13:36] <Essobi> Chip45's bootloader?
[19:17:58] <Tom_itx> still having issues?
[19:18:37] <Essobi> Tom_itx: Yea.. The directions are not very clear about the fuses. They're german first language.
[19:18:55] <Essobi> I think I've tried every permutation thou.
[19:19:13] <Essobi> Tom_itx: I should be able to hit it in minicom but it never comes up.
[19:19:39] <Essobi> Tom_itx: I'm just trying it at 3.3V ttl for now, w/o any of the rs485 circuitry in line..
[19:19:58] <Essobi> Tom_itx: and I know everything is working in hardware.. I can dump an ascii table program and it works fine..
[19:20:27] <Tom_itx> fuses wrong?
[19:22:32] <Essobi> Tom_itx: Some docs say 1Kb for boot and some say 2Kb for boot. I've tried both, neither seems to matter.
[19:23:34] <Essobi> Tom_itx: Tom_itx: So all I can assume is the fuses are wrong.
[19:25:05] <Essobi> Tom_itx: Oh.. I suppose I could try the older bootloaders in case they broke it.
[19:25:20] <Essobi> Tom_itx: Might be something wonky with the auto-baud detection I guess...
[19:30:36] <Tom_itx> i've never tried loading a bootloader but i would get familiar with it on a known working one first
[19:32:09] <Essobi> Tom_itx: Know working one what?
[19:32:10] <Essobi> :D
[19:32:22] <Tom_itx> heh
[19:32:59] <Essobi> Tom_itx: AVR? My chips fine.. been using it for months with TTL serial and ISP and ISCP.
[19:33:52] <Tom_itx> i'm not saying the chip is bad but just getting familiar with the fuse settings and loading the bootloader
[19:34:18] <Essobi> Ah, gotcha.
[19:34:40] <Tom_itx> it may be similar to setting a crystal fuse. you need something there for the fuse to do it's job
[19:35:19] <Tom_itx> i'm not sure if you need to set the fuses first or load the bootloader first
[19:36:15] <Essobi> Ah.
[19:40:08] <Essobi> http://download.chip45.com/chip45boot2_infosheet.pdf
[19:50:17] <Tom_itx> did you reset the ckdiv8 fuse?
[19:52:18] <Tom_itx> If using the internal 8MHz RC oscillator, the CKDIV8 bit must be disabled,
[19:52:19] <Tom_itx> since the resulting 1MHz clock is not suitable for 19200 baud communication
[19:52:21] <Essobi> CKDIV8 is disabled.
[19:52:35] <Essobi> I'm using an 18.432 crystal.
[19:52:54] <Essobi> Which works.. like I said.. can dump ascii tables with it.
[19:52:56] <Tom_itx> the bootloader doesn't know that
[19:53:00] <Tom_itx> hmm
[19:53:09] <Essobi> Right..
[19:53:17] <Essobi> It's a "autodetecting".
[19:53:30] <Essobi> I tried 8mhz too.
[19:53:36] <Essobi> with just the internal.
[19:53:58] <Tom_itx> start with a low baudrate then work your way up once it works
[19:54:00] <Essobi> It's a m328p and I'm using L:FF H:D8
[19:54:14] <Essobi> Yea..
[19:54:20] <Essobi> I tried all the way down to 2400.
[19:54:31] <Essobi> Hmm.
[19:55:07] <Tom_itx> do you have to compile the code?
[19:55:18] <Essobi> Naw, they only supply hex.
[19:55:18] <Tom_itx> i would think so since it supports so many chips
[19:55:21] <Tom_itx> oh
[19:55:24] <Essobi> I can buy it, but...
[19:55:30] <Essobi> I don't want to buy it, if it sucks. :D
[19:55:35] <Essobi> BRB bathroom
[19:55:42] <Tom_itx> how much?
[19:59:21] <Tom_itx> abcminiuser does atmel offer their own bootloaders for certain chips?
[20:10:15] <Essobi> Uhh...
[20:10:16] <soul-d> u2 (usb) one prehaps ? i was looking in the datasheets of chips i have that one is preloaded with stuff from factory
[20:10:50] <Essobi> Yea.. see.. it says 2048bytes (1kword)
[20:11:00] <Essobi> http://download.chip45.com/chip45boot2_infosheet.pdf At the top on memory usage.
[20:11:29] <Essobi> Then... under fusebits
[20:11:49] <Essobi> Hmm. no that says 1024 word too.
[20:11:57] <Essobi> I swear I read 2048 word somewhere else..
[20:12:08] <Essobi> Lemme change my fuses again
[20:12:43] <Essobi> Tom_itx: It's 23 euro for the source.
[20:14:31] <Essobi> Really I planned on buying it so I could mangle the RS485 for multidrop programming.
[20:15:07] <Tom_itx> soul-d, yeah i know about the usb ones
[20:15:13] <Essobi> Hmm.
[20:15:22] <Essobi> Guess I could try that arduino bootloader.
[20:29:51] <Essobi> Yea.. it just seems to echo back to me what I'm entering to get the bootload to answer.
[20:30:33] <Essobi> BOOTRST=0 BOOTSZ1=0 SPIEN=0 L:FF H:DA
[20:30:44] <Essobi> Hmm.
[20:36:28] <soul-d> meh that is stupid
[20:39:16] <soul-d> been bussy as hell trying to debug ethernet link so it's like 3:20 am nothing to do i plugin the cable load up fpga board gonna change the pins just as i think theire supossed to and unless im halucinating from sleep deprivation the link is active and reciving packets :P
[20:39:56] <Essobi> Heh.
[20:44:58] <soul-d> ofcourse afhter i bought and rs232 cable :P
[20:59:11] <Essobi> Hmm.
[20:59:34] <Essobi> Tom_itx: -2 rev's form current is doing the same thing.
[20:59:36] <Essobi> Hmm.
[21:01:19] <Tom_itx> i doubt i can help you much since i haven't done bootloaders yet
[21:01:29] <Tom_itx> it should be fairly straightforward
[21:03:03] <inflex> lo Tom_itx
[21:03:15] <Essobi> Tom_itx: I figured the same.
[21:03:18] <Tom_itx> hi
[21:03:36] <Essobi> Hmm. I'll give the universal a whirl. thanks for taking a moment to think about it with me. :D
[21:04:29] <Tom_itx> take good notes and report back
[21:05:27] <Essobi> I'll likely wind up posting something on my blog.
[21:05:57] <Essobi> I just wanted to play with some RS485 and my RPI.
[21:12:32] <Essobi> Herp.
[21:29:53] <Essobi> This makes no sense.
[21:30:02] <Essobi> Confirmed UART working with loopback.
[21:30:16] <Essobi> Confirmed chip/circuit with ASCII table.
[21:32:07] <Essobi> Das Boot loader sucks.
[21:32:17] <Tom_itx> heh
[21:32:58] <Essobi> Tom_itx: Fuse settings are identical to Arduino's for 328P too.
[21:33:32] <Essobi> Tom_itx: Guess I'll pull the ard loader and give it a whirl. I dont' feel like patching universal bootloader tonight.
[21:56:30] * inflex sends off his first PCBs for the year
[21:56:31] <inflex> :\
[21:57:36] <Tom_itx> at least you're back at it
[22:04:44] <slidercrank> inflex, send where?
[22:05:02] <slidercrank> inflex, do you mean to the production? for manufacturing?
[22:10:55] <inflex> slidercrank: just getting a proto board done via iteadstudio
[22:11:06] <inflex> hard to beat $9.90 for a proto board
[22:51:13] <slidercrank> I've read in the datasheet for atmega8 that it's recommended to activate internal pull-up resistors for unconnected pins. I wonder what is there default value on power on. Are they already active?
[22:51:36] <slidercrank> *I wonder what their default value on power on is
[22:58:05] <slidercrank> disregard it. I've read that the initial value is 0 for data direction and 0 for port (that is the internal pull-up resistors are not active)
[23:12:32] <slidercrank> hurray. finally I've got a thermosensor I needed. It's adt75. I like it. It's linear (no correction or transformation is needed). It has a wide temperature range. i2c interface (optionally os/arm pin may be connected).
[23:21:12] <Casper> slidercrank: yup, default is the safest settings: input and pullup disabled
[23:21:26] <Casper> you never know what could happend if the pullup get enabled when it need not to be