#avr Logs

Aug 03 2017

#avr Calendar

01:10 AM lemm|ngs is now known as lemmings
06:12 AM abiogenesis: is there only this channel bout "stm32" ?
06:15 AM Lambda_Aurigae: try ##stm32 maybe
06:16 AM Lambda_Aurigae: just don't mention linux or anything opensource and you should be ok there.
06:44 AM Emil: Deja Vu
06:45 AM cehteh: lol
06:50 AM Lambda_Aurigae: all over again
09:09 AM Haohmaru: the interrupt vector thing is basically an offset in the flash, where it is assumed that a specific function (handler) is located, right?
09:09 AM Emil: You know what's annoying
09:09 AM Emil: doing the same board three times in a row :D
09:10 AM Haohmaru: do it once moar
09:10 AM Emil: Probably will T.T
09:10 AM Emil: I'm trying the DIY soldermask
09:10 AM LeoNerd: It's a slippery slope ;)
09:10 AM Haohmaru: ..or those locations maybe don't exactly contain the actual functions (cuz they may be big) but a sort of jump instruction to another place where the actual function is
09:11 AM LeoNerd: I vaguely looked into it, but then I'd have to start thinking about through-hole plating for vias, and... and it all starts to get very silly
09:11 AM LeoNerd: Honestly, I'm happy just to pay oshpark to not have to think about it myself
09:12 AM Haohmaru: and these offsets are known to the compiler (thanks to the chip-specific headers)
09:13 AM Emil: LeoNerd: Yeah
09:13 AM Emil: So wold I
09:13 AM Emil: Would I
09:13 AM Emil: But when it takes like 50 days to get your PCBs :D
09:13 AM Emil: It's a bit of a stretch
09:13 AM LeoNerd: Nah... it doesn't take *that* long
09:13 AM Emil: I should just buy from the chinese
09:13 AM Haohmaru: now, my question is.. when i want to have interrupts in the bootloader, i know i have to change a register, to tell the actual chip that i need interrupts in the bootloader, not in the firmware
09:14 AM Emil: LeoNerd: 2Oz does
09:14 AM LeoNerd: Thing is, if I get OSHpark to do them, I click a button then wait for a couple of weeks
09:14 AM LeoNerd: if I made it that'd be quite a lot of investment in my time
09:14 AM LeoNerd: Time I can much better put to use on other things while I wait
09:15 AM Haohmaru: and i think, as far as the bootloader is concerned, everything starts from 0x0000 as usual, except that you additionally use a binary tool to offset the whole data to the boot section address
09:15 AM Haohmaru: i guess this means that each interrupt location is also moved with that much offset
09:15 AM Haohmaru: right?
09:16 AM Haohmaru: i mean -Wl,-section-start=.text=<bootloader_address>
09:16 AM Haohmaru: that's arguments to the.. avr binutils?!
09:17 AM Haohmaru: so if the bootloader starts at 0x4000, the interrupt that is normally located at 0x0027 would end up at 0x4027
09:17 AM LeoNerd: Are you /building/ the bootloader?
09:17 AM Haohmaru: LeoNerd, yes
09:17 AM LeoNerd: Or are you building actual code that will be started from a bootloader?
09:17 AM Haohmaru: planning it
09:17 AM LeoNerd: Ah right. Hmm.. not something I've done much of
09:17 AM LeoNerd: I'd suggest steal ideas from the optiboot build system
09:18 AM Emil: LeoNerd: I ordered my 2Oz PCBs from OSHPark on 27.7., OSHPark sent them to the fab on 31.7. and expects them back on 21.8. It takes another 2 weeks to get them usually
09:18 AM Haohmaru: i'm looking into adding a bootloader option to a device which has a nifty ethernet(tcp)<->usart pipe
09:18 AM Haohmaru: and this is on xmega
09:19 AM Emil: So I'm making my own :D
09:20 AM Haohmaru: ..and so, the register you have to change for that to work.. tells the mcu to transpose all interrupt locations to the bootloader section.. if my nose is correct
09:21 AM Haohmaru: i mean, if you need interrupts both in the firmware and in the bootloader - you don't have to do anything besides changing that register appropriately at runtime
09:22 AM Haohmaru: i hope i understand it right
09:24 AM Haohmaru: hm.. i had the impression that the watchdog has an interrupt
09:25 AM Haohmaru: where did i get that from o_O
09:26 AM cehteh: dunno about xmegas but tiny and mega have watchdog interrupts
09:26 AM Haohmaru: i guess from there
09:27 AM cehteh: actually they are a bit pita, it wont be bad when it got removed
09:28 AM Haohmaru: why?
09:28 AM enh: Hi everybody.
09:28 AM rue_more: hi
09:28 AM cehteh: because watchdog can/should be hard .. you dont want it to trigger anyway and you shouldnt abuse it as general timer (i've done that)
09:29 AM LeoNerd: I've found *a* use for using it as a general timer
09:29 AM LeoNerd: It's excellent for a source of entropy
09:29 AM Haohmaru: the xmega watchdog has a window mode
09:29 AM Haohmaru: and fuse settings to lock it
09:29 AM cehteh: if there is some problem you want to handle that without using the watchdog in the first place
09:30 AM LeoNerd: Since the WDT has an independent on-chip RC oscillator it's independent of the main CPU clock, so timing coincidences between WDT and a regular (fast) timer counter can be used to generate random numbers
09:30 AM cehteh: i used it too as timer and some rng's use it because watchdog osc and main osc have some jitter which gives a good entropy source
09:30 AM cehteh: i actually would prefer it if the watchdog counter would be available as register
09:31 AM LeoNerd: Mm... it might be too easy to accidentally upset it by overwriting numbers in it though
09:31 AM cehteh: maybe readonly (fuseable)
09:32 AM cehteh: or some special instruction to write it (wrd does just do that, but poking some number into it to shorten the timespans might be useful sometimes)
09:33 AM cehteh: ala setting watchdog expire to the worst case time by default, but instead wdr you poke a more exact number into it matching whatever you are doing and in what time this should complete
09:34 AM Haohmaru: so.. given that i don't have a watchdog interrupt, it means that the watchdog timer basically counts the time till it'll reset the mcu
09:34 AM Haohmaru: and i have to pull that timer to zero as often as possible
09:34 AM cehteh: i guess so
09:35 AM Haohmaru: by resetting it
09:35 AM cehteh: not as often as possible
09:35 AM cehteh: but in timely fashion, whenever you are safe to do so
09:35 AM Haohmaru: and when my program sh*ts the pants - the WDT will blow the whole sh*t up ;P~
09:35 AM Haohmaru: safe?
09:35 AM Haohmaru: what do you mean?
09:35 AM cehteh: thats what watchdogs are for
09:36 AM cehteh: whatever it means, most likely before starting a new loop or new event handling
09:37 AM cehteh: just resetting the wdt arbirarly costs cycles and defeats its purpose a bit
09:37 AM Haohmaru: in main() i have a loop where i got a bunch of different functions (distantly similar to parallel tasks) which should poll stuff and do something and return as quickly as possible
09:37 AM Haohmaru: so in that loop of tasks i could add an idle() function
09:37 AM Haohmaru: ..which could reset the watchdog
09:37 AM Haohmaru: does that sound reasonable?
09:37 AM cehteh: not really .. what if it never gets idle?
09:37 AM cehteh: *boom*
09:37 AM LeoNerd: I use a weak symbol called "after_tasks" for that sort of thing
09:38 AM cehteh: its more you have some timeframe for the worst cost of any of these taks
09:38 AM Haohmaru: cehteh, if it never gets idle that means that one of my tasks has frozen.. or an interrupt got frozen
09:38 AM Haohmaru: or program counter got abducted o_O
09:39 AM cehteh: so you configure the watchdog to trigger after this time (plus a bit safety marigin, and include ISR handling in your calculations)
09:39 AM Haohmaru: my tasks are not supposed to take too long
09:39 AM cehteh: then you reset it before starting these tasks in each loop
09:39 AM cehteh: for example .. other uses are possible too
09:39 AM cehteh: well thats the point
09:40 AM LeoNerd: Sortof use it like alarm(2) + SIGALARM
09:40 AM LeoNerd: on POSIX
09:40 AM Haohmaru: the longest stuff i can think of is needing to write a bunch of pages at once into the external eeprom, which takes 5ms per page
09:40 AM cehteh: watchdog is when something unexpected happens like such a task hangs
09:40 AM Haohmaru: so imma set my watchdog to something like 100ms for example
09:40 AM cehteh: but generlly you dont need to use the watchdog, better dont use it and only enable it when you really know you need to use it
09:41 AM cehteh: there are some shortcommings
09:41 AM cehteh: only use it when you really have to
09:41 AM Haohmaru: cehteh, i am thinking to use the watchdog because of the bootloader
09:41 AM cehteh: like a dead man switch on a locomotive
09:41 AM Haohmaru: basically, this xmega device is connected to a usart<->tcp pipe, and talks to a server
09:42 AM cehteh: there is nothing dangerous when the device gets stuck right?
09:42 AM Haohmaru: the idea is to let the server instruct the firmware to reboot into bootloader mode, and then send it a hex
09:42 AM Haohmaru: via tcp
09:42 AM cehteh: like elevator motor going at full speed without a stop
09:42 AM cehteh: you dont need a watchdog for it
09:42 AM Haohmaru: the bootloader needs to know the reason for reset
09:43 AM Haohmaru: i already got a nice reset controller, which gives lots of nice clues
09:43 AM cehteh: that watchdog as reset is a hack
09:43 AM Haohmaru: now, thing is.. if the firmware doesn't get properly programmed, and turns out to be corrupted..
09:44 AM cehteh: but then you only enable the watchdog for reset, let it expire (reset) and the bootloader disables it
09:44 AM Haohmaru: i was thinking to rely on the watchdog to let the bootloader know that it should remain running and wait for the server to send a proper hex
09:44 AM cehteh: ah ok you can do that
09:45 AM Haohmaru: because my bootloader will not use a pin for that decision
09:45 AM cehteh: but what happens when your firmware is wong as it doesnt talk anymore but still pets the watchdog
09:45 AM cehteh: you only catch a fraction of errors there
09:45 AM Haohmaru: you mean if the firmware is pseudo-corrupted
09:45 AM Haohmaru: that's a funky case ;]
09:45 AM cehteh: you could set the watchdog to a very long time (lots of seconds)
09:46 AM Haohmaru: yes, generally i was thinking to make it several seconds
09:46 AM cehteh: and after a tcp connection is established your protocoll sends a 'everything ok now, please disable the watchdog' message
09:46 AM Haohmaru: iirc it can be up to 8seconds
09:46 AM cehteh: yes
09:46 AM cehteh: you can do that
09:46 AM Haohmaru: nonono
09:46 AM cehteh: but think twice what errors that will catch
09:46 AM Haohmaru: TCP is outside of the control of this xmega
09:47 AM Haohmaru: there's another chip that provides it
09:47 AM cehteh: because .. if these are the 'expected' errors then you can handle them somehow else
09:47 AM cehteh: watchdog is for unexpected errors :D
09:47 AM cehteh: serial/usb then, boils down to the same
09:47 AM Haohmaru: in normal conditions, the server will tell the firmware to reset into bootloader mode, then the xmega will reset itself, but the TCP connection is not stopped at all
09:48 AM cehteh: can be done
09:48 AM Haohmaru: from the xmega's point of view, it has a USART
09:48 AM cehteh: yes
09:49 AM Haohmaru: on the other end of that USART is another chip which packets and unpackets that stuff and deals with keeping the tcp connection to the server
09:49 AM cehteh: still the definition if the firmware is working or not should be some external decision or?
09:50 AM Haohmaru: well, what i'm trying to do is to normally "go thru" the bootloader as quick as possible, in order to reach the firmware which initializes the pins more properly
09:52 AM cehteh: dont forget that your bootloader needs to pet the wdt else it will get into a reboot loop
09:53 AM cehteh: resets dont disable the watchdog
09:53 AM Haohmaru: thus the decision whether the bootloader should stay or jump to the FW needs to be taken very quickly.. so i figured to use "reset reasons" and maybe some additional clues.. i was thinking some variable/structure in RAM which doesn't get cleared during software reset
09:53 AM cehteh: so bootloader neds to call wdr or disable the watchdog, possibly enabling it later
09:54 AM cehteh: no ram gets cleared after a software reset
09:54 AM cehteh: but the Clib clears it on boot
09:54 AM Haohmaru: i was thinking more to use the WD for when the bootloader jumps to the FW
09:54 AM cehteh: you can disable that with the noinit section
09:54 AM Haohmaru: and if the FW happens to be broken - the bootloader will see it in the reset reasons
09:55 AM Haohmaru: basically, if the reset reason is POR - jump to the FW immediately
09:55 AM Haohmaru: if reset reason is software reset - check "uncleared" RAM variable.. for a message from the firmware, and then remain waiting for hex
09:56 AM cehteh: so .. gtg
09:56 AM cehteh: sounds good, i think you can figure the rest out
09:56 AM Haohmaru: if the reset reason is watchdog - probably corrupted firmware, stay in bootloader mode and wait for help, or try again
10:15 AM Haohmaru: i'm still thinkering over the whole thing..
10:52 AM polprog: http://www.cluebees.com/tech/highlights/25-Rare-Soviet-Gadgets-about-which-few-people
10:52 AM polprog: the computers look kinda cute
10:53 AM polprog: very similiar to western tech, especially the laptop and the tiny BASIC computer
10:56 AM cehteh: they where mostly cloned western computers
10:57 AM polprog: yeah
10:57 AM polprog: obviously
10:57 AM polprog: the chess computer is kinda cool, too
10:59 AM cehteh: https://counterespionage.worldsecuresystems.com/the-great-seal-bug-part-1.html
10:59 AM cehteh: thats the coolest soviet invention
11:00 AM polprog: lol
11:01 AM cehteh: way aheaf of its time, completly passive electronic transmitter
11:01 AM polprog: cold war is one of the cooler parts of history
11:03 AM cehteh: well somewhat nice that it ended
11:03 AM polprog: sure
11:04 AM polprog: but we wouldn't have all the tech if not that
11:04 AM cehteh: except what came after wasnt much better :D there was only a short peaceful period afterwards
11:04 AM polprog: whoops :P
11:18 AM Lambda_Aurigae: the cold war hasn't ended. That's just propaganda to get people's minds off it. It just shifted. These days it is played out on the internet as much as anything else.
11:20 AM cehteh: thats the new cold war
11:28 AM Lambda_Aurigae: instead of being us against the USSR it is now us against Russia, China, North Korea, and half the Arab countries in the world.
11:29 AM Lambda_Aurigae: I was in the military in the intelligence community when the berlin wall fell and the cold war supposedly ended...RIIIIGHT...hehe
11:32 AM cehteh: i just happen to be in berlin those days :D
11:33 AM cehteh: longer planed weekend vacation
11:36 AM Lambda_Aurigae: fun fun.
11:37 AM Lambda_Aurigae: I would have liked to be there but I was stuck in a vault just outside of colorado springs analyzing a combination of seismic, hydrouacoustic, and satellite sensor data.
11:39 AM Jartza: cehteh: wow. I was at berlin too when the wall fell
11:39 AM cehteh: hah
11:40 AM cehteh: did you seen a red citroen cv4 inbetween the folks?
11:40 AM Lambda_Aurigae: was that you trying to run people down!?!?!
11:40 AM cehteh: we parked in the middle of some place at the morning and over the day the place became overcrowded with a lot people, and TV transmission vans
11:41 AM Lambda_Aurigae: when that all happened we went on massive high alert status...
11:41 AM Lambda_Aurigae: we normally worked 8.5 hour shifts with half hour overlaps.
11:41 AM Lambda_Aurigae: we switched to 13 hour shifts, giving us more people on shift and a longer overlap for handoff.
11:42 AM Lambda_Aurigae: which was fucked because the wall fell on my birthday.
11:43 AM Lambda_Aurigae: I ended up working almost 3 weeks straight without a day off and 13 hour night shifts through there.
11:43 AM cehteh: haha
11:45 AM Lambda_Aurigae: we knew something was happening a week before
11:46 AM polprog: nice
11:47 AM antto: o_O
11:47 AM antto: is this the ay vee arr channel? ;P~
11:47 AM polprog: yass
11:48 AM antto: question: what would you do if you had an atmega in the cold war?
11:48 AM polprog: wasnt it the time of 8086 or acorn risc machine?
11:48 AM Jartza: cehteh: heh, no cv4 at sight, can't remember at least
11:49 AM antto: polprog that's a hypothetical question!
11:49 AM cehteh: i wonder if somewhere exists photos from that
11:49 AM spybert: Lambda_Aurigae: Speaking of cold wars, what do you think of the North Korea thing?
11:49 AM Jartza: I might have some paper photos at my mom's
11:50 AM polprog: antto: i'd do what i do with AVRs
11:50 AM polprog: mess around
11:50 AM Lambda_Aurigae: spybert, they are a bunch of numb nutted blowhards who can't build a rocket to save their lives.
11:52 AM spybert: Lambda_Aurigae: Maybe someone else built it for them. I have to wonder why we are allowing them to become such a big problem. First it was nuclear weapons, now ICBMs
11:53 AM Lambda_Aurigae: they are copying existing designs without the full knowledge of what they are dealing with.
11:53 AM Lambda_Aurigae: same with their nukes.
11:53 AM Lambda_Aurigae: it takes a lot of time and effort to make enough fissionable material to make a decent nuke.
11:53 AM polprog: isn't it like their tech is what we had in the 50's or earlier?
11:54 AM Lambda_Aurigae: and their bombs are likely waaay too big to fit on any rocket or missile they might have built so far.
11:54 AM Lambda_Aurigae: I would say 50s is about right.
11:54 AM Lambda_Aurigae: kim dong numbnuts needs to be taken out except for the fact that he is so damned funny.
11:55 AM spybert: I'm thinking we really need to move away from the policy of only invading countries that are absolutely helpless.
11:56 AM spybert: But I know short term economics determines policy
11:56 AM LOVV is now known as lemmings
11:58 AM spybert: Lambda_Aurigae: The simplest way to shut down NK would be to pressure the Chinese with tariffs, etc. But I suspect corporate America is unwilling to take the short-term hit to their bottom line.
12:11 PM Lambda_Aurigae: yup.
12:11 PM Lambda_Aurigae: the quickest way would be to glass the country..but there might be one or two innocents there.
12:16 PM LeoNerd: "The trouble is that the United States of America likes to think they're the greatest country in the world, but they're not even the greatest country in America"
12:18 PM HighInBC: ^^
12:18 PM HighInBC: Ohhh Canada!
12:19 PM Lambda_Aurigae: we lost that "greatest" designation when etheopia had a higher english literacy rate amongst graduating highschool seniors than we did in the 90s.
12:20 PM Lambda_Aurigae: now, granted, they had 35 graduating highschool seniors in the whole country that year...but still.
12:20 PM Lambda_Aurigae: we do have an awesomely high standard of living though...mostly.
12:20 PM LeoNerd: Provided you don't get ill
12:21 PM Lambda_Aurigae: my insurance is decent.
12:21 PM Lambda_Aurigae: my diabetic stuff is 100% covered..meds, testing, doctor visits.
12:22 PM Emil: Arghh
12:22 PM Emil: While I don't have to make a new pcb
12:22 PM Emil: this UV curable soldermask
12:22 PM Emil: It's pretty painful
12:23 PM Emil: 4-5 minutes my ass
12:23 PM Emil: More like 30 minutes at least
12:34 PM cehteh: not enough UV :D
12:37 PM bss36504: Go to a rave, Emil
12:37 PM bss36504: bring your boards
12:39 PM polprog: i need to try UV etching
12:39 PM polprog: and UV soldermask
12:47 PM Emil: :D
12:47 PM Emil: polprog: it's a _PAAAAIN_
12:48 PM polprog: probably less apin that fucking toner transfer xD
12:51 PM Lambda_Aurigae: I've had no problem with toner transfer using press-n-peel blue.
12:51 PM Lambda_Aurigae: someone needs to take his boards out beyond the ozone layer and expose them to sunlight!
12:52 PM Tom_L: ymmv.
12:53 PM Tom_L: i've had better luck with stuff other than press n peel :)
12:53 PM polprog: i guess my boards are just not clean enough...
12:53 PM Tom_L: that's the main thing
12:53 PM polprog: ill get some isopropyl alcohol next time
12:53 PM Tom_L: acetone
12:53 PM Lambda_Aurigae: acetone!
12:54 PM Jartza: I've used the pcbfx ttp
12:54 PM Lambda_Aurigae: or anhydrous ethanol.
12:54 PM Lambda_Aurigae: either way, wear gloves and keep area well ventilated.
12:54 PM Lambda_Aurigae: both will absorb straight through your skin.
12:55 PM Lambda_Aurigae: acetone reacts with the sugar in your blood...causes blood sugar levels to drop like you just took a massive insulin dose..without the energy boost from insulin.
12:55 PM Lambda_Aurigae: anhydrous ethanol,,,well,,,aside from the chemical burns, you can get wasted pretty quick.
12:57 PM polprog: Lambda_Aurigae: what was that chem that you cleaned a pool with the other day?
12:57 PM polprog: i used 96% ethanol (spirit) initially for cleaning the boards
12:57 PM polprog: then some abrasive agents
12:57 PM polprog: then spirit again
12:58 PM polprog: and it failed anyway
12:58 PM polprog: maybe it's the wrong paper
01:09 PM xentrac: acetone does not react with sugar :)
01:14 PM Emil: polprog: oh yeah uv etching is nice
01:15 PM Emil: polprog: you might want to buy isopropanol
01:15 PM Emil: polprog: ethanol is not the best cleaning solvent
01:15 PM Emil: isopropanol is better because it removes flux bette
01:15 PM Emil: r
01:16 PM Tom_L: i've also used copper pan cleaner to clean the pcb
01:16 PM polprog: tsktsk ethanol is edible
01:16 PM polprog: joking
01:16 PM polprog: ill get isopropanol when i etch next time
01:17 PM polprog: or ill make a uv lightbox
01:18 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/boards/USBTiny_Mkii/silkscreen/silk_batch_cure.jpg
01:18 PM Tom_L: i use that to cure UV paint
01:18 PM polprog: i was thinking about getting some UV superflux leds
01:18 PM polprog: and just whack a simple PSU
01:19 PM Tom_L: those were fishtank lights
01:19 PM polprog: or even better get a LED 12V transformer
02:54 PM Lambda_Aurigae: Emil, ok...then it does something else to the body that causes massive low blood sugar levels.
02:55 PM Lambda_Aurigae: polprog, not the other day...15 years ago.
03:03 PM polprog: Lambda_Aurigae: yeah, 15 years ago
03:03 PM polprog: :P
03:35 PM Emil: And the results are in: https://www.youtube.com/watch?v=cQSdQazJQE4
03:36 PM Emil: UV curable soldermask from China: a fucking pain in the arse
03:36 PM Emil: But I discovered that tinning and then removing extra with wick produces kawaii results :3
03:37 PM Emil: (It might be that my mask didn't stick to the tin and there's a possibility it's meant for directly to copper/FR4 instead of tin)
03:42 PM Emil: Well
03:42 PM Emil: At least the motor controller works
03:42 PM Emil: At least it programs
03:54 PM day_ is now known as daey
03:57 PM polprog: crusyt
03:57 PM polprog: crusty
03:58 PM polprog: also
03:58 PM polprog: >not using SMD
03:58 PM polprog: nice masochism lol
03:58 PM polprog: happy drillin
03:59 PM polprog: did you notice how i used absolutely minimal amount of tht (only pin header) on that TI PWM driver breakout? :P
03:59 PM polprog: though it's crusty as hell, it's a good outcome for homemade... i need to get some
04:00 PM polprog: there are yellow, blue, red and grn 4-color sets there
04:00 PM polprog: maybe mix colors
04:00 PM polprog: or make 2-color pcbs
04:00 PM polprog: :o
04:01 PM day_ is now known as daey
04:07 PM Emil: pepijndevos: fuq u matey
04:07 PM Emil: oops
04:07 PM Emil: polprog: *
04:07 PM Emil: polprog: But I know T.T
04:07 PM Emil: The absolutely kawaii mini (2cmx3cm) board is coming but takes ageees
04:07 PM Emil: This is what goes in while it's not there
04:08 PM Emil: But drilling it wasn't actually bad
04:09 PM day_ is now known as daey
04:35 PM Emil: FUUUUUUUUUUUUUUUUUUUUUUUUUUUUUCK
04:35 PM Emil: How the heck can I lose a fucking PCB board
04:35 PM Emil: I'm not fucking interested in making a new one T.T
04:35 PM Tom_L: you might be
04:35 PM enh: Maybe the universe does not care
04:36 PM enh: about your interests
04:37 PM enh: Look below your table
04:37 PM enh: can't you find it?
04:43 PM Emil: haahah found it
04:43 PM enh: Below the table?
04:43 PM Emil: I need myself a constant video recorder
04:43 PM Emil: enh: no
04:43 PM Emil: It was on a table next to some component towers
04:44 PM Emil: And because it was tinned and the table is the same color...
04:44 PM * enh wonders how big is a component tower
04:45 PM enh: The name reminds me of World Trade Center
04:59 PM day_ is now known as daey
05:36 PM xentrac: it's interesting how homemade PCBs have this lovely synergy with SMD
06:32 PM Emil: xentrac: hmm?
06:33 PM Emil: xentrac: if you diy then smd with big enough pitch is god tiee
06:33 PM Emil: r
06:33 PM Emil: No drilling
06:58 PM Emil: Anyone know if the analog comparator on megas has any hysteresis?
06:59 PM Emil: And how much?
07:01 PM Emil: Äh
07:01 PM Emil: I should have read the datasheet a bit more before routing
07:02 PM Emil: I should have switched FAULT to AIN1 instead of AIN0
07:58 PM xentrac: Emil: exactly
07:59 PM xentrac: I dont'remember the answer about the hysteresis but I assume it has some
08:11 PM day_ is now known as daey
08:38 PM day_ is now known as daey
09:47 PM Casper: ... do I really have to cast and cast and cast???
10:34 PM rue_shop3: ?
10:50 PM Casper: nothing finally
10:50 PM Casper: just a very very weird bug
10:51 PM Casper: printf_P(PSTR("% 5d:%02d:%02d "), lhours, lmins, lsecs); <=== that is different than ===> printf_P(PSTR("% 5d:%02d:%02d "), lhours, lmins, lsecs);
10:52 PM Casper: don't ask me what is the diffence, I can't see it, left cause a bug, right is fine
10:56 PM _ami_: Casper, check if there is a difference of whitespaces ?
10:56 PM Casper: now it work
10:56 PM Casper: so it's fine
10:57 PM Casper: now, the painfull part: converting ADC from an NTC to temperature
11:01 PM Casper: and 1 potential issue fixed, and one annoying thing also fixed, yay!