#avr Logs

Mar 01 2018

#avr Calendar

12:01 AM thornekey: hi im trying to put a hex file onto an atmega8515. i accidentally set the fuses so i had to buy some more atmegas. (cos i only bought one oops). now theyve finally arrived can someone help me setup avrdude
12:04 AM thornekey: how do i know if the program is on the chip successfully
12:04 AM rue_shop3: did you writ eht code in C
12:04 AM rue_shop3: ?
12:04 AM rue_shop3: 8515, hmm
12:04 AM rue_shop3: thornekey, that was to you, you have to answer now
12:04 AM thornekey: yes
12:04 AM thornekey: i didnt write it but its in c
12:04 AM rue_shop3: on linux?
12:04 AM * nuxil sips his morning coffee
12:04 AM thornekey: im on win
12:04 AM rue_shop3: can I give you a makefile tha does it?
12:06 AM nuxil: all the damn math on the tuts and examples i used are wrong i see now..
12:06 AM nuxil: Fout_MAX = (acc_max / res) * fc is just worng :)
12:06 AM nuxil: Max Fout = (((2^accumulator_bitsize-1)-1 / ( 2^resolution_bitsize)) * f_cpu) / lookuptable_size :D
12:08 AM rue_shop3: yea, isn't open source great?
12:08 AM nuxil: lol.
12:08 AM rue_shop3: I got code to tell me the MAC of a esp8266, and ALL the examples on the internet report it backwards
12:08 AM thornekey: ok its successfully put the program on
12:08 AM thornekey: now should i set the fuses?
12:09 AM nuxil: example avrdude -F -p t85 -P /dev/spidev0.0 -c linuxspi -b 1000 -U lfuse:w:0x62:m -U hfuse:w:0xdf:m -U efuse:w:0xff:m
12:09 AM rue_shop3: be aware that ALL arduino libraries contain horrid flaws, things work, but not 100% correctly
12:13 AM nuxil: rue_shop3, i try to not look up arduino libs. kind of a last resort :p
12:13 AM nuxil: thornekey, there is a fuse calulator in the topic use it.
12:13 AM shifttymike is now known as Guest12846
12:13 AM nuxil: make sure you dont disable spi unless you know what oure doing..
12:13 AM rue_shop3: you cant turn off spi over spi
12:13 AM rue_shop3: iirc
12:13 AM nuxil: you can disable spi fuse
12:13 AM rue_shop3: *not* with spi iirc
12:13 AM nuxil: someone in here has done is now to long ago. dont remomber who.
12:13 AM rue_shop3: you have to do it with ____
12:13 AM rue_shop3: jtag
12:13 AM rue_shop3: what am I gonna do when more than 50% of the words are gone?
12:14 AM cehteh: ____ ____ ______
12:15 AM thornekey: ok got the fuses calced
12:15 AM thornekey: the flash is on there do i just add the fuses to the command line code
12:15 AM thornekey: or will it erase it first
12:16 AM thornekey: here is the line: https://hastebin.com/vidahekove.txt
12:18 AM nuxil: you sure about thouse ?
12:18 AM thornekey: pretty positive
12:19 AM nuxil: then burn them., let em burn :D
12:19 AM thornekey: ok so do i just run that again?
12:20 AM nuxil: rue_shop3, im pretty sure (not 100%) you can disable spi fuse when using spi. of you cant do jack after you done that.
12:20 AM nuxil: how else can you for example disable the spi fuse on a atiny? debugwire ?
12:21 AM thornekey: oh, nuxil did this actually work https://hastebin.com/yujakowano.txt?
12:21 AM rue_: you have to use something else,
12:21 AM nuxil: Writing | ***failed;
12:21 AM thornekey: :O
12:22 AM thornekey: dammit
12:22 AM nuxil: wait
12:22 AM nuxil: it ok
12:22 AM thornekey: oh
12:22 AM thornekey: nice
12:22 AM thornekey: :D
12:22 AM nuxil: you dont have the extended fuses
12:22 AM thornekey: meaning
12:22 AM thornekey: (im new to this :) )
12:23 AM nuxil: on some chips there are 3 parts. low fuses. high fuses and extended fuses
12:23 AM thornekey: oh right
12:23 AM thornekey: so it must of been that
12:23 AM thornekey: cos all say 100%
12:23 AM nuxil: yea
12:24 AM nuxil: fix is just to remove -U efuse:w:0xFF:m
12:24 AM nuxil: from your commnad
12:24 AM nuxil: *cmd
12:24 AM thornekey: but isnt it fused now like i cant do it again
12:24 AM thornekey: with tht chip
12:25 AM nuxil: no need to refuse it
12:25 AM thornekey: ok cool. so its done forever
12:25 AM thornekey: :)
12:25 AM nuxil: just as you know it
12:25 AM thornekey: ok
12:26 AM nuxil: rue_shop3, i actually want to test that now. but no reliable hvsp for my atinys.
12:26 AM nuxil: to reset if i mess up
12:27 AM nuxil: *i mean if it works
12:29 AM thornekey: can i make a hvsp for atmega
12:29 AM thornekey: or not possible
12:29 AM nuxil: no you need a hvpp, hvsp is for atinys and such
12:30 AM nuxil: or check your datasheet what it says whats needed. hvpp or hvsp
12:31 AM nuxil: but yea. you can make both hvsp, and hvpp. hvpp reqires alot more work and would be best just to buy one. unless you want to make one to get experiance and such.
12:33 AM thornekey: oh yea cool
01:48 AM polprog: morning
01:54 AM nuxil: moring, sup
01:55 AM nuxil: *morning
05:37 AM nohitzwork: Emil https://www.partco.fi/fi/mittalaitteet/oskilloskoopit/19207-ym-ds1054z.html
05:37 AM nohitzwork: its pretty cheap even if you buy it here
05:38 AM nohitzwork: and this is free of charge https://www.partco.fi/fi/mittalaitteet/oskilloskoopit/19256-bnd-mso-ds1000z.html
05:38 AM nohitzwork: damn i wish i had money to buy that now
06:11 AM Emil: nohitzwork: hmmmmm
06:12 AM Emil: What's that option package
06:13 AM Emil: Ah yeah that's just the software package
06:14 AM Emil: nohitzwork: damn I wish I got that for free :D
06:15 AM day__ is now known as day
07:17 AM z999: hello tom
07:17 AM z999: you tehre?
07:18 AM z999: Tom_L?
07:18 AM z999: nuxil?
07:19 AM * Haohmaru starts blinking in red like an emergency light
07:19 AM z999: hello Haohmaru
07:19 AM z999: are the fellas around?
07:19 AM Haohmaru: who knows
07:19 AM z999: ok i msg them
07:19 AM z999: i psted the links of the labs i did
07:19 AM z999: i hope they get a kick out of them
07:20 AM z999: well since they are not around. i will try again later.
07:20 AM Haohmaru: or just stick around for a few minutes
07:21 AM z999: i have to go
07:21 AM z999: they might be sleepy
07:21 AM z999: tell them to check query later
07:22 AM Haohmaru: heh
08:01 AM McDonaldsWiFi: I had a noob moment of wonder last night
08:01 AM McDonaldsWiFi: I didn't know watchdog timers were a thing
08:01 AM McDonaldsWiFi: these things are fucking DOPE
08:01 AM Thrashbarg: heh
08:02 AM McDonaldsWiFi: I had an attiny13 that probes every few seconds for data, but it was drawing full power the whole time
08:02 AM McDonaldsWiFi: nows its drawing like 1/10th of that, love it
08:03 AM Thrashbarg: at my old job we were making a consumer power meter based around a Z8 micro. They decided to change the default watchdog timeout in a recent batch of processors, so we had to change the code to prevent it from cycling around in a loop. As such, we had to make a new revision of the software and say so on the web site
08:03 AM Thrashbarg: then we got a call from a customer who demanded their firmware be upgraded
08:04 AM Thrashbarg: my supervisor spent a good half hour on the phone trying to explain why they didn't need it
08:04 AM McDonaldsWiFi: LOL
08:04 AM McDonaldsWiFi: not gonna lie, when I learned about it the first thing I did was go look and see if my z80 build had a built in watchdog xD
08:05 AM Thrashbarg: hehe
08:05 AM McDonaldsWiFi: it doesn't, maybe I can make a seperate circuit to do that :P
08:05 AM Thrashbarg: yup use a programmable interval timer
08:05 AM Thrashbarg: connected to the reset pin
08:05 AM McDonaldsWiFi: oh wait a sec, I have a program timer
08:05 AM McDonaldsWiFi: are those used as watchdogs most of teh time?
08:05 AM McDonaldsWiFi: Not sure why I even bought one, I think it was on a list of recommended parts back before I knew what I was doing
08:06 AM Thrashbarg: okay
08:06 AM Thrashbarg: any microcontroller is practically the same as a microprocessor and a heap of peripheral chips shoved into one IC .. so
08:13 AM McDonaldsWiFi: right!
08:13 AM McDonaldsWiFi: ADC, EEPROM, RAM all shoved in there somewhere
08:13 AM Thrashbarg: yup
08:13 AM McDonaldsWiFi: etc etc
08:13 AM McDonaldsWiFi: soo program counter/watch dog is one of those ;P
08:13 AM McDonaldsWiFi: oh well, wishful thinking only lasted 30 seconds last nigh tlol
08:13 AM Thrashbarg: yes exactly
08:14 AM Thrashbarg: usually microprocessors are von Neumann architectures and microcontrollers are Harvard
08:14 AM McDonaldsWiFi: Never heard of these, now I have to look!
08:14 AM Thrashbarg: makes me wonder if AVR comes from hArVaRd...
08:15 AM Thrashbarg: von Neumann is where the code and data are in the same address space, and Harvard is where the code has its own memory to the data
08:15 AM Thrashbarg: Harvard can be more efficient executing code but it need specific instructions to modify i
08:15 AM Thrashbarg: it
08:19 AM nohitzwork: they can be in same address space and still be harvard like in stm32s, better distinction is separate busses for data and code
08:20 AM Thrashbarg: hm that's completely contrary to how I understand it xD
08:20 AM * Thrashbarg does more research
08:20 AM Thrashbarg: to Wikipedia!
08:21 AM nohitzwork: https://hackpad-attachments.s3.amazonaws.com/note_embedded2016.hackpad.com_Q1oJ3O7AHoB_p.577035_1461657410656_undefined
08:22 AM nohitzwork: vs. http://winavr.scienceprog.com/sites/default/files/images/stories/AVR/AVR_Memory_Map.PNG
08:22 AM nohitzwork: both are harvards
08:24 AM Thrashbarg: how is the first one a Harvard? Or rather, what's the difference between that diagram and a diagram of a von Neumann architecture
08:25 AM nohitzwork: <nohitzwork>they can be in same address space and still be harvard like in stm32s, better distinction is separate busses for data and code
08:25 AM nohitzwork: im not gonna repeat my self again, if you dont belive me then dont
08:26 AM Thrashbarg: if you want. I was just making conversation
08:26 AM nohitzwork: but with a little research you will find out that the first picture is harvard
08:26 AM nohitzwork: like the second
08:27 AM Thrashbarg: ah "modified Harvard architecture" gotcha
08:27 AM nohitzwork: AVR is modified harvard too
08:27 AM Thrashbarg: yup
08:28 AM Thrashbarg: poking about Wikipedia "In contrast, a von Neumann microcontroller such as an ARM7TDMI, or a modified Harvard ARM9 core, necessarily provides uniform access to flash memory and SRAM (as 8 bit bytes, in those cases)."
08:28 AM Thrashbarg: nothing's ever clean cut lol
08:30 AM Thrashbarg: me being me I usually go for an old definition, something I probably shouldn't do
08:31 AM McDonaldsWiFi: watchdog timers make me so happy
08:31 AM McDonaldsWiFi: lol
08:31 AM Thrashbarg: hehe
08:31 AM nohitzwork: sorry for being little rude, im just tired and wanna get home
08:32 AM Thrashbarg: heh
12:05 PM polprog: science day tomorrow
12:05 PM polprog: rescheduled
12:06 PM polprog: i put together a simple RC constant experiment, using the 2 channel scope i have borrowed
01:03 PM thedude8888: hey guys! how tf is this cable 58$ usd!!! https://www.ebay.com/itm/ATATMEL-ICE-CABLE-Accessories-connection-cable-ATMEL/162847813351?hash=item25ea7c6ee7:g:uG8AAOSw3sRaWJ0G
01:04 PM thedude8888: does anyone know of an alternative? i accidentally threw mine away for my atmel ice :-(
01:04 PM thedude8888: ive google quite alot, but it seems only atmel are making specifically this cable, quess this is why its so expencive?
01:05 PM Emil: thedude8888: what are you programming?
01:05 PM thedude8888: atmega328p atm
01:05 PM Emil: if it's any of the usual attinys or atmegas just buy an usbasp
01:05 PM Emil: yeah buy an usbasp
01:06 PM Emil: the programmer costs like 1 usd
01:06 PM Emil: the adapter is like 50 cents more
01:06 PM thedude8888: yeah but the point is that ive got this fancy thing from school which is like 200$, so i kinda have to use this
01:06 PM thedude8888: atmel ice
01:07 PM Emil: no
01:07 PM Emil: you don't
01:07 PM thedude8888: im just gonna grow some balls and ask a teacher if its possible to get a replacement i guess
01:07 PM thedude8888: duude
01:07 PM thedude8888: i do
01:07 PM thedude8888: the literal words of my teacher
01:07 PM Emil: "here's an irrational thing I have to do without even asking or confirming, just because I think I might have to"
01:08 PM thedude8888: hahah
01:08 PM Emil: that attitude does not fit in this channel
01:08 PM Emil: atmel ice is just a (very capable) programmer
01:08 PM Emil: that's not what you are learning
01:08 PM Emil: but instead of ordering online sure its faster to ask for a replacement
01:09 PM thedude8888: yeah, thanks anyway
01:09 PM Emil: either a) say that there was no wire with the programmer (so lie) or b) just say you misplaced it
01:09 PM Emil: either way don't bring up the price
01:10 PM Emil: if you want to play around with avrs yourself just buy the usbasp
01:10 PM Emil: if you are from germany the german ebay / amazon probably have them you can order really quickly
01:10 PM Emil: ohwait
01:10 PM Emil: .dk
01:10 PM Emil: duh
01:11 PM Emil: not germany
01:11 PM Emil: Well amazon de will still deliver to Denmark
01:12 PM thedude8888: so i dont need the fancy 200 dollar one to just program mc's like atmegas and similar
01:12 PM Emil: no
01:12 PM Emil: you don't
01:12 PM thedude8888: because i need one for my own personal use
01:12 PM Emil: usbasp will handle pretty much all your needs
01:12 PM thedude8888: and im def not f'n buying one of these my self
01:12 PM thedude8888: aight man
01:13 PM thedude8888: u know if they are comp. with atmel studio?
01:13 PM thedude8888: im just used to it, thats why
01:13 PM Tom_L: they are not
01:13 PM thedude8888: what do you use?
01:13 PM Tom_L: my programmer
01:14 PM thedude8888: i can use arduino IDE right?
01:14 PM Tom_L: i don't think it's studio 7 compliant though
01:14 PM Emil: Tom_L: sure they are
01:14 PM Emil: https://blog.manash.me/setting-up-atmel-studio-for-usbasp-and-avr-programming-802bb4dcf1e9
01:14 PM Tom_L: have you tried one?
01:14 PM thedude8888: cool
01:14 PM Tom_L: hmm
01:14 PM Emil: thedude8888: I don't use ides or shit
01:14 PM Tom_L: they used to require a signature
01:14 PM Emil: thedude8888: just command line tools
01:14 PM Emil: Tom_L: ah that's pretty shitty of them but not unexpected
01:14 PM thedude8888: im not that pro yet, lets just put it like that. but im getting there slowly
01:15 PM Emil: thedude8888: it's not about being a pro
01:15 PM Emil: thedude8888: it's actually easier to use the commandline tools
01:15 PM Emil: than an ide
01:15 PM Emil: since learning the ide requires loads of memorisation of places and what boxes to tick and shit
01:15 PM thedude8888: are u on linux?
01:15 PM Emil: yes
01:15 PM thedude8888: yeeeeah
01:16 PM Emil: but you can use the same style on Winshit
01:16 PM Emil: if you are on Windows
01:16 PM thedude8888: then in my head, you have the label of a pro. in some way. like it or not!
01:16 PM thedude8888: winshit
01:16 PM thedude8888: haha
01:16 PM Emil: thedude8888: emil.fi/avr
01:16 PM Emil: Easy into
01:16 PM Emil: thedude8888: do give feedback if you can
01:17 PM thedude8888: actually also working on pi's at school some times. might give this a try some day!
01:17 PM Emil: (You might want to open it on a desktop, it's just text so on mobile the wrapping is annoying)=
01:18 PM thedude8888: aight man will do
01:18 PM Emil: avr-gcc -mmcu=atmega328p -Wall -Os -o program.elf program.c && avr-objcopy -j .text -j .data -O ihex program.elf program.hex && avrdude -p atmega328p -c usbasp -e -U flash:w:program.hex
01:19 PM thedude8888: now ur just showing off
01:19 PM Emil: that's the only thing you need to compile and upload code to an avr
01:19 PM thedude8888: oh
01:19 PM Emil: thedude8888: it's just 3 commands
01:19 PM Emil: avr-gcc -mmcu=atmega328p -Wall -Os -o program.elf program.c
01:19 PM Emil: avr-objcopy -j .text -j .data -O ihex program.elf program.hex
01:19 PM Emil: avrdude -p atmega328p -c usbasp -e -U flash:w:program.hex
01:19 PM thedude8888: do u just write c code in nano or what do you do
01:20 PM Emil: thedude8888: yes I use nano because I'm (trash) pro
01:20 PM Emil: I should use vim
01:20 PM Emil: any text editor is fine
01:20 PM Emil: you can even use word (don't use word) if you want
01:21 PM Emil: thedude8888: do you have some arduino board like an uno or something?
01:21 PM thedude8888: i just use nano that good for now
01:21 PM Emil: it's easy to use those as minimum development platform
01:21 PM thedude8888: yeah i have all that
01:21 PM Emil: yeah nano is fine
01:21 PM Emil: if you use a board with a serial bootloader (like an arduino uno) the last command just becomes
01:22 PM thedude8888: i actually plan on not using a bootloader
01:22 PM Emil: avrdude -p atmega328p -c arduino -P /dev/ttyUSB0 -b 115200 -e -U flash:w:program.hex
01:22 PM Emil: that's okay
01:22 PM thedude8888: i am gonna do bit manipulation and register stuff
01:22 PM Emil: thedude8888: cool
01:22 PM thedude8888: mostly to learn it
01:22 PM Emil: (though that's in no way related to using or not using a bootloader)
01:23 PM thedude8888: bc i only kinda use arduino ide
01:23 PM thedude8888: until a few months ago
01:23 PM Emil: thedude8888: you can even use the arduino ide to program C
01:23 PM thedude8888: but register stuff is tough omg
01:23 PM thedude8888: yeah
01:23 PM Emil: I do that because I can't be bothered to set up the toolchain in winshit
01:23 PM thedude8888: i plan on using arduino ide, so i can use libraries and stuff, and then program with registers
01:23 PM Emil: No
01:23 PM Emil: please don't
01:23 PM thedude8888: why
01:24 PM Emil: If you want libraries just use non arduino versions
01:24 PM thedude8888: fx temp library?
01:24 PM Emil: the arduino libs are literal cancer
01:24 PM thedude8888: non arduino versions
01:24 PM thedude8888: what does that mean
01:24 PM thedude8888: ohhh
01:24 PM thedude8888: some of them are fine
01:24 PM thedude8888: for a beginner like me at least
01:25 PM thedude8888: i am not going to write my own library. not now nooo
01:25 PM Emil: https://www.ebay.com/itm/311565595115
01:25 PM Emil: buy 3 of those
01:25 PM Emil: thedude8888: just download and use non arduino version of those libraries
01:26 PM Emil: you can use C++ but I can't recommend that
01:27 PM thedude8888: cool ill get some of those
01:27 PM Emil: thedude8888: if you don't need the adapter
01:27 PM Emil: https://www.ebay.com/itm/310506909410
01:27 PM Emil: that's cheaper
01:28 PM Emil: I personally like the 6 pin adapter though, makes using the programmer a lot easier
01:28 PM thedude8888: yeah seems more conveinient
01:29 PM thedude8888: thanks for the help my online friend
01:30 PM Emil: but yeah read this https://emil.fi/avr to get started and
01:30 PM thedude8888: may the universe be good to u
01:31 PM thedude8888: i will, thanks dude
01:33 PM Emil: thedude8888: and here's an example on programming (my style) https://emil.fi/d/streamer.c
01:34 PM thedude8888: this is c right?
01:34 PM Emil: yes
01:34 PM Emil: of course
01:34 PM Emil: I don't program in peasant C++
01:34 PM thedude8888: what does the code to
01:34 PM thedude8888: turn on radios?
01:35 PM Emil: it streams data from a radio through the serial port
01:35 PM thedude8888: what data does a radio have
01:35 PM Emil: well
01:35 PM Emil: it's more like a rf detector
01:35 PM Emil: instead of a radio
01:35 PM thedude8888: oh okay
01:36 PM Emil: That code works as is on m328p
01:38 PM Emil: I don't remember if it's complete
01:38 PM Emil: Should be
01:41 PM Emil: thedude8888: thanks for the good luck wish, also :)
01:41 PM Emil: thedude8888: anycase you can of course develop your own style
01:41 PM Emil: and you don't necessarily have to like how I write code
01:41 PM Emil: It's just an example on register level programming
01:45 PM Emil: thedude8888: register are no different from memorising those arduino hal commands
01:45 PM Emil: (hal=hardware abstraction layer)
01:46 PM Emil: for example: digitalWrite(1, HIGH) is not much different from PORTD=(1<<PB0) or PORTD=0b00000001 or PORTD=1;
01:48 PM thedude8888: hmmm
01:48 PM thedude8888: yeah okay
01:49 PM thedude8888: because im used to the arduino thing, and its hard to wrap my head around exactly what u just wrote an example of. what equals to what
01:50 PM Emil: start with the example on emil.fi/avr
01:50 PM Emil: or lemme see if there's a smaller example
01:50 PM thedude8888: yes i will, im gonna read it shortly i think
01:55 PM Emil: https://emil.fi/d/timerblink.c
01:58 PM Emil: that's pretty clear
01:58 PM Emil: I edited it a bit
02:00 PM Emil: Or if you want one with serial/uart: emil.fi/d/blink.c
02:00 PM polprog: heyo
02:01 PM Emil: heyoooooooooo
02:01 PM Emil: Hicock45 here
02:01 PM Emil: hickok
02:01 PM polprog: got a new mobe
02:02 PM Emil: nice
02:02 PM Emil: which one
02:02 PM polprog: lg k10 2017
02:03 PM Emil: https://www.youtube.com/watch?v=u0_ZdxuRHLg
02:03 PM polprog: the hardware is very nice but the damn system on 2017 version is unrootable yer
02:03 PM polprog: yet*
02:03 PM polprog: would be nice to purge the LG bloatware and install lineage
02:04 PM polprog: lol i know that vid
02:04 PM Emil: polprog: you have a lot of guns in poland :)
02:05 PM polprog: maybe
02:05 PM Emil: https://www.youtube.com/watch?v=hbpLILaWByY
02:05 PM polprog: dunno. iirc you need to pass some psych test to get a carry/purchase permit
02:06 PM polprog: or sign up to a hunter org :D
02:06 PM polprog: then you can run around forests drunk and armed :D
02:10 PM Emil: that's so bad :D
02:11 PM polprog: i mean
02:11 PM polprog: last mahor shooting was 20 years ago
02:11 PM polprog: major*
02:11 PM polprog: i think my neightbour has some guns
02:11 PM polprog: neighbour*
02:12 PM polprog: but living in a big city, not many people have time for that
02:12 PM Emil: no I mean
02:12 PM Emil: I don't mean there's shooting
02:12 PM Emil: s
02:12 PM polprog: every farmer though has one or two BB guns probably
02:12 PM Emil: I mean that it's irresponsible to drink and blink
02:13 PM polprog: ah
02:13 PM polprog: well, theres a lot of controversies with hunters
02:13 PM Emil: being naked and armed is not an issue for me though D:
02:13 PM polprog: its an issue since there arent many forests and there are people in the forests all the time
02:13 PM polprog: bikers, hikers, whoever
02:14 PM polprog: so its quite common that somewhere in the middle of nowhere someone is convicted cos he shot someone else
05:00 PM day__ is now known as day
06:51 PM day__ is now known as day
07:02 PM z999: hello Tom_L
07:02 PM z999: you there?
07:03 PM z999: nuxil?
07:34 PM nuxil: hi, yes. whats up?
07:40 PM Tom_L: maybe
07:59 PM nuxil: z999, i see you pm me some links :) nice that you got it working.
07:59 PM Tom_L: z999 what about you ?
08:01 PM nuxil: videos are a bit corrupted thos. the freez up.
08:01 PM nuxil: *they
08:03 PM nuxil: next task.. conquer the world with asm :D
08:16 PM enh: Hello
08:17 PM Emil: z999: don't ask if people are here
08:17 PM Emil: z999: just ask the question
08:18 PM Emil: z999: and get a computer you can run irc on all the time
08:21 PM rue_: anyone here? I'd like to ask a question
08:30 PM Tom_L: you won't know until you ash ehh?
09:05 PM z999: hi emil
09:05 PM z999: sorry
09:05 PM z999: i wonder why the freeze?
09:05 PM z999: it is the cheapo phone
09:06 PM z999: cheapo govto phono
09:06 PM z999: nuxil, glad you liked it. i was very proud
09:06 PM Tom_L: glad you figured it out
09:14 PM Tom_L: z999 what did you do about debounce on the button?
09:20 PM z999: i went to a tutor. we put a 330 resistor because the lab were out of 220 ohms
09:20 PM z999: i didn't have a ground to ground wire
09:20 PM z999: the coding was fine
09:20 PM z999: i think there was another mistake i can't think of right now
09:21 PM z999: well when all those were fixed then the led shined like a star on a christmas tree
09:21 PM z999: :D
09:22 PM z999: then he gave me another resistor. i added it the breadboard. i added 2 more LEDs.
09:22 PM z999: then those lid up
09:22 PM z999: he said changing the code is not required. the code shouldn't change. he was right!
09:22 PM z999: we didn't even do a delay. it didn't need it
09:23 PM z999: oh, i remember, i didn't have the wire on the same row as the leg of the button
09:23 PM z999: i had the wire on the wrong spot.
09:24 PM z999: which was proabbly why it didn't work and the fact i didn't have a ground to ground wire attached either
09:30 PM Tom_L: you're learning
09:33 PM z999: yeah
09:36 PM Tom_L: z999 so for review did you learn anything about studio?
09:37 PM z999: yes very buggy
09:37 PM Tom_L: most of us use a text editor and compile it with makefiles
09:37 PM z999: sometimes even on campus, i had to shut it down. reopen software and start fresh
09:37 PM Tom_L: works alot better
09:37 PM Tom_L: and doesn't require a mainframe to run it
09:37 PM z999: the files wouldn't open a certain way on campus. i had to open files a different way
09:38 PM z999: and sometimes they didn't build. so i had to start fresh and then it build.
09:38 PM z999: ery strange software
09:38 PM Tom_L: it's microshit
09:38 PM z999: the school chooses that software
09:39 PM z999: the class i am taking requires it
09:39 PM Tom_L: i know that
09:39 PM z999: i couldnt compile with makefiles like you said because teacher grades it with asm files on studio.
09:40 PM z999: i have to use it that way for class purposes.
09:40 PM Tom_L: if you stick with it, you will want to learn about makefiles and compile stuff outside of studio
09:40 PM z999: so i have no choice, even though, it is a crappy buggy software.
09:41 PM z999: yes that is an option i can look into the future
09:41 PM Tom_L: well that's why i went ahead and installed it
09:42 PM Tom_L: you would probably still be struggling
09:43 PM z999: i reached out to dean and interim chairperson in entec (engineering & technoogy) and chairperson told me about the tutor. if it wasn't for him i would still be lost trying to complete projects on my own.
09:43 PM z999: they only have 1 tutor/ lab manager dedicated to tutoring students in engineering.
09:44 PM Tom_L: you'll find good help here
09:44 PM z999: there are 3 campuses that teaches engineering for the same school so i think that is upseting. then again i was the only one asking for help. i think very few ee students asks for tutoring help.
09:45 PM Tom_L: lots of good avr programmers here
09:46 PM Tom_L: we just don't _do_ homework though. wanna make sure you're on the right track and just not looking for quick answers
09:47 PM z999: yeah i know
09:47 PM z999: you are trying to get people to learn it themselves
09:47 PM z999: i get it
09:48 PM Tom_L: so, ask any time just don't wait for the deadline :D
09:51 PM z999: :)
09:51 PM z999: thanks
10:05 PM Kevin`_ is now known as Kevin`
11:41 PM day__ is now known as day