#avr | Logs for 2013-07-06

Back
[02:03:11] <mashku> Hi
[02:03:44] <mashku> is there a way to simulate avr chip like attiny84 to see the state of pins without flashing it over and over
[02:03:45] <mashku> ?
[02:05:36] <sabesto> yes
[02:05:42] <sabesto> in atmel studio
[02:06:25] <sabesto> http://www.youtube.com/watch?v=aAw-7Lq-3tI
[02:06:31] <sabesto> that probably explains it
[02:06:33] <mashku> nah for Linux
[02:06:42] <mashku> I mean free software
[02:06:47] <sabesto> it is free
[02:07:11] <mashku> runs nativly on Linux and is using gcc compiler?
[02:07:43] <mashku> ok.. I see it does not, I dont have windows...
[02:07:51] <sabesto> you can look at GDB if you want to use linux because its linux
[02:08:02] <sabesto> but ive never used it
[02:08:22] <sabesto> tinyxp on a virtual machine works well
[02:08:24] <mashku> yeah I am trying to find something there is gdb-avr but I am looking for something like eclipse plugin maybe that can use it
[02:11:05] <mashku> sabesto, have you ever used interupts on attiny84 ?
[02:12:01] <sabesto> spesificly a tiny84, probably not, but its more or less exactly the same on all 8-bit avrs
[02:12:13] <sabesto> and i use it all the time
[02:13:00] <mashku> how to do it? because examples I find on google for tiny85 dont compile
[02:16:15] <sabesto> read this, and as i said, its the same on all 8-bit avrs: http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=89843&start=all&postdays=0&postorder=asc
[02:17:56] <mashku> thanks
[02:25:28] <sabesto> interrupt vector names can be guessed from this page: http://nongnu.org/avr-libc/user-manual/group__avr__interrupts.html
[02:48:38] <OndraSter_> or from the io???.h file
[02:49:33] <OndraSter_> there is an AVR simulator for linux
[02:49:36] <OndraSter_> but don't ask me about the name
[02:49:38] <OndraSter_> I don't know it
[02:49:41] <OndraSter_> (I am a windows user)
[03:09:22] <rue_house> dont simulate
[03:09:35] <rue_house> really, its not a good path
[05:19:07] <antto> can avrdude be used to just monitor the serial port output?
[05:38:44] <mkad> Hi, lets say I want to use the same pins once for input, once for output, is there any locking mechanism that I can switching DDR while restoring previous state when releaing a lock ?
[05:39:07] <mkad> or do I have to write it myself?
[05:41:05] <mkad> with such a locking code is easier to modify, because I dont have to worry about DDR states.. now I am hardcoding everything and I have to really change these ports if I want to use pins for different function
[09:16:19] <ambro718> how can I get the "backtrace" of an assert failure? In my assert, I print __FILE__ and __LINE__, but this is insufficient to pinpoint the problem.
[09:16:44] <ambro718> i.e. the function with the failing assert is called from lots of places
[09:18:37] <Casper> . . . a guy came in at work, say "I'll leave you a leaflet, you can read it, it's very interresing" and leave. I check the front: "Will your suffering stoip one day?", flip to the back and I read "god" 2 secs later it's in the recycling bin
[09:19:58] <Tom_itx> you don't believe in higher beings?
[10:12:47] <Casper> Tom_itx: not in that tyran that so many people are frightened to not love
[13:46:59] <ColdKeyboard> Hey guys any of you using altium designer?
[13:49:42] <ColdKeyboard> I'm trying to create a rule for clearance for polygon and vias/pads/tracks but only for those who don't belong to net GND...
[13:49:47] <ColdKeyboard> can anyone help? :)
[14:11:50] <braincracker> DIY electric bicycle races motorcycles ;> http://www.youtube.com/watch?v=KX-ki3pP8YU
[14:19:38] <inkjetunito> e-bikes are evil