#avr | Logs for 2013-12-07

Back
[00:00:14] <Casper> at worse, suid it... not recommended, but better than switching to root imo
[00:01:18] <shiven> yeah i wanted it running directly from eclipse to run it through, seems i'm outta luck there
[00:01:56] <Casper> now... I must decide how I set up my next machine...
[00:02:01] <Casper> lilo again or grub...
[00:02:10] <Casper> do I copy this machine to it or start anew...
[00:02:51] <shiven> personally i always start fresh on different hardware, i have a stage4 tarball for when i want to reinstall this
[00:03:16] <Casper> it will be a server
[00:03:20] <Casper> hence my main debate
[00:03:30] <Casper> it's the same cpu familly
[00:03:40] <Casper> but I won't need X at all there
[00:03:43] <Casper> or almost not
[00:04:16] <shiven> i have a couple of headless servers... doesn't matter what you use to boot it as it will probably never go off
[00:04:28] <shiven> i would certainly recommend starting fresh though
[00:04:46] <shiven> most server installs end up tiny, my desktop installs tend to bloat with crap i don't need
[00:05:07] <Casper> I didn't got great success with grub
[00:05:18] <Casper> even at school...
[00:05:26] <Casper> we had standard stuff to do
[00:05:35] <Casper> I never succeded to make grub work
[00:05:36] <shiven> grub 0.9x was a pain in the ass, i find grub2 to be a sinch though
[00:05:40] <Casper> even the teacher refused
[00:05:42] <Casper> err
[00:05:48] <Casper> I mean
[00:05:55] <Casper> even the teacher failed on my comp
[00:06:02] <shiven> lol
[00:06:04] <Casper> yet it worked on the 15 other computer
[00:06:09] <Casper> same hardware, same config
[00:06:18] <Casper> we even swapped drives
[00:06:51] <Casper> finally, I said: can I use lilo? "if you can configure it, sure"
[00:07:03] <Casper> 3 mins later it was configured and booted
[00:08:12] <shiven> was it grub 0.9x or grub2 though? i used to use lilo instead of grub legacy, but grub 2 is just so much easier.
[00:12:39] <Casper> I dunnot, been too long
[00:12:43] <Casper> might have been .9
[00:14:31] <Casper> nite
[00:14:39] <shiven> nights
[05:46:20] <lxsameer> what should be sck to program a atmega8 ?
[05:48:47] <The_Coolest> it depends on the frequency of the chip
[05:50:04] <lxsameer> The_Coolest: i think atmega8 is about 16MHz
[06:03:03] <OndraSter__> sck has to be <= fclk/4
[13:17:33] <megal0maniac> So it turns out TQFP32 is actually quite easy to solder :)
[13:18:12] <megal0maniac> This gladdens me
[13:21:04] <OndraSter__> sure it is
[13:21:21] <megal0maniac> Also, flux is messy
[13:21:51] <megal0maniac> I'm further gladdened by the fact that I'm removing a Renesas something or other and replacing it with an xmega :D
[13:21:54] <megal0maniac> 32E5
[13:22:09] <OndraSter__> :)
[13:22:14] <OndraSter__> if we were on facebook I'd say (y)
[13:22:16] <OndraSter__> or on skype
[13:24:47] <N2TOH> what now?
[13:31:17] <megal0maniac> N2TOH: xmega is the best
[13:31:27] <megal0maniac> Except nobody knows it
[13:31:30] <N2TOH> http://www.atmel.com/devices/ATMEGA2564RFR2.aspx
[13:31:59] <megal0maniac> http://i.imgur.com/ldCzjOO.png
[13:50:27] <bsdfox> atmel needs to offer more ram without needing to step up to 192kb or something like that for flash
[13:51:28] <bsdfox> also the xmega is still a bit too expensive to compete with the cortex m0 stuff
[13:52:18] <megal0maniac> It's 8bit. It isn't meant to compete with cortex m0 stuff. That's what SAM D20 is for
[13:53:22] <bsdfox> well, if it's more expensive, slower, and offers less peripherals while available in the same convenient packages I'm not sure what segment of the market they hope to capture
[14:24:20] <N2TOH> bsdfox, people looking to step up a little bit without needing the dump their established code base
[14:24:33] <N2TOH> http://www.digikey.com/product-detail/en/ATMEGA2564RFR2-ZF/ATMEGA2564RFR2-ZF-ND/4119506
[14:30:59] <ThiefMaster> xmega is smd-only, isn't it?
[14:31:27] <N2TOH> no idea, best PDIP I have found is the 1284P in a PDIP 40
[14:31:40] <N2TOH> 16KB SRAM
[14:31:51] <ThiefMaster> oh, and 3v3-only <.<
[14:32:29] <N2TOH> the 1284P will do 20MHX @ 5 volts
[14:32:32] <megal0maniac> N2TOH: Why do you keep linking to that?
[14:32:47] <N2TOH> I have a project in mind
[14:32:49] <megal0maniac> And yes, xmega is smd only. 32pin tqfp is the smallest
[15:25:32] <N2TOH> megal0maniac, I have a project that will benefit from more SRAM. so I'm always on the lookout for an 8 bit AVR with more RAM
[15:36:41] <jerkey> i think the xmega can address external SRAM
[15:37:10] <N2TOH> if your willing to run code in interpertave mode you can do anything
[15:46:17] <megal0maniac> jerkey: Yeah, the A1 has external memory bus
[15:46:29] <megal0maniac> And most of the others have DMA
[15:53:11] <N2TOH> how many versions of the A1 are there?
[15:53:24] <N2TOH> does the memory have to be a particular type?
[15:53:58] <N2TOH> can it be PROM of something other then SRAM/DRAM?
[15:55:52] <megal0maniac> http://www.atmel.com/images/doc8058.pdf
[20:18:13] <rue_shop2> I never had a problem with SIGNAL( functions, but ISR almost always give me frief
[20:18:16] <rue_shop2> grief
[20:23:10] <Valen> isr all the things!
[20:24:42] <rue_shop2> ISR(TIMER2_OVF_vect) {
[20:24:45] <rue_shop2> is NOT triggering
[20:24:58] <rue_shop2> I'v had this problem since the switch
[20:25:21] <rue_shop2> where all my signal code would work fine, but the same code, with isr wouldn't
[20:26:06] <rue_shop2> thats why I never switched my code, but now signal dosn't work with the compiler, so I have to switch to a method that dosnt damn well work
[20:39:13] <rue_shop2> it would help if i knew which mod just fixed that
[20:42:32] <Valen> you sure the timer is overflwoing?
[20:42:46] <Valen> you weren't interrupting on compare match or some other thing?
[22:41:32] <sirpatrick> Any have experience using an AVR dragon with an Arduino uno? I cannot get the AVR dragon to see the target. I am using a pre built ISP cable and have tried every connector configuration possible
[22:41:56] <sirpatrick> I can program the chip fine via avrdude and a USBASP
[22:43:36] <N2TOH> are you sure the cable is not damaged?
[22:43:44] <Tom_itx> the default dragon ISP doesn't have power supplied to it
[22:43:52] <sirpatrick> yes, as it is the cable I use with the USBASP
[22:43:54] <Tom_itx> you need to get power from the power rail
[22:43:58] <sirpatrick> Yep
[22:43:59] <sirpatrick> did that
[22:44:11] <Tom_itx> and double check the ISP pinout
[22:44:12] <sirpatrick> The Arduino shows powered as well
[22:44:19] <N2TOH> are you sure your computers port is within spec?
[22:44:26] <Tom_itx> 6 pin miso mosi is backward from the 10 pin
[22:45:00] <N2TOH> I know this seems silly, but have your tried using a USB HUB?
[22:46:29] <sirpatrick> Have not done that n2t0h
[22:46:38] <sirpatrick> I am now thinking I somehow fucked up the fuse settings
[22:46:45] <sirpatrick> as I can no longer program this chip with usbasp
[22:47:10] <N2TOH> that will do it too!
[22:47:26] <sirpatrick> damn
[22:47:30] <sirpatrick> not sure how I did that
[22:47:48] <N2TOH> if it's not the fuse settings, I will say I have lost track of the number of sins a cheap USBHUB will "fix"
[22:47:57] <sirpatrick> hmm
[22:48:12] <N2TOH> do you have an STK500 board?
[22:48:43] <sirpatrick> nah, Using AVR dragon and Arduino uno as target dev board
[22:49:06] <N2TOH> do you have a programer that can do high voltage programing?
[22:49:14] <sirpatrick> sadly no
[22:49:22] <N2TOH> that's why I bought the STK500 years ago
[22:49:58] <N2TOH> it was the only thing I could find at the time that could set any of the fuse bit settings
[22:50:41] <sirpatrick> Ok, so I need to figure out how the fuse settings got messed up
[22:50:51] <sirpatrick> I have plenty of spare 328p
[22:52:28] <N2TOH> um ok
[22:52:56] <sirpatrick> this is so odd
[22:53:07] <N2TOH> hang onto the fubared ones till you locate a programmer that can set fuse bits
[22:53:15] <sirpatrick> In the device programming menu, I keep getting Unable to connect to tool AVR Dragon (00A20002995C)
[22:53:18] <sirpatrick> I shall!
[22:53:41] <N2TOH> well you might be able to "set the bits" but not reset them if ou know what I mean
[22:54:22] <sirpatrick> USB driver attach timed out
[22:54:32] <N2TOH> what os?
[22:54:33] <sirpatrick> hmm that is the error now. Wonder if the dragon is fubar
[22:54:36] <sirpatrick> windows 7 64 bit
[22:54:45] <sirpatrick> I will verify driver
[22:54:59] <N2TOH> I was just going to ask if it needs a special driver
[22:55:24] <N2TOH> have you tried rebotting for good measure yet :)
[22:55:29] <sirpatrick> Yes haha
[22:55:33] <sirpatrick> The damn magic fix
[22:56:03] <N2TOH> and a solid foundation for oh so many jokes
[22:59:13] <N2TOH> so far it's been smooth sailing with this kit
[22:59:35] <sirpatrick> This sucks
[23:00:10] <N2TOH> is it just your new cable, or is there another way to move forward?
[23:00:19] <Tom_itx> sirpatrick, i think dragon will do hvpp
[23:00:20] <sirpatrick> It for sure isn't the cable
[23:00:27] <Tom_itx> it's a PITA to hook it up
[23:00:38] <sirpatrick> yea I see that lol
[23:00:43] <Tom_itx> i did one once