#avr | Logs for 2012-09-20

Back
[04:44:52] <mitsakos> hello, does anybody use avrmk2 on macos? with avrdude?
[04:47:47] <Roklobsta> what is avrmk2?
[04:48:04] <megal0ma2iac> Probably avrisp mkII
[04:48:28] <mitsakos> yes avrisp mkII
[04:48:51] <megal0ma2iac> I haven't, but I have used it in Linux and Windows and Mac should be more or less the same
[04:50:43] <mitsakos> well i have made all the configuration needed to make it work
[04:51:06] <mitsakos> and i can successfully program the avr's but with a huge delay
[04:51:26] <mitsakos> from the time i execute the command to the time the programmer starts sending the data
[04:51:31] <mitsakos> passes a lot of time
[04:51:43] <megal0maniac> How much is a lot?
[04:51:50] <mitsakos> 2 minutes?
[04:52:08] <mitsakos> here is the log message i see before delay
[04:52:09] <mitsakos> avrdude: usbdev_open(): Found AVRISP mkII, serno: 0000A0016080
[04:52:22] <mitsakos> and the next line after the delay
[04:52:23] <mitsakos> avrdude: stk500v2_recv_mk2: error in USB receive
[04:54:06] <megal0maniac> But everything else completes successfully?
[04:54:52] <mitsakos> yes
[05:00:50] <megal0maniac> Odd. I'm afraid I can't really help you since I'm not too clued up on how the avrisp talks to the computer.
[07:39:57] <megal0maniac> So quiet today
[07:47:39] <megal0maniac> RikusW: Hey
[07:54:14] <megal0maniac> OSterver: Asked the seller of that HP logic analyzer about shipping
[07:54:40] <megal0maniac> $83 for CZ and $118 for ZA
[07:57:20] <OSterver> eh
[07:57:25] <OSterver> would you like one? :D
[08:00:44] <megal0maniac> A logic analyzer?
[08:00:46] <megal0maniac> Yes.
[08:00:52] <OSterver> I mean, desktop one
[08:01:07] <OSterver> rather some open bench logic sniffer or whatever
[08:01:46] <megal0maniac> It doesn't make a difference to me. As long as it analyzes logic :)
[08:02:11] <megal0maniac> It's going to be living at my desk anyway
[08:02:22] <megal0maniac> So no need for portability
[08:02:29] <megal0maniac> OSterver: Why do you ask?
[08:02:39] <OSterver> just asking
[08:03:31] <OSterver> I thought about making one - some FPGA as the capture device with big ass memory connected to it, some micro to drive the calculations etc (or partially done in the FPGA too) + same or another FPGA to work as VGA display driver
[08:04:12] <RikusW> hi megal0maniac
[08:07:38] <RikusW> megal0maniac: If you've given up on the nano you can always mail it over here ?
[08:07:52] <RikusW> I think without any registration is <R10
[08:07:57] <RikusW> *its
[08:08:27] <RikusW> If I can't fix it, it can't be fixed :-P
[08:08:45] <RikusW> or I could solder on a new AVR as last resort....
[08:08:55] <megal0maniac> OSterver: Open Bench one is FPGA based. Maybe you can check it out for ideas?
[08:09:11] <megal0maniac> RikusW: I don't throw things away unless the magic smoke leaves :P
[08:09:30] <RikusW> I'll send it back if I can fix it
[08:09:48] <OSterver> megal0maniac, sure I can
[08:09:51] <megal0maniac> Yeah, why not. If you're willing to give it a try :)
[08:09:52] <OSterver> it has got some xilinx on it
[08:10:14] <OSterver> RikusW, what nano? :D
[08:10:20] <RikusW> megal0maniac's
[08:10:29] <megal0maniac> OSterver: Arduino Nano (clone)
[08:10:29] <RikusW> the one he bricked....
[08:10:33] <OSterver> ah
[08:10:39] <OSterver> how can one brick that?
[08:10:42] <megal0maniac> Disabled dW fuse
[08:10:51] <RikusW> you mean enabled
[08:10:55] <megal0maniac> Can't disable it in circuit because of the cap and resistor
[08:11:02] <RikusW> and maybe messed with some other fuse
[08:11:05] <megal0maniac> RikusW: Yes, that one
[08:11:07] <OSterver> just cut the trace to the cap :)
[08:11:24] <megal0maniac> RikusW: I'm 99% sure it was only DWEN. I was demonstrating the U2S :P
[08:11:43] <megal0maniac> RikusW: When I see that friend again, I'll try again on a breadboard
[08:11:46] <OSterver> lol
[08:12:09] <RikusW> well dW disabling works on the other AVR's right ? :-P
[08:12:16] <megal0maniac> It has :P
[08:12:57] <megal0maniac> OSterver: I tried HVPP, also in circuit. Might have killed it like that. But it doesn't seem likely
[08:13:04] <RikusW> megal0maniac: just ask the PO for shipping fees, an "Ordinary Parcel" costs about R20 and does have a tracking number.
[08:13:05] <OSterver> uh
[08:13:15] <RikusW> Non tracked might be R5 or R10
[08:13:40] <RikusW> megal0maniac: does the HVPP board still give out 12V ?
[08:13:56] <RikusW> you can easily test that using the debug dialog box
[08:14:10] <megal0maniac> RikusW: How, exactly?
[08:14:16] <megal0maniac> I was thinking multimeter
[08:14:21] <megal0maniac> OH!
[08:14:26] <megal0maniac> I see
[08:14:28] <RikusW> yes and setting C4567 right
[08:14:36] <RikusW> its documented on my site
[08:14:37] <megal0maniac> Yes :)
[08:14:58] <megal0maniac> RikusW: Could you pm me your address, please?
[08:15:10] <RikusW> C4 low and C5 low == 12V out
[08:15:21] <RikusW> megal0maniac: already did....
[08:15:27] <RikusW> seems you haven't noticed
[08:15:46] <megal0maniac> RikusW: I'm new to IRSSI :)
[08:15:50] <RikusW> and do set DDRC4+5 as out
[08:16:11] <megal0maniac> Running IRC on a linux box and SSHing in
[08:16:45] <megal0maniac> Brb
[08:17:31] <RikusW> megal0maniac: and do pack it securely to prevent bent pins etc...
[08:21:19] <megal0maniac> Think I've got some foam... I'll post it next week :)
[08:21:28] <megal0maniac> RikusW: Thanks
[08:21:47] <RikusW> so is there a m168 on the nano ?
[08:22:08] <RikusW> foam sounds good
[08:22:17] <RikusW> press the pins into it
[08:22:29] <megal0maniac> OSterver: jadew is also looking into making a logic analyzer, I think. He's definitely writing his own client which is compatible with the Open Bench
[08:22:36] <megal0maniac> RikusW: It's a m328p
[08:22:50] <megal0maniac> $18 shipped from China :)
[08:22:50] * RikusW have a m328p DIP
[08:22:58] <megal0maniac> With a FTDI chip
[08:23:10] <OSterver> I have got m32 in DIP only
[08:23:12] * megal0maniac has 4 m328p DIP
[08:23:23] <OSterver> and m168 in DIP from arduino somewhere
[08:23:32] * RikusW have 2x m168 too
[08:23:37] <megal0maniac> One of them isn't p, but same thing
[08:23:43] <RikusW> actually a whole collection....
[08:25:32] <megal0maniac> I've got 4x m328(p), 4x t85, 1x 1284p and then Arduino, U2S, Teensy2.0 etc
[08:26:22] <RikusW> megal0maniac: I've got toooo many U2S ---> http://www.image-share.com/ijpg-895-46.html
[08:26:37] <RikusW> and there is another box too
[08:27:44] <RikusW> the pcbs is still joined, I've left it 4x1 without breaking at the vscore
[08:27:58] <RikusW> easier to solder it in batch that way
[08:28:25] <RikusW> There is 80 in that photo
[08:29:32] <megal0maniac> I counted 76, but I see 4 are backwards
[08:29:56] * megal0maniac would get more...
[08:29:58] <RikusW> actually 4 without USB soldered on yet
[08:30:10] <OSterver> RikusW, you are having them made somewhere?
[08:30:31] <RikusW> made it myselft, averaged 20min per board
[08:31:54] <RikusW> designing all of that took a considerable amount of time....
[08:32:28] <megal0maniac> I'm going to be the first person in the world to plug a U2S into an XBoard :P
[08:32:45] <RikusW> lucky you
[08:32:59] <RikusW> hopefully there will be some 2n7002's in between ?
[08:33:14] <megal0maniac> Should be arriving next week
[08:33:34] <megal0maniac> Not sure what size pull-ups to use, though
[08:33:49] <OSterver> I'd use 4k7 because I have full reel of them
[08:33:50] <OSterver> :P
[08:33:55] <RikusW> I suggest testing the level converter first before connecting to the xboard
[08:34:13] <RikusW> OSterver: like 5000 ? :)
[08:34:32] <OSterver> originaly, yes
[08:34:41] <OSterver> I have used about a hundred or two already
[08:34:45] <megal0maniac> Using through-hole stuff
[08:34:59] <megal0maniac> For the resistors
[08:35:10] * RikusW prefers smd now, no more drilling holes and clipping leads
[08:35:11] * OSterver has got here about ten 7805s in TO-3
[08:35:15] <OSterver> yep
[08:35:15] <RikusW> much easier actually
[08:35:17] <OSterver> yep
[08:35:37] <megal0maniac> IF you have the tools for it...
[08:35:38] <RikusW> and unsoldering 0603 or 0805 is quite easy
[08:35:45] <megal0maniac> http://farm4.static.flickr.com/3577/3428648965_9656b681de.jpg is what I had in mind
[08:35:55] <RikusW> megal0maniac: more like technique and PCB
[08:36:26] <RikusW> that will work well for you
[08:36:43] <RikusW> just mark the LV (source) side clearly
[08:36:54] <OSterver> TSOP-II = TSSOP?
[08:37:12] <RikusW> megal0maniac: go read the GTL2003 datasheet
[08:37:29] <RikusW> but you'll probably not want to use it, its smd
[08:37:35] <OSterver> what's wrong on SMD :P
[08:37:50] <RikusW> nothing, if you have a pcb
[08:37:57] <OSterver> I can make my boards fairly quickly
[08:38:04] * RikusW finally got some laser transparencies :)
[08:38:12] <OSterver> hehe
[08:38:15] <OSterver> I have got last sheet
[08:38:17] <OSterver> and soon new uv curable ink comes
[08:38:34] <OSterver> I gave the last one to middle school to one teacher who does PCBs in there for the students
[08:38:40] <OSterver> I am getting a red ink now :P
[08:38:44] <RikusW> imagine, photo quality printer + uv ink :)
[08:38:58] <OSterver> :)
[08:39:09] <RikusW> 0.5mm pitch here we come
[08:39:11] <OSterver> I have got issues with line separation and keeping the picture same across whole paper
[08:39:19] <megal0maniac> Hmmm... TSSOP
[08:39:33] <OSterver> as in... on the top left it is like 1mm wider on 7cm wide thing than on the bottom
[08:41:54] <OSterver> xboard ultra will be powered by this beast
[08:41:55] <OSterver> http://cz.mouser.com/ProductDetail/Alliance-Memory/AS4C16M16S-7TCN/?qs=sGAEpiMZZMti5BT4iPSEnYJB%2fUIq%2fO%2fe6n0ufp0YXBE%3d
[08:43:54] <megal0maniac> But will it blend?
[08:44:21] <OSterver> you tell us!
[08:44:22] <OSterver> lol
[08:49:39] <OSterver> you know what sucks? That 1 hour from now I will have to travel 1 hour back to school
[08:49:42] <OSterver> so I can have there 1 lesson
[08:49:45] <OSterver> and then travel 1 hour back
[09:00:22] <megal0maniac> Why do you live so far away?
[09:00:28] <megal0maniac> You use xchat, right?
[09:01:23] * RikusW don't like city traffic :S
[09:01:47] <RikusW> in particular Gauteng traffic is bad
[09:02:03] <RikusW> not to mention lawless taxis....
[09:02:25] <RikusW> they break about every traffic law there is....
[09:03:24] <RikusW> megal0maniac: is CT taxis any better ?
[09:04:13] <megal0maniac> Not sure, never been in Gauteng traffic
[09:04:25] <megal0maniac> However, I have a bike. Traffic is fun :)
[09:04:30] <RikusW> how is the CT taxis driving manners ?
[09:04:53] <RikusW> using a bike you can go faster than the jammed up traffic of course :)
[09:06:07] <megal0maniac> I go about 80km/h on the highway when traffic moves 40km/h and about 40km/h when it's standing still
[09:06:38] <megal0maniac> RikusW: Not as bad as people make it out to be
[09:06:39] <megal0maniac> brb
[09:06:45] <RikusW> 80km/h with a bike ?!!
[09:12:03] <OSterver> megal0maniac, I use xchat, yes
[09:12:12] <OSterver> also I liveo n the edge of Prague
[09:12:13] <OSterver> on>*
[09:12:18] <OSterver> you will be able to check maps once your package comes :D
[09:17:57] <OSterver> hmm
[09:17:57] <OSterver> http://clip2net.com/s/2jOHZ
[09:18:02] <OSterver> *ze beginning!*
[09:19:40] <theBear> "tell him it's not 'zis way', it's 'this way'" "it's not 'zis way'" "yes, yes it IS zis way"
[09:21:22] <megal0maniac> xboard ultra schematic? :P
[09:21:31] <OSterver> yep
[09:21:45] <OSterver> theBear, what movie would that be from?
[09:22:07] <theBear> a show, actually, "The Fast Show" ...
[09:22:42] <theBear> kid with a very domineering kinda 'this is how it's done' father driving thru germany asking a local for directions out the car window
[09:22:50] <OSterver> heh
[09:23:00] <OSterver> wow, using "net" over "wire" was a really brilliant idea! thanks Tom_itx
[09:23:12] <theBear> we talking spice ?
[09:25:02] <megal0maniac> Using irssi on screen over ssh was a good idea too :)
[09:25:08] <theBear> hooray
[09:25:18] <OSterver> theBear, we talkin' Eagle
[09:25:26] <theBear> ahh, i never done eagle in text
[09:25:34] <OSterver> megal0maniac, using xchat on screen over remote desktop was a good idea too :P
[09:25:39] <OSterver> theBear, text?
[09:25:47] <OSterver> I mean the tool "net" over wire
[09:25:49] <theBear> 'net' 'wire'
[09:25:53] <OSterver> wire is dumb
[09:25:55] <theBear> oh, it's been a while
[09:25:56] <OSterver> net snaps to the pin
[09:25:56] <megal0maniac> Bandwidth intensive. And my server isn't even a computer :)
[09:26:41] <theBear> when i think back, i'm not even sure what i used eagle for, but i musta done SOMETHING
[09:26:45] <megal0maniac> OSterver: http://www.tp-link.com/en/products/details/?model=TL-WR1043ND
[09:27:11] * theBear is a non-practicing home-etcher :)
[09:27:19] <theBear> i used to do it, but eagle didn't exist then :)
[09:29:36] <megal0maniac> I want to etch my own boards, but the stuff is so expensive :(
[09:33:04] <karlp> what is this "net" over wire?
[09:36:28] <OSterver> two different tools in eagle
[09:36:49] <karlp> I got that bit, what's the advantage you're talking about?
[09:39:33] <karlp> what snapping does it do differently?
[09:40:47] <OSterver> karlp, wire does not snap to pads
[09:40:56] <OSterver> and does not add net junction
[09:40:58] <OSterver> automatically
[09:40:59] <OSterver> net does
[09:41:00] <OSterver> also
[09:41:01] <OSterver> http://clip2net.com/s/2jP1R
[09:41:35] <OSterver> there will be 4-17V SMPS on the input
[09:41:40] <karlp> I'll play with it a bit later
[09:41:54] <OSterver> because there will be space for it
[09:41:56] <OSterver> unlike on the other xboards
[09:42:04] <OSterver> where I would have to place it below USB data lines which is a bad idea
[09:42:08] <OSterver> too much switching happening there
[09:42:29] <OSterver> and it is only FR4...
[09:46:49] <megal0maniac> OSterver: Where did you get your boards printed?
[09:47:14] <megal0maniac> And what's with all the nick switching? Are you trying to hide from someone? :)
[09:49:28] <OSterver> I had them made locally supposedly
[09:49:39] <OSterver> teacher told me he has some spare space
[09:49:59] <OSterver> but considering the marking I am afraid he used some chinese factory... lol
[09:50:11] <OSterver> because last year I showed him itead and seeed and others
[09:50:17] <megal0maniac> Spare space?..
[09:50:19] <OndraSter> yes
[09:50:22] <OndraSter> he was making some projects
[09:50:28] <OndraSter> and he had spare space on panel or something
[09:50:37] <OndraSter> so far he always had his boards made here in CZE
[09:50:40] <OndraSter> just outside the prague
[09:50:46] <OndraSter> like 10 minutes drive from me
[09:53:42] <OndraSter> aanyway
[09:53:47] <OndraSter> I am slowly crawling from the house to the school
[09:53:50] <OndraSter> for one lesson
[09:53:59] <OndraSter> 1 hour drive there, 1.5 hours lesson, 1 hour drive back
[09:54:02] <OndraSter> how awesome, right
[09:54:15] <OndraSter> afk 4 hours
[09:54:22] <OndraSter> .. if I catch the bus back
[09:56:32] <megal0maniac> I used to have that
[09:56:43] <megal0maniac> Enjoy :)
[10:09:09] <megal0maniac> The AVR 8bit instruction set makes assembler make way more sense
[10:09:20] <megal0maniac> (The document, that is)
[10:13:09] <terrai> Does it make a difference if you write port=255 instead of port=0xFF?
[10:15:24] <Steffanx> no
[10:16:59] <terrai> Steffanx: then why are vast majority of programs written in hex?
[10:17:35] <Steffanx> Some think it's more readable
[10:18:13] <izua> it's easier to see bits in hex than in decimal
[10:18:19] <Steffanx> ^^ that
[10:19:09] <terrai> izua: what does that mean?
[10:19:40] <izua> what bits are set in the value 60?
[10:19:59] <izua> if i say 3C, it's pretty obvious that the relevant bits are 5, 4, 3 and 2
[10:21:36] <izua> it's also easier to convert back from bit masks to a value. bits 2 and 3 are C, while bits 5 and 4 shift right 4 times, end up with 1 and 0, that's 3. mix them together, you get 0x3C
[10:22:29] <izua> one would argue that you should never use bits as such, and always name your bits and use shifting though.
[10:22:43] <izua> also for making stuff more readable
[10:41:55] <terrai> izua: how do you say "its pretty obvious"? I use a calculator to convert hex to bin to check the bits
[10:44:38] <izua> you'll learn them eventually
[10:44:41] <jadew> megal0maniac, I'm not building an analyzer, I'm just writing the client software, which might be ready at the end of this weekend
[10:44:45] <izua> you only have to learn the A-F values
[10:45:09] <izua> 1-9 are pretty much child's play
[10:45:17] <terrai> true
[10:45:31] <jadew> you just split them in groups of 4
[10:45:37] <izua> ^
[10:45:42] <jadew> so you have 0-15 0-15
[10:45:44] <jadew> easy stuff
[10:45:58] <izua> done my good deed for the day
[10:46:07] <izua> time to yell racial slurs and shake some goats
[11:01:42] <megal0maniac> Âjadew: Ah, wasn't entirely sure. The client software I know about :)
[11:01:46] <megal0maniac> How's it going?
[11:02:37] <jadew> the channel display part is quite ready, I'm working on the utility windows now
[11:03:36] <jadew> well, not now, now I'm working for my job, but in my spare time
[11:04:50] <megal0maniac> Likewise ;)
[11:04:52] <megal0maniac> Sounds good
[11:06:53] <jadew> yeah, there's still a lot of work tho, but I think I'll get most of it done this weekend
[11:11:04] <OndraSter> boooooom
[11:11:17] <megal0maniac> OndraSter: That was fast
[11:11:41] <OndraSter> waiting for the lesson to start
[11:11:48] <OndraSter> :P
[11:12:12] * megal0maniac is still at work...
[11:13:14] <megal0maniac> I go to the University on Fridays voluntarily for some free education :)
[12:04:03] <Jan-> hey guys
[12:04:14] <Jan-> I've got a weird thing happening with my code
[12:04:31] <Jan-> is it possible for an interrupt to be sort of "stored up" then immediately fire when you turn that interrupt on?
[12:08:45] <GuShH> hi Jan-, hows the solar array
[12:10:16] <specing> Jan-: yeah, cli
[12:10:39] <specing> or *IE
[12:19:24] <Jan-> Oh.
[12:19:26] <Jan-> That easy huh.
[12:19:29] <Jan-> hey GuShH, yup it'sfine
[12:19:31] <Jan-> how're you
[12:33:58] * Jan- pokes specing
[12:45:30] <Jan-> what was specing talking about folks
[13:11:58] <Splats> Not sure, but perhaps you need to check your interrupt-is-happening flags is cleared [not cli]
[13:30:06] <specing> PIE, USIE, TWIE...
[14:17:07] <papo> hello. I am about to program my attiny20 but for some reason there does not appear to be a configuration section for the t20 in avrdude.conf. Is that possible?
[14:18:38] <RikusW> make one
[14:18:53] <RikusW> use tiny10 as a template
[14:19:07] <RikusW> its mostly the same except for flash size
[14:19:28] <papo> OK
[14:30:55] <OndraSterver> what is the "classic" loading caps value for 4MHz xtal? 22pF is quite a lot. Datasheet says 18pF, datasheet for xmega says parasitic capacitance 6pF/10pF for pins xtal1/xtal2
[14:41:01] <RikusW> I'd say with lower frequency larger caps, so 22pF is probably ok with 4MHz
[14:41:08] <RikusW> I used 18pF with 16MHz
[14:42:50] <OndraSterver> I used 22pF with 16MHz
[14:43:03] <OndraSterver> people say 18pF for 4MHz that they used
[14:56:45] <Tom_itx> check the individual crystal data sheet
[14:56:47] <Tom_itx> they vary
[14:57:55] <OndraSterver> well, the datasheet says 18pF
[14:58:11] <OndraSterver> datasheet for xmega says 6/10pF parasitic capacitance on the pins
[15:03:03] <OndraSterver> omg, the atmel's datasheet for EBI is absolutely screwed up
[15:03:16] <OndraSterver> the a1u series manual fails to tell you pinout for 4port EBI
[15:05:46] <OndraSterver> what is syntax 4'h0?
[15:05:58] <OndraSterver> http://clip2net.com/s/2jTCL
[15:07:39] <OndraSterver> I am using SDRAM
[15:08:06] <OndraSterver> when EBIADROUT is set to 00 or 01, is it using the bottom 4 bits and when 10/11 is it using the upper 4 bits?
[15:08:18] <xpozq> hmm, trying to program an avr328p with avrisp2, but I get "Target not detected.." and the led on programmer goes green, then after a while doing nothing it goes red again. Now according to what avrisp2 and avr328p manual tells me I'm 100% sure I've got the pins correctly mapped.
[15:08:38] <xpozq> Now avrisp2 is suppose to be able to power from usb and should not need an external power supply.
[15:08:59] <xpozq> tried to measure vcc and gnd and it reads 0.02V ..
[15:11:12] <OndraSterver> too bad I am 100% sure I won't fit whole xmega + SDRAM on single side... I could make test board for it at home
[15:11:27] <OndraSterver> I should write again to atmel
[15:19:25] <xpozq> however I noticed that the avrisp2 isn't explicitly said to power the MCu as well, only the programmer itself.. do I need some external power source for this?
[15:19:41] <xpozq> didn't seem to be required in the tutorial I was looking at :-s
[15:58:54] <TechIsCool> I have a variable (my_count) that says how many devices I have but need to create a byte array can I just do byte myvar[my_count][8]? Or do I need to declare the byte array volatile?
[16:00:39] <OndraSterver> is the my_count as #define?
[16:00:44] <OndraSterver> thus "variable"?
[16:02:07] <TechIsCool> it is not written like #define my_count = 1 it would be int my_count; and then set after I know what it is
[16:03:53] <OndraSterver> ah
[16:03:58] <OndraSterver> you will need then to use either malloc or new
[16:05:10] <TechIsCool> argh I hate malloc
[16:05:34] * megal0maniac wants xboard to arrive now
[16:08:45] <OndraSterver> megal0maniac, tracking says that "prague 120 post sent the package to target country"
[16:08:57] <OndraSterver> that was yesterday
[16:09:21] <OndraSterver> I doubt the tracking will go any further here
[16:13:29] <megal0maniac> I know. I'm just getting impatient :)
[16:16:29] <megal0maniac> Possibly next week, but we'll see
[16:17:46] <OndraSterver> I hope your post doesn't tend to lose packets
[16:18:41] <megal0maniac> :|
[16:18:45] <jacekowski> i've had 50% packet loss at the airport few days ago
[16:19:00] <jacekowski> and i've paid extra to send extra packets
[16:19:11] <jacekowski> and they've lost half of them
[16:19:20] <OndraSterver> how re-assuring
[16:19:31] <megal0maniac> jacekowski: Where are you based?
[16:19:47] <jacekowski> well, that was in saudi arabia
[16:20:11] <OndraSterver> the international packets should be inseured for like 30€
[16:20:19] <OndraSterver> insured*
[16:20:33] <jacekowski> well, it's apparently all insured with airlined
[16:20:35] <jacekowski> airlines
[16:20:49] <jacekowski> but all i got was "fuck you" but in little bit more polite version
[16:22:16] <megal0maniac> ZA has been pretty good lately
[16:22:22] <megal0maniac> Like in the past couple of years
[16:22:52] <OndraSterver> that's a bit assuring
[16:23:28] <megal0maniac> Well I've never had any issues personally
[16:24:09] <megal0maniac> It'll get here
[16:24:17] <megal0maniac> Because it will :)
[16:24:17] <OndraSterver> if you send here something without insurance into some "gypsy" town, you can be certain it gets lost
[16:24:22] <OndraSterver> they lost RAM I sent :(
[16:24:39] <OndraSterver> "luckily" only worth $8
[16:24:58] <megal0maniac> What would count as a gypsy town?
[16:25:09] <OndraSterver> town where is giant gypsy part
[16:25:16] <OndraSterver> there are some on the west of the cze
[16:30:00] <megal0maniac> Ah
[16:30:06] <megal0maniac> We don't have thoses :)
[16:30:38] <megal0maniac> I'm off. gn all
[16:30:53] <OndraSterver> gn
[16:55:04] <OndraSterver> hmm I am having issues in math
[16:55:06] <OndraSterver> for simple reason
[16:55:13] <OndraSterver> I keep using "0" instead of "1" as the first number...
[16:59:32] <OndraSterver> wait
[16:59:45] <OndraSterver> why 256Mbit (4M * 16 * 4 banks) memory has A0-A12?
[16:59:57] <OndraSterver> can it be single-bit addressable or what?
[17:00:01] <OndraSterver> err
[17:00:03] <OndraSterver> single-byte
[17:00:08] <OndraSterver> when you are using only 8bit data
[17:06:10] <specing> 2**12 = 4096
[17:06:18] <specing> ah, 0
[17:06:23] <specing> then 8192
[17:07:12] <OndraSterver> actually not all bits are used for columns as well
[17:07:15] <specing> not sure how you are supposed to address 32MB with 13 address lines...
[17:07:23] <OndraSterver> DRAM
[17:07:27] <OndraSterver> they have columns and rows
[17:07:28] <OndraSterver> :P
[17:07:37] <OndraSterver> A = rows, /RAS
[17:07:41] <OndraSterver> A = columns, /CAS
[17:07:43] <specing> ah
[17:07:46] <OndraSterver> :P
[17:07:49] <specing> so 2**26
[17:07:54] <specing> thats more like it
[17:08:09] <OndraSterver> and on 128Mbit 8bit is used 12 bits for rows and 10 bits for columns
[17:08:11] <specing> 64MB
[17:08:11] <OndraSterver> which fits
[17:08:36] <OndraSterver> I think I need to tie A12 high or low
[17:08:47] <OndraSterver> no wait
[17:08:54] <OndraSterver> damnit
[17:09:04] <OndraSterver> WHY ARE BLOODY 8BIT MEMORIES MORE EXPENSIVE THAN 16BIT DOUBLE THE SIZE
[17:09:18] <OndraSterver> aka why is 256Mbit 16bit many times cheaper than 128Mbit 8bit?
[17:09:37] <OndraSterver> I wish I could use 128Mbit 16 bit
[17:09:40] <specing> because they are used for ARMs en masse
[17:09:53] <OndraSterver> but xmega's EBI has only 8bit data :(
[17:10:30] <specing> get an ARM
[17:24:40] <Vutral> mhm
[17:24:48] <OndraSterver> because the USB stack would be compatible...
[17:24:49] <OndraSterver> surrrrre
[17:24:54] <OndraSterver> I would have to make it more abstract
[17:24:55] <Vutral> anything i should notice when connecting a crystal to a atmega328p ?
[17:24:59] <OndraSterver> but that would mean that it would be much bigger
[17:25:06] <OndraSterver> Vutral, no sparks
[17:25:10] <OndraSterver> you need to set it in fuses
[17:25:10] <Vutral> sparks ?
[17:25:13] <OndraSterver> :P
[17:25:22] <Vutral> what do i need to set
[17:25:23] <OndraSterver> I am off, I get up in like 5.5 hours
[17:25:26] <OndraSterver> gn
[17:25:32] <Vutral> i thought i run off the pll first
[17:25:35] <Vutral> and turn crystal on in program
[17:26:06] <OndraSterver> good luck trying to find PLL on 328
[17:26:08] <OndraSterver> ..
[17:26:09] <OndraSterver> gn
[17:26:12] <Vutral> rc oscillator
[17:26:13] <Vutral> well
[17:26:14] <Vutral> ^^
[17:26:17] <Vutral> gn OndraSterver
[17:26:18] <OndraSterver> it is not xmega
[17:26:23] <OndraSterver> which boots always off internal RC
[17:26:26] <OndraSterver> gn!
[17:26:28] <Vutral> i ment the rc yeah