#avr | Logs for 2014-01-09

Back
[04:19:43] <angs> is there a dedicated room for at91 processors?
[04:19:53] <angs> or sam series
[07:13:39] <carabia> damn ups is fast
[07:27:42] <The_Coolest> How do I made gcc generate an elf file which I can dissassemble and see the C/CPP source code
[07:29:06] <The_Coolest> make*
[07:33:23] <_abc_> Is there avrdude for windows 5.10 ? I can only find 5.8
[07:33:37] <_abc_> I don't know if it is worth the hassle to upgrade a client's machine.
[07:39:02] <The_Coolest> there is one for windows _abc_
[07:39:15] <_abc_> Why can't I find it? ;)
[07:39:19] <The_Coolest> I'm using it right now. It's what came with atmel studio
[07:40:00] <_abc_> I have the package from winavr, do not ask what version
[07:40:14] <_abc_> 5.8
[07:40:23] <The_Coolest> :\
[07:40:26] <_abc_> Are batch scripts for avrdude okay usually?
[07:44:25] <The_Coolest> what batch scripts?
[07:44:52] <The_Coolest> i could only find the avrdude sources for all the versions
[07:44:55] <The_Coolest> not binaries
[07:52:30] <_abc_> binaries are in winavr among others
[07:52:33] <_abc_> The_Coolest:
[07:52:47] <_abc_> batch script to autmate programming with avrdude under windoofs
[07:53:59] <_abc_> "Note that recent versions of Cygwin (starting with 1.7) removed the MinGW support from the compiler that is needed in order to build a native Win32 API binary that does not require to install the Cygwin library cygwin1.dll at run-time. Either try using an older compiler version that still supports MinGW builds, or use MinGW (http://www.mingw.org/) directly."
[07:54:04] <_abc_> Not nice
[07:58:04] <The_Coolest> hmmm
[07:58:13] <The_Coolest> dunno, i just use cmd and the make file
[08:11:38] <_abc_> I do not have make installed
[08:11:46] <_abc_> Will probably write some script which calls avrdude
[08:15:26] <carabia> ahaha okay fuck UPS then
[08:15:57] <carabia> guy called me asked whether it's okay if the delivery's today at 2-4 PM. I said sure. The status is: "The receiver requested a hold for a future delivery date"
[08:24:33] <_abc_> carabia: You better call in on that guy he probably took the afternoon off ;)
[08:25:11] <_abc_> What is rantapallo.org. Sounds cool.
[08:26:46] <carabia> having said that, my parcel just arrived =D
[08:27:10] <carabia> it's just my private domain, of no importance
[08:27:28] <carabia> mildly retarded, rantapallo is finnish for a beach ball
[08:35:55] <_abc_> Ah.
[08:36:04] <_abc_> I thought Maori word first.
[08:36:17] <carabia> gotta get some vlsi decoder chips now
[13:29:24] <synic> so, I'm trying to migrate from arduino to direct AVR for this one project, and I'm trying to play a tone through a buzzer. If I wanted to play the A note, am I correct that I would need to use the timer to somehow turn the speaker pin on and off 440 times a second? How long does the pin need to remain on?
[13:29:42] <synic> Should I be calculating a way for it to run 880 times a second, and alternate on and off?
[13:34:37] <Tom_itx> it's in asm but here's a little tiny10 promect i found that has a siren using a timer: http://tom-itx.dyndns.org:81/~webpage/avr/tiny10/goodies/pwm/
[13:34:45] <Tom_itx> project*
[13:41:26] <megal0maniac_afk> What are the repercussions of having JTAG enabled?
[13:41:41] <megal0maniac_afk> Are normal port operations affected?
[13:42:17] <Tom_itx> yes
[13:42:21] <Tom_itx> on that port
[13:42:26] <megal0maniac_afk> How so?
[13:42:38] <Tom_itx> i'm not sure you can use the data pins
[13:43:09] <megal0maniac_afk> Eugh. That hurts on a 32u4
[13:43:28] <megal0maniac_afk> And the pcb limits pins even further
[13:47:39] <megal0maniac_afk> Oh wait. It's on PORTF
[13:47:46] <megal0maniac_afk> I don't care about PORTF :)
[13:51:00] <megal0maniac_afk> Although this board doesn't provide a single port in its entirety
[14:11:51] <carabia> think i'll kill the cat
[14:12:30] <carabia> she's eaten 2x micro usb chargers x3 in total now the one i repaired the second time is like 20 cm short
[14:12:44] <carabia> well "charger cables"...
[14:12:57] <carabia> usb to microusb... soon i won't be able to charge the phone
[14:13:26] <carabia> and now latest development is that she's almost eaten through my station->solder iron cable
[14:13:55] <carabia> on multiple places so that'll have to be fitted with an extension when i get around it
[14:14:44] <carabia> afterall she was a stray cat who was dumped to me tbh... don't think she's not that far away from being a stray again
[14:22:56] <jerkey> thems good eatin. four drumsticks.
[14:23:07] <carabia> yea
[14:23:09] <carabia> tasty
[14:23:42] <carabia> especially kittens
[14:24:01] <carabia> it's like veal
[14:45:26] <Tom_itx> just cover it with pepper oil
[14:45:33] <Tom_itx> the cat won't touch it
[14:46:44] <carabia> oh yeah
[14:46:51] <carabia> i'm gonna cover the cat with it
[14:47:02] <carabia> and give it a special rectum-tabasco-treatment
[17:49:36] <phinxy> When doing HVSP programming. is 20 cables enough or do i need that VCC->ISP too? only have 20 female to male cables. http://www.atmel.no/webdoc/avrdragon/images/sckt3100a3_pp.png
[17:51:04] <Tom_itx> you need power
[17:51:05] <PoppaVic> don't forget the extension cord
[17:54:27] <phinxy> PoppaVic, What do you mean?
[17:55:17] <PoppaVic> you asked about cable #21++ - and I recommend extension cords. Tom_itx simply timed it well ;-)
[17:55:52] <phinxy> ok =)
[17:58:19] <N2TOH> High voltage Parrallel programing only uses the two 10 wire patch cables, plus all the power pins and reset
[17:58:29] <N2TOH> on the ATMEL STK500 that is
[18:00:34] <PoppaVic> an extension cord can do it in THREE!
[18:13:04] <phinxy> hm my avr dragon looks dead. no LED andits making a small buzz sound
[18:13:16] <phinxy> nothing happens when i plug it in
[18:18:32] <Epsilon-Auriga> just because it's called a dragon does not mean it should be breathing fire and smoke.
[18:22:10] <phinxy> teehee
[18:22:34] <phinxy> weird. ive read so much about theese device break down and that you should not touch the power regulator area
[18:22:53] <Epsilon-Auriga> prolly right.
[18:22:56] <phinxy> the only thing i did was upgrade it to latest firmware. now its read. rip
[18:26:57] <phinxy> Should i contact AVR support or do they have absolutley no refounds what so ever?
[18:27:19] <Epsilon-Auriga> if by refound you mean refund, dunno on that.
[18:27:25] <Epsilon-Auriga> but you can contact atmel support.
[18:42:03] <phinxy> There. posted a message to Atmel. if they cant do anything im gonna bypass the power regulator
[19:12:17] <karlp> somewhere someone had a dump of a bunch of avr jtag info, but googles are failing me, anyone remember the site with the info?
[19:12:51] <Epsilon-Auriga> not I...never touched jtag myself
[19:13:05] <karlp> or was it just a PDI decode?
[19:45:07] <The_Coolest> argh looks like another 328p bit the dust
[19:45:40] <Casper> The_Coolest, what have you done again? 12V?
[19:45:46] <The_Coolest> no
[19:46:05] <The_Coolest> it just stopped working. I've been tweaking my ATtiny based USB
[19:46:13] <The_Coolest> been reading the firmware off it
[19:46:36] <The_Coolest> yesterday it stopped responding to ISP, but came back to life a few minutes later.
[19:46:45] <Casper> weird
[19:46:48] <The_Coolest> Today it was still working, but then stopped
[19:47:05] <carabia> 328p sounds too much arduino
[19:47:13] <carabia> shivers...
[19:47:15] <The_Coolest> it's a custom board
[19:48:47] <Tom_itx> do you have a cold solder joint?
[19:49:00] <Tom_itx> or a crappy breadboard
[19:49:12] <The_Coolest> it's a PCB and a TQFP chip
[19:49:23] <Tom_itx> i'd check the solder
[19:49:39] <The_Coolest> I don't think there's a cold solder joint. but who knows.
[19:50:21] <Tom_itx> wouldn't hurt to flux the joints and hit them all again with the iron
[19:50:27] <The_Coolest> I've went over all of the IO pins, they all had connections
[19:51:20] <The_Coolest> I'll try it tomorrow. I really don't see how\why\what could cause this. a cold joint would make sense, but not a lot
[19:52:05] <The_Coolest> issue I have with this PCB is that there's no soldermask between the pins, makes it quite a PITA to solder.
[19:57:30] <Casper> what about the voltage regulator?
[19:57:32] <Casper> is it trustable?
[19:57:38] <Casper> and stable power?
[19:58:06] <The_Coolest> there is no reg
[19:58:12] <The_Coolest> powered by USB
[19:59:06] <Casper> ok
[19:59:28] <The_Coolest> a cold solder joint could be the issue, I'll try to resolder it tomorroww
[21:31:26] <phinxy> Why does my avr not power up when i have HVSP cables connected? no led, only a light buzzing sounds.
[22:01:45] <phinxy> A couple of dudes in a forum had same problem as me. And a guy said he didnt have enough USB power.
[22:02:05] <phinxy> Could my couple months old motherboard (deluxe edition etc) not be enough?
[22:19:03] <myself> phinxy: Isn't HVSP doing something to _RESET ?
[22:19:28] <Tom_itx> 12v
[22:22:21] <phinxy> myself, sure it does. im gonna try another usb port. got one intel and one VIA lets hope it works :)
[22:22:47] <myself> ahh, then the chip's not gonna power up...
[22:23:29] <phinxy> the whole programmer looked dead
[22:23:35] <phinxy> no LED or nothing
[23:03:58] <phinxy> http://www.atmel.no/webdoc/avrdragon/images/sckt3100a3_pp.png
[23:04:08] <phinxy> Whats the first pin?
[23:04:36] <phinxy> on device
[23:06:44] <phinxy> Got it. wired it upside down first
[23:42:42] <phinxy> JTAG works, but when connecting hvpp cables to microcontroller the avr dragon just buzz and LEDs are off. Do anyone of you have to use an external powered usb hub for hvpp?
[23:44:01] <phinxy> Would any cheap usb hub with a AC power plug do the trick or do i need a high quality one?