#avr | Logs for 2014-10-27

Back
[00:03:57] * Casper thinks he'll give up on qtouch... and go back to self code :(
[01:32:03] <rue_bed-aok> whats qtouch
[01:32:33] <Casper> atmel touch button/slider/wheel library
[01:34:05] <Casper> rue_bed-aok: it's a pain to understand how to use...
[09:30:56] <rue_house> so it needs someone to make an abstraction library?
[12:55:14] <Casper> rue_house: the issue with the qtouch stuff is that you need atmel studio, then in it you install the qtouch lib and also the qtouch composer
[12:55:30] <Casper> but it assume so many things... it's annoying
[13:43:51] <grafi_> Hello, I have the ATmega256RFR2 xpro starter kit, it comes with the OLED1 xpro extension. Unfortunately the OLED1 doesn't come with any example code and the ASF GFX/ssd1306 driver doesn't support the rfr2 board.
[13:44:19] <grafi_> Any suggestions on how to get started with this display?
[13:45:17] <N1njaneer> Get the datsheet for the driver and/or pick apart example code :)
[15:12:16] <grafi_> N1njaneer: That was what I was afraid of :] I have already used a couple of days on this without much luck, my main task is to measure rssi in different enviroments, guess I'll have to use the good old terminal
[15:54:51] <Tom_itx> initializing an OLED can be tricky
[15:57:48] <N1njaneer> Yeah, best to have the datasheets. NKK makes a sexy one that is 96 x 64 embedded in a rocker switch that I've used for one product. Very easy to use, but had to write a character generator since it's just a 1-bit graphics bitmap
[16:13:53] <Jartza> whee
[16:14:08] <Jartza> everything works
[16:14:29] <Jartza> modem & button together with one pcint-vector
[16:15:17] <Jartza> and even debounce with isr
[17:07:37] <N1njaneer> Jartza: Congrats!
[17:09:09] <Jartza> thanks
[17:09:26] <Jartza> now some clean up, more comments and stuff and I guess I'm quite ready
[17:09:32] <Jartza> then some fine-tuning to the update-sw
[17:45:29] <Lambda_Aurigae> LeoNerd, you made dangerous prototypes front page.
[17:46:54] <LeoNerd> Huhh... I did?
[17:47:24] <LeoNerd> Oh.. so I did. huh.. wow
[17:47:40] <Lambda_Aurigae> your hv programmer with a bus pirate thing.
[17:47:43] <Lambda_Aurigae> hit my rss feed.
[17:47:51] <LeoNerd> Yah.. So I see
[17:49:58] <N1njaneer> Congrats!
[20:45:30] <CluelessPerson> I cannot understand it
[20:45:43] <CluelessPerson> I had this working before, but I can't program my avrs with this isp programmer
[20:48:02] <CluelessPerson> the tool isn't detected in atmel studio
[20:49:12] <N1njaneer> Which programmer?
[20:49:36] <N1njaneer> Make sure Windows sees it in Device Manager, try a different USB port - ideally one directly on the mobo.
[20:49:49] <N1njaneer> I have seen problems through hubs, or if the polyfuse trips on a port.
[20:51:54] <CluelessPerson> N1njaneer, Device manager sees it, I deleted the other drivers entirely
[20:52:05] <CluelessPerson> N1njaneer, the atmel studio 6.2 doesn't detect it at all
[20:52:11] <CluelessPerson> maybe i should reboot
[20:52:14] <CluelessPerson> I'll be right back
[20:52:18] <N1njaneer> Try that.
[20:52:33] <N1njaneer> I was going to say, the newer ATMEL-ICE needs 6.2 for drivers, but that doesn't seem to be the problem.
[20:53:20] <CluelessPerson> This is the USB Tiny MKII, powered by lufa, with the latest drivers on tom's site
[20:53:21] <CluelessPerson> brb
[20:55:53] <cluelessperson> back
[20:55:54] <cluelessperson> :D
[20:56:28] <cluelessperson> N1njaneer, I also have Windows8.1x64
[20:58:06] <cluelessperson> N1njaneer, Sigh. this has been holding me up for a week
[21:00:26] <N1njaneer> Not sure about Windows 8 -- We don't use any copies of it here, could have driver problems.
[21:00:41] <N1njaneer> I would try it on another machine to double-check.
[21:01:01] <cluelessperson> N1njaneer, my only other machine tends to overheat in about 5 minutes, 6 year old netbook
[21:01:08] <N1njaneer> Also, I reccomend people always use the official Atmel hardware - very inexpensive and eliminates a lot of compatibility problems.
[21:01:10] <cluelessperson> I'm considering buying a new laptop
[21:01:31] <cluelessperson> N1njaneer, yeah, I'll go ahead and buy that
[21:01:53] <Casper> cluelessperson: if your laptop overheat that fast, then clean the heatsink!
[21:02:27] <cluelessperson> Casper, It was a BEAST when it came out. DualCore 1.6ghz, with hyperthreading, with Nvidia ION GPU
[21:02:33] <cluelessperson> this netbook could play gears of war
[21:02:44] <N1njaneer> cluelessperson: Take a look at the ATMEL-ICE -- it does all flavors of AVR programming (ISP, DW, TWD, JTAG) as well as JTAG and TWD for all of their ARM series parts, for $35
[21:02:47] <N1njaneer> +USD
[21:03:22] <Casper> or just get tom's programmer
[21:03:25] <Casper> but really
[21:03:38] <cluelessperson> Casper, I have tom's programmer, I can't get it to work with arduino or atmel studio
[21:03:39] <Casper> if it detect it and it don't work, then chance is that you have a driver issue
[21:03:57] <N1njaneer> I don't believe Tom's programmer does AVR and ARM both for every programming flavor offered?
[21:04:03] <cluelessperson> people keep mentioning windows drivers bs, but I delted the others, and it says in the logs "windrvr54.dll" loaded
[21:04:13] <Casper> cluelessperson: it should work, if not you probably have a driver issue
[21:04:30] <cluelessperson> Casper, yeah, but you'd think it'd be logged somewhere
[21:04:33] * cluelessperson goes into the event logs
[21:04:44] <Casper> cluelessperson: win8 also suck hard
[21:04:52] <Casper> it log less and less stuff
[21:05:33] <Casper> too bad that you can't upgrade legally to win7...
[21:06:00] <cluelessperson> I have Windows 7, just a total pain in the ass to reinstall just for this
[21:06:04] <cluelessperson> everythign else works fine
[21:06:11] <cluelessperson> so I'm forced to believe it's poor driver programming
[21:06:33] <cluelessperson> (I realize win8 sucks balls, but the core is pretty much the same)
[21:08:11] <cluelessperson> N1njaneer, can you link me to ice?
[21:08:31] <cluelessperson> Casper, N1njaneer it looks like the usb tiny mkii may not be compatible yet with atmel studio 2
[21:09:07] <Casper> cluelessperson: that I have doubts
[21:09:07] <cluelessperson> N1njaneer, can you link me to the $35 ice?
[21:09:15] <N1njaneer> Are you in the US?
[21:09:20] <cluelessperson> n1 yes
[21:09:42] <N1njaneer> http://www.digikey.com/product-detail/en/ATATMEL-ICE-PCBA/ATATMEL-ICE-PCBA-ND/4753383
[21:10:07] <N1njaneer> Full box with cables, breakouts, etc -- http://www.digikey.com/product-detail/en/ATATMEL-ICE/ATATMEL-ICE-ND/4753379
[21:10:45] <cluelessperson> https://www.youtube.com/watch?v=hvbuq7zHQxo The suit Onesie
[21:11:29] <cluelessperson> why? why not?
[21:16:21] <cluelessperson> Casper, yeah, I'll go ahead and clean it out, I'm afraid I just fucked the cpu and gpu with overclocking. (1.6 -> 3.0 ghz)
[21:27:45] <Tom_itx> N1njaneer, it doesn't do arm
[21:28:37] <Tom_itx> cluelessperson, have you changed the firmware in the programmer since you got it?
[21:29:00] <N1njaneer> Tom_itx: Yours you mean?
[21:29:37] <Tom_itx> yes
[21:31:13] <Tom_itx> it should work on 64 bit windows... guys are using it
[21:31:36] <Tom_itx> i'd rather bet it's a usb driver issue
[21:31:58] <Tom_itx> cluelessperson atmel studio 2?
[21:32:03] <Tom_itx> you mean 6.2?
[21:32:12] <Tom_itx> i have 6.2 installed and working
[21:35:57] <Tom_itx> and i have 3 windows 8 machines here but none i can install it on
[22:15:39] <cluelessperson> Tom_itx, hm.
[22:17:08] <Tom_itx> you got it in 2013 right?
[22:17:35] <Tom_itx> 04/09/2013
[22:17:46] <cluelessperson> Tom_itx, yes
[22:17:50] <Tom_itx> you may need a firmware update to satisfy studio 6.2
[22:18:13] <Tom_itx> no real firmware changes just a date change to satisfy studio 6.2
[22:18:26] <Tom_itx> the firmware is on the programmer site
[22:18:31] <Tom_itx> do you have FLIP?
[22:18:45] <cluelessperson> Tom_itx, yes, I used the latest available on your site
[22:18:56] <Tom_itx> which file?
[22:19:04] <Tom_itx> it matters...
[22:19:27] <cluelessperson> Tom_itx, 130614_avrisp_studio.hex
[22:20:24] <Tom_itx> you want the newest one just above that
[22:20:32] <Tom_itx> 131027
[22:21:02] <cluelessperson> okay, let's try
[22:21:05] <cluelessperson> on your site?
[22:21:08] <Tom_itx> yes
[22:21:18] <Tom_itx> same studio file just a newer date
[22:21:57] <Tom_itx> if that doesn't work then it's the jungo driver issue
[22:22:52] <Tom_itx> i should update the wording there to include studio 6.2...
[22:23:06] <Tom_itx> because it does work there
[22:23:58] <cluelessperson> Tom_itx, just flashed with flip, verified. Device manager shows jungo->WinDriver->\
[22:23:59] <cluelessperson> Driver Management concluded the process to install driver windrvr6.inf_amd64_c8d97cf517cd4518\windrvr6.inf for Device Instance ID USB\VID_03EB&PID_2104\000200212345 with the following status: 0x0.
[22:24:42] <cluelessperson> restarting AS 6.2
[22:24:52] <cluelessperson> nothing
[22:24:52] <Tom_itx> does it show up in the hardware list?
[22:24:57] <cluelessperson> Tom_itx, definitely
[22:25:00] <Tom_itx> under the jungo driver...
[22:25:18] <cluelessperson> definitively
[22:25:45] <Tom_itx> i ran into something similar once and had to reinstall studio to get it to work
[22:26:11] <cluelessperson> Tom_itx, yes, I upgraded to 6.2, but it's possible I should be using drivers you spply rather than studiows?
[22:26:11] <Tom_itx> it's something with the studio install i'd almost bet
[22:26:19] <Tom_itx> no
[22:26:30] * cluelessperson goes into his archive to fetch previous drivers
[22:26:40] <Tom_itx> it will work with the supplied jungo usb driver
[22:27:06] <cluelessperson> uninstalling and reinstalling 6.2 completely then
[22:27:16] <Tom_itx> i don't have 64 bit but i know others using it
[22:27:24] <Tom_itx> i do have 32bit studio 6.2 installed
[22:27:36] <cluelessperson> Tom_itx, prepare, everyone, including consumers will be 64 bit soon
[22:27:55] <Tom_itx> i can't fix windows
[22:27:59] <cluelessperson> hp only sells 64 bit as far as I know.
[22:28:27] <Tom_itx> i'm not real sure anyone can...
[22:28:59] * cluelessperson uses the time atmel is uninstalling/reinstalling to screw his netbook back together, just cleaned the heatsink dust matte out so it won't overheat.
[22:29:31] * Tom_itx uses the time it takes to start studio6.2 to read war and peace
[22:34:22] <Tom_itx> cluelessperson i get the same device signature with firmware version 1.19 on mine with studio 6.2 which is the latest one
[22:35:32] <Xark> cluelessperson: I got a nice piece of "felt" when I did that to an old notebook recently (cat related). :)
[22:36:41] <cluelessperson> Xark, the thing isn't turning on now. :(
[22:37:01] <Xark> I hate it when that happens...connector check time.
[22:37:05] <Tom_itx> maybe you should stop and pick up tomorrow
[22:37:08] <Tom_itx> :D
[22:37:09] <Tom_itx> )
[22:38:20] <cluelessperson> I need to get things working. I'm supposed to be "devleoping" a prototype
[22:38:36] <Tom_itx> oh that's right...
[22:38:45] <Tom_L> AVRISP mkII
[22:38:45] <Tom_L> Debug host 127.0.0.1
[22:38:46] <Tom_L> Debug port 2870
[22:38:46] <Tom_L> Serial number 000200212345
[22:38:47] <Tom_L> Connection com.atmel.avrdbg.connection.jungousb
[22:38:47] <Tom_L> Firmware Version 1.19
[22:38:48] <Tom_L> Hardware Version 0
[22:38:56] <Tom_itx> from studio 6.2 dialog
[22:39:22] <cluelessperson> Tom_itx, how do I view that stuff?
[22:39:27] <Tom_itx> from studio
[22:40:01] <Tom_itx> 'Tool Information' in the device programming dialog
[22:40:17] <Tom_itx> studio 4 will show that too
[22:41:24] <Tom_itx> i don't wanna install 6.2 on my tablet or i'd try it
[22:41:32] <Tom_itx> too much of a resource hog
[22:41:52] <Tom_itx> it's likely 64 bit win8
[22:43:08] <Tom_itx> how big is the 64bit install?
[22:43:28] <Tom_itx> i've got 124G flash in the tablet iirc
[22:44:15] <Tom_itx> if you can't get it figured out i may resort to that but i hate to
[23:04:49] <cluelessperson> Tom_itx, I won't make you do that, I'll get my netbook working again
[23:04:54] <cluelessperson> thank you though
[23:36:29] <twnqx> Tom_itx: i had a discussion yesterday
[23:36:35] <twnqx> with a friend of mine, whining about as 6.2
[23:36:39] <twnqx> they changed the protocol
[23:36:41] <twnqx> compared to 6.0
[23:36:57] <twnqx> AS6.0: 0x01 0x03 0x03 0x03 0x03
[23:37:08] <twnqx> AS6.2: 0x01 0x31 "CMD_LEAVE_PROGMODE_HVSP"
[23:37:13] <twnqx> etc etc etc
[23:37:48] <twnqx> and even LUFA doesn't work any more, not all these commands implemented