#avr Logs

Dec 14 2017

#avr Calendar

05:31 AM nohitzwork: i got some free avr stuff
05:34 AM Emil: Nice
05:34 AM Emil: TO play with or give away? ;)
05:34 AM nohitzwork: 5 x atmega8, 5 x atmega168, 5 x atmega328p, 5 x amtmega88, arduino nano, arv dragon
05:34 AM Emil: Nice
05:34 AM nohitzwork: co-worker gave them to me
05:34 AM Emil: Pretty good
05:34 AM nohitzwork: i gave him a c64 motherboard
05:34 AM Emil: hahah
05:34 AM Emil: Explains
05:34 AM Emil: "free" stuff is subjective ;)
05:34 AM nohitzwork: well i gave it after he had given those to me
05:34 AM Emil: Ah
08:36 AM polprog: nice loot ;)
08:38 AM nuxil: ? what you guys been talking about? seems like my windows10 desided to update and shut itself off..
08:39 AM nohitzwork: someone should archive all the atmel avr datasheets
08:39 AM polprog: mm
08:39 AM nohitzwork: before they are lost
08:40 AM nuxil: whats going on?
08:40 AM polprog: haha now the macros are in the topic :P
08:40 AM nohitzwork: nothing much, mexican food soon
08:41 AM polprog: thursdays are nice -- we have 4 lessons and today PE was cancelled
08:41 AM polprog: so 3 today
08:42 AM nuxil: nohitzwork, but why should someone archive the datasheets before they are lost? something bad going on that i missed?
08:43 AM nohitzwork: microchip is making their own, and in the process some "obsolete" chip might get lost
08:43 AM nuxil: :\
08:43 AM nuxil: i see atmel will be redirected to microchip 31 dec
08:43 AM nuxil: the website
08:44 AM polprog: i wonder what's the situation with mirroring datahseets, would they be able to DMCA them for some odd reason if i put them up on my server
08:45 AM polprog: or any server that is connected with my name
08:46 AM nuxil: well. thay have copyright on the documentation. but its kind of in public domain now do a dmca takedown might work. but new mirror will soon pop up again
08:46 AM polprog: but on the other hand hosts like the eye who host a shitton on Windows isos, and they put them up repeatedly
08:47 AM polprog: anyway, if i had the diskspace and a vacant IP i'd put them up
08:47 AM polprog: ;)
08:47 AM nuxil: and sitting hunting people "voilating a old" license + issues dmca takedown to the hoster/isp is like more than a fulltime job
08:50 AM nuxil: as a company getting a dmca takedown is much easyer than doing it as a private person tho. i have issued a few dmca takedown to github. its a boring process. altho github hasent the worst system in place for dmca takedowns.
08:51 AM nuxil: they will do it if you can document your work etc.
08:52 AM polprog: ive got several pdf at polprog.net/papiery
08:52 AM polprog: ill see if i can upload something more
08:52 AM rue_mohr: the problem is obtaining all the links to the datasheets
08:53 AM polprog: iirc the link is on the frontpage as well
08:53 AM rue_mohr: it takes days at best
08:53 AM rue_mohr: we had a list before, long out of date now
08:53 AM polprog: if there was a simple way to wget them, even if it was a link catalog... then a simple bash script would do
08:54 AM rue_mohr: you have to find the link to each sheet manually
08:54 AM polprog: that's waht we are trying to avoid ovbs
08:54 AM polprog: ill make some cleanup at my tiny mirror
08:55 AM rue_mohr: they use a content managment system, so ranomized filenames
08:55 AM nuxil: well. i got the datasheet for the atiny85, atmega324p
08:55 AM nuxil: ify ou want them :p
08:55 AM rue_mohr: I keep a local database, I think I have the ones I use
08:56 AM nuxil: i bet Jartza got all revisions of the atiny85 :p
08:59 AM nuxil: has there been any major changed to atmel yet after microchip bought them? like sertan chips will no longer be produced ?
08:59 AM nuxil: or is that something only time will tell.
09:00 AM rue_mohr: microchip has not done the hobby community a lot of justice, its not expected to change
09:00 AM nuxil: hmm.
09:00 AM nuxil: avr is like a heaven for the hobbist
09:01 AM rue_mohr: expect proprietary programming protocols to come out that avrdude cant support cause their closed source and only available hardware/software is from microchip
09:01 AM rue_mohr: they have actaully done it mid-run, beofore
09:02 AM rue_mohr: 16F877 vs 16F877A
09:02 AM rue_mohr: A will cost ya $500 in new programming hardware, only available from microchip
09:02 AM rue_mohr: (not now, but then)
09:02 AM nuxil: well. are there atm any alternative to the atmel besides pic ?
09:02 AM rue_mohr: stm32
09:02 AM nuxil: if so.. the hobbist will run there.
09:02 AM nuxil: but thats to big
09:03 AM rue_mohr: yea
09:03 AM rue_mohr: but the same price
09:03 AM rue_mohr: actaully, I think that board is slightly cheaper than a pro mini right now
09:04 AM -!- #avr mode set to -o by rue_mohr
09:06 AM rue_mohr: btw, about those macros, gcc will turn them into the corresponding sbi and cbi commands if used for io etc etc
09:07 AM rue_mohr: they can, of course, be used on a uint8_t
09:07 AM rue_mohr: (chars are like 24 bits now, so you cant just say that when you mean 8 bits)
09:09 AM nuxil: hmm why the name PORT ? and not BYTE ?
09:10 AM rue_mohr: your right, and its to help people understand what it can be used for
09:18 AM nuxil: how about a ToogleBit? how would it look like as a macro?
09:18 AM nuxil: #define ToggleBit(BIT,PORT) ((PORT & (1<<BIT)) == 1 ? (PORT |= (1<<BIT)) : (PORT &= ~(1<<BIT)))
09:18 AM nuxil: or is that totaly wrong ?
09:20 AM rue_mohr: its wrong for only 1 reason
09:20 AM rue_mohr: no delay
09:21 AM rue_mohr: USUALLY if you set a bit immediatly after clearing itand back, you wont see the blip
09:21 AM rue_mohr: most of the fast stuff I'v done required 1 nop
09:21 AM rue_mohr: er
09:22 AM rue_mohr: sorry, I m reffering to a strobe pulse
09:22 AM rue_mohr: I dont know if its safe to assume a write to the PIN register
09:24 AM nuxil: i was more thinking like.. a bitfield im messing with. a uint8 not the pin register. byte=0x15 , bit=7, ToogleBit(byte, bit);
09:28 AM nuxil: aslo. will this work ? #define GetBit ((BYTE & (1<<BIT))?1:0)
09:28 AM rue_mohr: #define LEDPORT PORTB
09:29 AM rue_mohr: #define LEDPIN 5
09:29 AM rue_mohr: #define LEDON() SetBit(LEDPORT, LEDPIN)
09:29 AM rue_mohr: .
09:29 AM rue_mohr: .
09:29 AM rue_mohr: .
09:30 AM nuxil: yea. but lets say you dont know the state. and want to find it. doing setbit changes the state, same with clearbit.
09:30 AM polprog: hmm, ok, managed to add a header to file listing in apache
09:31 AM Emil: polprog: just change to nginx
09:31 AM Emil: >:D
09:32 AM polprog: activex > nginx
09:32 AM polprog: * > activex
09:32 AM polprog: ;)
09:33 AM polprog: set up nagios recently too
09:34 AM polprog: click around http://polprog.net/papiery
09:35 AM Emil: lulz
09:35 AM Emil: just remove that "takedown, remove thing" from there
09:36 AM polprog: i just spent a good part of 10 mins putting it up there
09:36 AM polprog: :P
09:36 AM polprog: ok
09:36 AM Emil: >10 minutes
09:36 AM Emil: wot
09:37 AM polprog: done
09:40 AM Emil: >If you want any file down from here contact me immediately
09:40 AM Emil: Remove
09:46 AM polprog: argh, allright
09:47 AM Emil: :D
09:48 AM Emil: Luulis jo tekevän
09:48 AM polprog: finishing touches
09:48 AM Emil: Share dat config
09:48 AM Emil: Oh it's fucking apashit
09:48 AM Emil: nvm
09:48 AM Emil: WAIT
09:48 AM Emil: >Windows 95/98
09:49 AM Emil: You are bamboozling me
09:56 AM polprog: aaand done
09:56 AM polprog: amber terminal theme
09:56 AM polprog: ^_^
09:56 AM polprog: Windows 95/98
09:57 AM polprog: why not?
09:57 AM polprog: :P
09:59 AM Rez is now known as L
10:04 AM Emil: Because it's you
10:05 AM Emil: I cannot be sure that it's not actually running on 95/98
10:12 AM polprog: ;)
10:12 AM polprog: no, i dont have any 95 on hand. i have couple xp disks though
10:18 AM Emil: #tooclose
10:35 AM nohit_: nuxil msp430
10:53 AM polprog: so my apache just survived a siege attack a friend did
10:53 AM polprog: because the hosting company banned him :P
10:54 AM theBear: lol
10:54 AM theBear: test passed !
10:55 AM polprog: That was interesting to see.
10:56 AM polprog: s/see/loot at/
11:02 AM polprog: look at*
11:04 AM nuxil: for you polprog :p https://www.youtube.com/watch?v=2izTbEyxg0A
11:09 AM nuxil: nohit_, thanks for the tip.
11:09 AM Emil: nuxil: go to arm directly
11:09 AM Emil: better skip intermediaries
11:10 AM polprog: nuxil: that's a nice guitar line
11:11 AM nuxil: Emil, this stuff ok to start with ?
11:11 AM nuxil: https://www.elfadistrelec.no/no/evalueringskort-stm32-value-line-discovery-pc-vertsmodus-usb-stm32f100rbt6b-st-stm32vldiscovery/p/17387239?channel=b2c&price_gs=142.5&source=googleps&ext_cid=shgooaqnono-na&pup_e=1&pup_cid=35879&pup_id=17387239&gclid=EAIaIQobChMIpYGxo_-J2AIVCM-yCh1P4w5EEAQYASABEgIeyfD_BwE
11:11 AM Emil: nuxil: yeah stm32 nucleo/discovery is a good way to get started
11:12 AM Emil: But efr32, nxp, lcp, ... are all good
11:12 AM Emil: but stm32 enjoys probably the widest use
11:12 AM Emil: in hobbyist circles
11:12 AM nuxil: :) it was kind of cheat. 142kr. i expected it to be more exencive.
11:12 AM nuxil: *cheap
11:12 AM Emil: yeah they cost like 10€
11:13 AM nuxil: im getting one :)
11:14 AM Emil: nucleo is the small version and discovery is the larger one
11:14 AM polprog: "cyberdwarf in a bitcon mine, 2017 colorized" : https://i1.jbzdy.pl/contents/2017/12/cb6352b2aee6a81b9d0c77b3ffa10757.jpg
11:15 AM nuxil: bugger. no in stock need to wait 3weeks.
11:15 AM nuxil: might aswell order from china then
11:16 AM Emil: nuxil: you could order from st directly iirc
11:16 AM Emil: the shipping is like 5€
11:16 AM Emil: or less
11:19 AM nuxil: now i got confused.
11:19 AM nuxil: http://www.st.com/content/st_com/en/products/evaluation-tools/product-evaluation-tools/mcu-eval-tools/stm32-mcu-eval-tools/stm32-mcu-discovery-kits.html?querycriteria=productId=LN1848
11:19 AM nuxil: which one
11:19 AM nohit_: <Emil>nucleo is the small version and discovery is the larger one
11:20 AM nohit_: actually no
11:20 AM nohit_: there are 3 different sizes of nucleo
11:20 AM nohit_: they are like arduinos
11:20 AM Emil: nohit_: oh okay
11:20 AM Emil: interesting
11:20 AM nohit_: discovery's are packs with on board stuff
11:20 AM nohit_: *packed
11:21 AM Emil: Yeah more things apparently?
11:21 AM nohit_: screens, memory, sensors etc
11:21 AM nohit_: yeah
11:22 AM Emil: I'd recommend nucleo
11:23 AM Emil: then
11:23 AM Emil: even though the discovery things are cool
11:23 AM Emil: you can add that yourself later
11:23 AM nohit_: yeah
11:24 AM Emil: nuxil: just order from wherever you find it the cheapest
11:24 AM Emil: also get a M4 or 0+ pretty much
11:25 AM Emil: M4 has all the cool whistles and 0 (or just 0) is perhaps easier to get know to
11:25 AM Emil: I'd recommend the M4 because you'll use the apis anyway
11:26 AM Emil: And you get floats and things
11:26 AM polprog: do you recommend blue pill as a general stm32 dev board to messa round with?
11:27 AM Emil: yeah
11:27 AM Emil: Super cheap
11:27 AM Emil: and you learn the tools
11:27 AM Emil: (Hopefully)
11:27 AM polprog: but it's not M* as i can see
11:27 AM polprog: i need to read about the part numbering
11:27 AM nohit_: Emil is not talking about part numbers
11:27 AM nohit_: but cores
11:27 AM polprog: aha
11:28 AM Emil: polprog: bluepill is M3
11:28 AM Emil: CM3
11:29 AM polprog: looking at the schem you could probably put that together on a perfboard :P it's on my to-buy list for a long time along with stlink
11:29 AM Emil: There's CM0, CM0+, (CM2 but lol no one uses), CM3, CM4, CM4
11:29 AM Emil: But yeah
11:29 AM Emil: Bluepills are great
11:29 AM Emil: but for a development platform nucleos are awesome
11:29 AM Emil: since they include stlinkv2
11:30 AM polprog: hmm
11:30 AM * polprog is looking up his balance
11:31 AM Emil: nuxil seems to appreaciate ease of use so nucleos I recommend
11:32 AM polprog: stlink is this detachable board?
11:34 AM polprog: holy cow it's cheap as hell
11:37 AM Emil: It's builtin on most nucleos
11:38 AM polprog: im talking about this: https://i.pinimg.com/originals/19/35/c4/1935c42b847a0ad0f99165f76d8ceb3c.jpg
11:39 AM polprog: this one i would get from farnell
11:39 AM polprog: is it break-off-able
11:39 AM polprog: ;)
11:43 AM Emil: you canyeah it is
11:43 AM Emil: But
11:43 AM Emil: you lose all goodies :D
11:43 AM Emil: But yeah it is
12:09 PM polprog: "loose all goodies"
12:10 PM polprog: that way i can buy one nucleus and several bare chips and i already have a prog
12:10 PM learath: interesting design.
12:12 PM polprog: i like the aesthetic part of that design
12:12 PM polprog: the color go well together
12:12 PM polprog: i consider designing PCBs a form of applied arts
12:13 PM Emil: polprog: mate
12:13 PM Emil: polprog: just buy the stlink from ebay if that's your plan :D
12:14 PM polprog: i guess i would do so anyway
12:14 PM polprog: but there's a reason they made it electrically separate on the nucelus
12:14 PM polprog: nucleus*
12:15 PM Emil: Not electrically separate
12:15 PM Emil: just that you can snap it off
12:15 PM polprog: well yeah that;s what im talking about
12:15 PM polprog: lol
12:16 PM polprog: anyway, i found and old bash script in my home dir, sandstorm.bash
12:16 PM polprog: sandstorm.sh *
12:17 PM polprog: if you have a spare minute and want to see something stupd try it
12:17 PM polprog: it's up on the mirror
12:20 PM nuxil: i dont like the header arrangement on the stm32 discovery boards. it looks like the pin are backwards. sticking down instead of up,
12:20 PM Emil: *Nice*
12:21 PM polprog: i dont know if they did, but AVR dragon has pinout printed on the bottom of the pcb. and i noticed that the nucleus has 2x 2 row headers which are not labeled on the top
12:21 PM nuxil: i guess youre suppose to put them in a breadboard or something.
12:22 PM nuxil: i like my headerpins up. not down :p
12:25 PM nuxil: this stm32 kits seems to be nice. but a bit confusing which one to choose from.
12:26 PM nuxil: i also dont like that there is no holes for to put standoff and screws
12:30 PM nuxil: i like the pcb of the nucleo much better than the discovery
12:41 PM nuxil: but dont think i will get one. its to confusing. to many board, dont know which one to get. some say get this some say get that. i have no clue and will spend $ on beer instead :p
12:45 PM nuxil: polprog, https://www.youtube.com/watch?v=njos57IJf-0 the end :p
12:46 PM polprog: nuxil: haha
12:46 PM polprog: nuxil: 0:35 start https://www.youtube.com/watch?v=dT5ywUFGE9Y
12:49 PM nuxil: :)
12:52 PM nuxil: also check out the video: Epic Rap Battle: Nerd vs. Geek ,on youtube. same dudes who behind it iirc. you might have seen it before tho :p
12:53 PM nuxil: anywho. time to go pop some chips :D
12:53 PM polprog: have fun
03:51 PM polprog: wonder what the recent fcc voting means for non-us based people
03:53 PM cehteh: lean back, point finger, laughter
03:53 PM polprog: that's what i thought ;_
03:53 PM polprog: ;)
03:53 PM cehteh: us democracy, the best democracy money can buy!
03:53 PM polprog: rofl
03:54 PM kl0wn: copycats incoming
04:01 PM learath: meh. Can we just toss them all in ablender or something? :(
04:12 PM nuxil: smell corruption and lobbyisme all the way here.
07:25 PM rue_bed: heh, and nobody made any comment about the mandatory free windows 10 upgrade?
07:26 PM rue_bed: wonder what back doors they have into linux
07:52 PM Casper: who is "they"? nsa?
07:52 PM Casper: no need for a backdoor in linux or windows
07:52 PM Casper: they have minix
07:53 PM Casper: you know about that right?
08:32 PM L is now known as LoRez
09:54 PM rue_mohr: oh, yea, running on the new cpu cores
09:55 PM rue_mohr: er in
10:08 PM _ami_: rue_mohr, nice, whats the new config?
10:08 PM _ami_: i7 8 cores?
10:08 PM _ami_: 32B ram
10:08 PM _ami_: etcs?? ;)
10:11 PM rue_mohr: dunno
10:12 PM rue_mohr: I run a 3.3G tripple core Athlon, why should I upgrade when there is nothing better out yet?
11:10 PM day__ is now known as daey