#avr | Logs for 2014-02-04

Back
[00:26:11] <rue_more> mine are AIWA
[00:26:28] <rue_more> they are battery powered (ac adapted) walkman speakers
[00:26:40] <rue_more> way better quality than standard ones
[00:26:57] <rue_more> they perform great with the sub I have with them
[00:30:31] <rue_more> http://www.priceminister.com/offer/buy/178786436/aiwa-sc-a8-paire-mini-enceintes.html
[00:30:33] <rue_more> these actually
[04:50:16] <braincracker> hello my friends
[09:02:51] <PigFlu> does anyone know where i can find actual example code for the lcd screen on the STK504?
[09:05:50] <Roter> well, i tryed using eclipse with avr plugin, but they didnt have pololu usb programmer as an option for programmers
[09:07:04] <Roter> if i want to program avr, what ide or maybe a simple text editor, that can show mistakes
[09:07:48] <Roter> im using linux, so no atmel studio
[09:14:06] <twnqx> i use avrdude on command line :X
[09:14:14] <twnqx> or via "make program"
[09:35:15] <Roter> and when you compile it, does it report syntax errors?
[09:38:28] <antto> eh?
[09:38:51] <antto> what kind of syntax errors?
[09:38:55] <Roter> if you write some code and forget a semicollon
[09:39:04] <antto> that won't compile
[09:39:10] <antto> at all ;]
[09:39:26] <Roter> but will it write like: "Missing semicollon at... "
[09:39:57] <antto> i haven't seen a compiler which tells you that you missed a semicolon
[09:40:05] <antto> i mostly use gcc
[09:40:36] <antto> int n = 234
[09:40:39] <Roter> oh, its probably the ide or text editor that shows it
[09:40:40] <antto> + 5;
[09:40:45] <antto> this is valid, for example
[09:41:04] <Roter> ok
[09:41:50] <antto> you need compiler output, in order to see whether what you're trying to compile actually compiles or if there are compile errors/warnings
[09:42:01] <antto> IDEs usually integrate all that nicely
[09:42:28] <spooq> compilers output error messages
[09:42:48] <spooq> IDEs may have their own codesense kind of feature that parses code and detects errors
[09:42:48] <Roter> oh ok
[09:42:58] <Roter> quick question tho
[09:43:42] <spooq> bleugh pumpkin soup tastes wrong
[09:43:49] <spooq> all jellylike
[09:43:58] <spooq> must be off
[09:44:01] <Roter> good to know
[09:44:06] <spooq> whats the q?
[09:44:06] <Roter> forget the question brb
[09:44:09] <spooq> lol
[09:45:08] <Roter> i was thougth that the cable from the programmer had a vcc, but it said, that the programmer doesnt give any power
[09:45:12] <Roter> so i was confused
[09:45:19] <Roter> but then i noticed it wasent vcc
[09:46:14] <antto> mine supplies vcc
[09:46:46] <antto> the USBASP.. but it's broken
[09:47:00] <antto> so i use parallel port, which doesn't supply vcc ;]
[09:47:51] <antto> http://i.imgur.com/0m6Sk6E.jpg <- muehehe
[09:49:35] <Roter> nice, that looks like such a home made option
[10:13:42] <Roter> http://www.pololu.com/docs/0J36/1.a in the part where they explain VDD ,do i have to connect it ? and where do i connect it, im reading about AREF, and it looks a like lot VDD
[10:14:24] <Roter> or should i connect it to AVCC ?
[12:14:03] <Fleck> is there a way to enable all timers at ounce, so that they run in sync ?
[12:15:58] <braincracker> yes
[12:16:02] <braincracker> use sei
[12:16:22] <braincracker> global enable interrupts
[12:18:25] <Fleck> braincracker: I dont need interrupts :D
[19:54:31] <Duality> anyone know a assembler writen in c for avr offcourse
[19:55:01] <jadew> what?
[19:55:27] <jadew> an assembler compiler?
[19:57:09] <JFK911> doesnt gnu as work for avr
[19:57:14] <JFK911> surely thats written in c
[20:21:12] <tzanger> what does it matter what the assembler was written in?
[20:21:42] <tzanger> is it for educational purposes or is there some obscure reason for the source format that I'm missing?
[20:22:38] <Casper> I suspect a broken english too
[20:28:51] <Duality> well, it would be easier to study for me if it were written in C/C++, but I am just looking for the part assembler to .hex
[20:29:32] <Casper> why would that make it easier?
[20:29:54] <Casper> you plan on reading the source code of the assembler program? and not just plain use it?
[20:57:34] <Duality> Casper: yes study the source :)
[20:57:52] <Duality> But I found avra, it's written in C :)
[20:59:06] <Casper> why not gcc?
[20:59:42] <PoppaVic> an assembler is an assembler - run with it
[21:01:04] <Casper> PoppaVic: he want to study the source of the program/assembler
[21:01:14] <PoppaVic> sure
[21:01:25] <PoppaVic> Whatever is readable works.
[21:01:32] <Casper> not the source code of the avr program
[21:01:52] * PoppaVic sighs
[21:03:42] <Duality> the source of the program that turns assembly into machine code :), like avra, I had found gavrasm, but it's written in pascal, and I would have to learn the language, before I could study the source.
[21:10:23] <tzanger> a compiler really isn't the best "learn a language" study
[21:14:32] <PoppaVic> luckily, an assembler isn't a "compiler" - no silly optimizing and such
[22:06:01] <jacekowski> Duality: assemblers are really easy
[22:06:24] <jacekowski> Duality: and you can look at avr-gcc
[22:06:33] <jacekowski> Duality: there is assembler in there as well