#avr Logs

Feb 15 2017

#avr Calendar

12:29 AM daey_ is now known as daey
12:58 AM rue_house: YOUR RUSSIAN!?!!?
12:58 AM rue_house: i want to make a computer from old toasters, SHOW ME HOW!!!!
12:59 AM rue_house: (and I want to use the computer to fly to space...)
02:06 AM rue_house: in russia, you do not have the secrets, the secrets have you.
08:38 AM ScrumpyJ1ck is now known as ScrumpyJack
09:45 AM Jartza: hallo
09:50 AM skz81: <_ami_> he is a buisnessman.. how can he be EVIL? >> Is THAT a REAL question ?? fuck...
10:14 AM kvi: can Atmel ICE be used for debugging/programming non-Atmel ARM devices? i am thinking of buying it because i need it for AVR, but in the near future i plan to experiment with ARM platforms, but not necessarily Atmel SAM. it seems to me that I will have to buy ICE and another programmer/debuger when I start with ARM, or is there some other device that does Atmel and others?
10:37 AM _ami_: kvi: nope,
10:41 AM chisight: kvi: if you have a raspberry pi, you can debug jtag arm with it.
10:41 AM chisight: like stm32
10:59 AM Lambda_Aurigae: atmel's jtag is a bit different from every other manufacturer.
10:59 AM Lambda_Aurigae: jtag standard ISN'T!
11:09 AM Casper: standard? what is that?
11:09 AM Jartza: jtag... standard?
11:09 AM Jartza: jtag and standard have nothing to do with eachother :D
11:15 AM Lambda_Aurigae: jtag standard ISN'T!
11:20 AM Jartza: Hi Yoda!
11:20 AM Jartza: ;)
11:28 AM Lambda_Aurigae: Emil, your comment yesterday about executing only som many things at 16MHz...heck, used to execute much more at 1MHz on my commodore vic-20!
11:32 AM JanC_ is now known as JanC
11:32 AM skz81: Lambda_Aurigae, his question was more about what we stuff in the flash ! (Given Emil's question phrasing, it has not to be actually executed)
11:57 AM Lambda_Aurigae: atmega1284p makes a fun web page server.
11:57 AM Lambda_Aurigae: lots of flash to store web pages, even graphics.
12:18 PM Jartza: vic-20 has some big advantages over microcontrollers
12:19 PM Jartza: namely, separate graphics and audio chips, for example
12:19 PM Lambda_Aurigae: Jartza, that's what attiny85 is for!
12:20 PM Jartza: yeah!
12:20 PM Jartza: I'm thinking to maybe putting FORTH into attiny85
12:20 PM Lambda_Aurigae: eeewwww.
12:21 PM Lambda_Aurigae: I really should put some effort into porting cbm basic from the C64 to the avr
12:26 PM Jartza: that would be cool too
12:26 PM Jartza: if it runs on attiny85
12:26 PM Jartza: but what's wrong with forth?
12:26 PM Jartza: if you can't make it run with forth, it's not worth
12:26 PM Jartza: :)
12:47 PM Lambda_Aurigae: I never learned forth
12:47 PM Lambda_Aurigae: PASCAL, FORTRAN, BASIC, COBOL, C,,,,those I learnt.
01:14 PM antto: i don't see C++ in your list
01:14 PM antto: ur fired!
01:27 PM Lambda_Aurigae: that's nice
01:27 PM Lambda_Aurigae: I don't know anybody named ur
01:28 PM Lambda_Aurigae: used to play Ur Quan Masters...but
01:28 PM learath: StarCon 2 forever
01:28 PM Lambda_Aurigae: I can do C++, Java, Perl, PHP, some javascript, and about anything else I get the manual for.
01:30 PM Lambda_Aurigae: my flavorite games these days are KSP and Minecraft...even though mickysoft bought minecraft and the maker of minecraft reneged on his promise!
01:30 PM Lambda_Aurigae: well, not quite a promise, but still...
01:31 PM Lambda_Aurigae: he said if he made a million dollars on it he would think about open sourcing it...I guess he probably thought about it for 3 or 4 seconds while cashing mickysoft's check.
01:32 PM antto: "should i accept this big pile of money now or should i reject and stand to my word like a man?"
01:33 PM antto: the pile of money brings more food on the table ;P~
01:43 PM Lambda_Aurigae: but he sold out to microsoft!!!
01:44 PM Lambda_Aurigae: and the house he bought was fucking ugly!
01:45 PM Lambda_Aurigae: and, yes, I'm a bitter old bastard.
01:59 PM antto: afaik adding salt helps get rid of the bitterness
01:59 PM * antto runs
02:22 PM lawncat: o/~ Bitter man have bitter ends o/~
03:07 PM Apocx_ is now known as Apocx
05:29 PM gamelaster: Heya, anyone here?
05:30 PM specing: PLEASE STATE THE NATURE OF YOUR MEDICAL EMERGENCY!
05:31 PM gamelaster: :-D
05:32 PM gamelaster: I have dilema. I want to use ATmega32u4 on my project, but on many sites I see a different type of code
05:33 PM gamelaster: One side is "Arduino" code where is classical digitalWrite, analogWrite, etc... But then I see AVR code, where is DDRB|=(1 << PB7); for initializing a pin etc.
05:33 PM Lambda_Aurigae: different type of code?
05:33 PM Lambda_Aurigae: classical digitalwrite?
05:33 PM Lambda_Aurigae: HAHAHAHAHAH!
05:33 PM Lambda_Aurigae: arduino code is not classical..
05:33 PM Lambda_Aurigae: arduino digitalwrite is an overblown bloated horrid library.
05:34 PM gamelaster: so it's just a bunch of defines what is "translated" into classical AVR code?
05:34 PM Lambda_Aurigae: http://pastebin.com/dSRSxgax
05:34 PM Lambda_Aurigae: not defines
05:34 PM Lambda_Aurigae: a bloated to hell library
05:34 PM Lambda_Aurigae: that's a comparison of digitalwrite and simple basic avr coding.
05:35 PM gamelaster: whoooaaah, that's a huge difference! I excepted that, but all work doing compiler?
05:36 PM Lambda_Aurigae: there is no reason for digitalwrite to be what it is that I ever found....it is like windows programmers wrote it or something.
05:37 PM gamelaster: hmm, well, it's something like WinAPI :-D hehe
05:38 PM Lambda_Aurigae: arduino is the microsoft of the microcontroller world.
05:40 PM gamelaster: :-D loool . Well, I didn't used a AVR (when we don't counting Arduino), but how it is with burning and debugging?
05:40 PM gamelaster: I know my brother used some TI MCU and he got some expensive AVR Debugger
05:40 PM * specing slaps Lambda_Aurigae
05:40 PM specing: how can you use pastebin.com
05:40 PM Lambda_Aurigae: avr programmer hardware can be as simple as 5 wires connected to a parallel port.
05:41 PM Lambda_Aurigae: why not?
05:41 PM Lambda_Aurigae: that was posted there a couple years ago I think.
05:41 PM Lambda_Aurigae: it's still there.
05:41 PM Lambda_Aurigae: I just have a link to it.
05:41 PM Lambda_Aurigae: been there since 2013 actually!
05:41 PM specing: gamelaster: get a stm32 board if you want debug
05:42 PM specing: the debugger comes integrated on the board
05:42 PM specing: and its super cheap
05:42 PM Lambda_Aurigae: debugging in my opinion requires you know the code you are writing.
05:42 PM specing: your opinion is wrong
05:43 PM gamelaster: parallel port is RS232?
05:43 PM Lambda_Aurigae: no
05:43 PM Lambda_Aurigae: parallel port is parallel port
05:43 PM Lambda_Aurigae: rs232 is serial port.
05:43 PM Lambda_Aurigae: there are fairly simple serial port programmers too.
05:44 PM Lambda_Aurigae: and cheap usb programmers
05:44 PM gamelaster: yeah, I got one
05:44 PM Lambda_Aurigae: I still have and still use my first ever parallel port avr programmer...from 15 years ago.
05:48 PM gamelaster: whoaaah, cool! Uhm, I want probably that debugging, because I'm not sure if I will take it! Still I'm not good on low-level programming and on hardware
05:49 PM Lambda_Aurigae: read
05:49 PM Lambda_Aurigae: the
05:49 PM Lambda_Aurigae: datasheet
05:50 PM Lambda_Aurigae: for debugging on avr you will need an atmel ice or similar programmer/debugger...that's bigger money.
05:50 PM Lambda_Aurigae: stm32, while powerful and lots more features, is also much more complex and more difficult to work with.
05:50 PM Lambda_Aurigae: specially for those of us on linux.
05:53 PM gamelaster: well, probably I'll invest to that, I want to develop MCU's software in future :-)
05:55 PM gamelaster: that reminds me, I have GSM module, communicating via UART (it's contains i2c too, but it's not contains i2c feature in default firmware, and chinese developers have full email inboxes) and I want to connect it to Raspberry Pi. So I got idea to "bridge it" with Arduino. It's possible and good idea?
05:55 PM Lambda_Aurigae: never needed that level of debugging myself.
05:55 PM Lambda_Aurigae: possible yes.
05:55 PM Lambda_Aurigae: good idea...anything involving arduino to my mind is not a good idea....but, I'm a bastard.
05:56 PM Lambda_Aurigae: I don't see a need for a second microcontroller..just level converter if the gsm module runs at 5v
05:57 PM gamelaster: I mean ATmega32u4 (single chip), for that asking for burning etc.
05:57 PM gamelaster: gsm module works on 3.8V - 4.4V
05:57 PM gamelaster: Raspberry Pi have UART, but it's used for OS serial, not for communicating with other devices
05:57 PM gamelaster: for that I want to use i2c
05:58 PM gamelaster: I tried to search some UART to i2c bridges but not sure if I found goot things. And good thing is I can with ATmega to control other PINs
05:58 PM Lambda_Aurigae: atmega32u4 is kind of overkill but it could be used, yes. It even has hardware usb built in.
05:59 PM gamelaster: what you mean with "overkill"?
06:01 PM Tom_L: too much chip for the task
06:01 PM Lambda_Aurigae: more processor than you need...you will be using the chip without using major parts of it.
06:01 PM Lambda_Aurigae: but, if that is what you have, use it.
06:01 PM Lambda_Aurigae: an atmega88 would do the job just as well.
06:02 PM Lambda_Aurigae: or an attiny2313 even....or, with some work, an attiny85.
06:02 PM Lambda_Aurigae: with the atmega32u4, I would use the usb interface rather than i2c on the rPI
06:02 PM gamelaster: well, I don't bought it already, first trying to found best solution. Well, on same project I need to control pins, so I can use that ATmega for controlling pins and same for bridging communication