#avr | Logs for 2012-07-02

Back
[02:10:54] <hetii> Hi :)
[04:41:22] <sabesto> is the atmel cdc thing just broken in linux/osx?
[07:01:09] <mitsakos> hello, do you know what is the most used capacity of RTC 32.768Khz crystals? I mean the crystals capacity, not the capacitors that should be used with
[07:07:56] <casper> what do you mean by capacity?
[07:10:33] <karlp> capacitance I would presume
[07:11:22] <mitsakos> yes sorry
[07:11:30] <mitsakos> capacitance
[08:15:12] <OndraSter> hmm
[08:15:21] <OndraSter> has anyone tried building cluster with 100 or so ARM cores?
[08:15:25] <OndraSter> like 450MHz each
[08:16:22] <OndraSter> and building a cluster?
[08:42:07] <Rickta59> is that the definition of google OndraSter ?
[08:42:18] <OndraSter> well I know they did try something
[08:42:22] <OndraSter> only one project I could find
[08:42:24] <OndraSter> with panda boards
[08:42:29] <OndraSter> and well, pandaboards are like $200
[08:42:34] <OndraSter> something not that interesting anymore
[10:45:17] <Tom_L> abcminiuser, time to upgrade: http://www.rigolna.com/products/digital-oscilloscopes/ds2000/
[10:45:47] <abcminiuser> Neat
[10:45:57] <abcminiuser> Although I don't really use my DS1502E much anyway
[10:46:00] <Tom_itx> how's things?
[10:46:24] <OndraSter> 8 inch display
[10:46:26] <OndraSter> *fap fap fap*
[10:46:39] <abcminiuser> Not bad, ASF work is making me damned tired, but some good things coming out soon
[10:46:58] <abcminiuser> Incidentally, we released a bunch of AS6 patches last Friday, make sure you install them
[11:44:03] <JyZyXEL> what says the jury about using "int8_t string_buffer[]" vs "char string_buffer[]"
[11:53:39] <Landon> are you just storing characters?
[11:55:08] <JyZyXEL> yeah
[11:55:38] <JyZyXEL> ASC
[11:55:40] <JyZyXEL> ASCII
[11:55:56] <Posterdati> hi
[11:56:03] <Posterdati> please I need help for avr-gcc
[11:56:06] <OndraSter> hi
[11:57:29] <Posterdati> avr-gcc -Os -Wl,--gc-sections,--relax -mmcu=atmega2560
[11:57:34] <Posterdati> collect2: error: ld terminated with signal 11 [Segmentation fault]
[11:57:47] <Posterdati> on wheezy (amd64) with gcc 4.7
[12:03:17] <grummund> Posterdati: avr-ld -v
[12:03:33] <Posterdati> GNU ld (GNU Binutils) 2.20.1.20100303
[12:05:24] <Posterdati> ?
[12:05:32] <Posterdati> I think it is the latest
[12:05:55] <Posterdati> anyway I'm retrying to recompile from source he gcc-avr package
[12:05:59] <grummund> you can add -Wl,--verbose to the options
[12:06:37] <Posterdati> attempt to open /usr/lib/gcc/avr/4.7.0/../../../avr/lib/avr6/libm.so failed
[12:06:56] <grummund> well there's the problem
[12:07:10] <Posterdati> aha
[12:07:30] <Posterdati> -rw-r--r-- 1 root root 144354 2012-05-23 10:34 /usr/lib/gcc/avr/4.7.0/../../../avr/lib/avr6/libm.a
[12:08:49] <grummund> it shouldn't be attempting to link with .co file
[12:08:54] <grummund> it shouldn't be attempting to link with .so file
[12:08:59] <Posterdati> grummund: http://paste.debian.net/177420/
[12:09:19] <Posterdati> a binutils-avr bug?
[12:10:37] <grummund> er, no look at the pastebin -
[12:10:51] <grummund> http://paste.debian.net/177420/
[12:10:53] <specing> < Posterdati> on wheezy (amd64) with gcc 4.7 <--- that is what you get for using experimental software
[12:10:59] <grummund> attempt to open /usr/lib/gcc/avr/4.7.0/../../../avr/lib/avr6/libm.a succeeded
[12:11:43] <Posterdati> is 4.6 ok? :) lol I used it until few days ago
[12:12:07] <specing> Im using 4.5.3
[12:12:30] * grummund 4.3.3
[12:12:42] <specing> :)
[12:12:51] <Posterdati> so where's the problem?
[12:17:45] <Posterdati> gcc-avr works for atmega328p
[12:34:22] <JyZyXEL> so which one is better: "int8_t string_buffer[]" or "char string_buffer[]" for storing ASCII
[12:38:25] <RikusW> char
[12:38:40] <Steffanx> int8_t
[12:38:44] <Steffanx> or uint8_t
[12:39:04] <specing> JyZyXEL: char
[12:39:11] <JyZyXEL> why?
[12:39:25] <specing> because ASCII is a character encoding :)
[12:39:32] <RikusW> char has traditionally been used for strings
[12:39:43] <specing> well he is making a string
[12:39:56] <RikusW> char_acter ;)
[12:40:00] <Steffanx> Traditions are there to break
[12:41:03] <RikusW> well char is signed and ASCII is 0-255.....
[12:41:34] <JyZyXEL> i thought ascii was 7 bit
[12:41:36] <karlp> ascii is 0-127?
[12:41:38] <karlp> yes.
[12:42:02] <RikusW> but there is extended chars
[12:42:23] <karlp> those aren't ascii though :)
[12:42:44] <RikusW> how about using EBCDIC ? :-P
[12:42:44] <karlp> those are the hellhole of everything other than unicode
[12:43:48] <RikusW> ExtendedBinaryCodedDecimalInterchangeCode :)
[12:44:52] * RikusW wonders if EBCDIC is in use anywhere anymore ?
[12:45:19] <RikusW> en.wikipedia.org/wiki/EBCDIC
[12:47:17] <Posterdati> grummund: it seems that it is the --relax options in the compiler command line
[12:48:24] <Posterdati> grummund: http://comments.gmane.org/gmane.comp.gnu.binutils/55903
[12:53:04] <grummund> Posterdati: well don't use it then :p
[12:55:03] <Posterdati> grummund: I don't want to, but arduino thinks different :)
[12:55:06] <Posterdati> grummund: lol
[12:55:25] <grummund> edit the Makefile ?
[12:55:39] <Posterdati> no
[12:55:46] <Posterdati> didn't work
[12:56:03] <Steffanx> Arduino .. there's where it went wrong :P
[12:56:20] <RikusW> I'd rather stay away from Arduino altogether, its too automated....
[12:56:35] <Steffanx> You rather stay away from C too, soo :P
[12:56:39] <Posterdati> Steffanx: I use to program with selfmade makefiles and avrispmkii
[12:57:00] <RikusW> Steffanx: I do use C++ on x86
[12:57:24] <Steffanx> because you have no choice RikusW
[12:57:56] <RikusW> because I'm too lazy to code everything in x86 asm :-P
[12:58:19] <RikusW> avr-gcc can drive me nuts sometimes....
[12:58:51] <RikusW> haven't used the new Atmel avr-gcc much yet, I hope that one is better
[13:07:29] <monobit_> why would you write something in x86 asm?
[13:07:30] <monobit_> insanity
[13:13:35] <Posterdati> x86 assembler is insane
[13:14:59] <Landon> x86 assembler is half braindead, which makes the remaining twice as insane
[13:18:07] <RikusW> the x86 integer only instructions aren't that bad
[13:19:13] <RikusW> but I mostly read it anyways, haven't written any recently
[13:21:29] <RikusW> But I have actually coded for x86 in hex :-D
[13:22:31] <RikusW> one or two instructions, line a jump or break
[13:27:54] <Corwin> my favourite x86 asm line was "jmp F000:FFF0"
[13:28:12] <Corwin> anyone remembers what that JMP was doing? :)
[13:31:31] <RikusW> reboot ?
[13:31:38] <Corwin> yes :)
[13:32:11] <RikusW> there was another one with port 64... that also reboots the pc...
[13:32:51] <Steffanx> Nowadays people use a 'modern' OS :P
[13:33:02] <Corwin> like apple iOS? :D
[13:33:09] <RikusW> for(DWORD *p = 0xC0001000;; *p++ = 0); // reboots win9x ;)
[13:33:41] <Corwin> C000 memory segment? bios shadow copy?
[13:33:42] <RikusW> by overwriting the entire kernel
[13:33:59] <RikusW> and all device drivers
[13:34:14] <RikusW> no segments, 32bit flat
[13:34:50] <RikusW> probably causes a triple fault
[13:36:22] <Corwin> .... omg... how am i supposed to download anything with file sharing services taken down or mass-deleting files?
[13:36:45] <Steffanx> Get a job
[13:37:01] <RikusW> you mean the torrents ?
[13:37:15] <Corwin> no... i mean services like megaupload, filedeposit, etc
[15:11:41] <specing> I've heart ATMEL make AVR/fpga combos :O
[15:13:14] <specing> they are even available on mouser...
[15:14:15] <Steffanx> uh?
[15:14:43] <Steffanx> Who wants a slow AVR with a less slow fpga? :P
[15:14:56] <specing> me
[15:16:13] <Steffanx> Sorry, stupid question
[15:20:51] <specing> Well you're right, I wouldn't
[15:31:44] <OndraSter> yes, Atmel makes AVR-FPGA chips :)
[15:35:33] <asteve_> but are they better than the xilinx and altera counterparts?
[15:35:48] <OndraSter> doubt that
[15:36:15] <OndraSter> BUT you have just one chip
[15:36:23] <OndraSter> but I doubt it is available outside professional area
[15:39:43] <specing> oh abcminiuser
[15:39:58] <specing> Have you played with the FPGA-AVR combos?