#avr | Logs for 2015-09-27

Back
[03:28:26] <FrankD> hey
[03:28:37] <FrankD> do ATXMegas have the same ICSP as AVR8?
[03:29:40] <FrankD> damn theyre pricey compared to the Cortex stuff
[03:39:12] <antto> no
[03:39:25] <antto> FrankD xmegas use "PDI"
[03:40:59] <FrankD> ah damn
[03:41:05] <FrankD> how about ATSAMD20/21?
[04:02:37] <vegii> hayy
[05:07:15] <antto> FrankD no idea about those
[05:15:01] * Xark notes PDI uses same 6 pin connector and is mainly a software thing (supported fine on AVRISPmkII...)
[05:20:52] <antto> but it's different than ICSP
[05:27:50] <Xark> Yep.
[05:36:09] <tekkkz> What do you think about http://tekkkz.com/posts/articles/snescontroller.html ?
[08:31:28] <tekkkz> What do you think about http://tekkkz.com/posts/articles/snescontroller.html ?
[08:32:01] <Lambda_Aurigae> I think I see no pictures.
[08:33:13] <Lambda_Aurigae> and looks like it uses vusb
[08:35:26] <Lambda_Aurigae> has no voltage regulation.
[08:36:59] <Lambda_Aurigae> that v-usb interface design will have problems on some usb host controllers.
[08:37:10] <tekkkz> 1st: no pictures yet?? check ebay links, there you can see. VUSB, right, its the only USB possibility for ATMEGA8, and what voltage should get regulated?
[08:37:25] <tekkkz> where will it have problems?
[08:37:30] <Lambda_Aurigae> 5V from usb
[08:37:36] <Lambda_Aurigae> is not guaranteed to be 5V.
[08:37:47] <Lambda_Aurigae> I've seen them as low as 4.25V and as high as 5.25V
[08:38:11] <Lambda_Aurigae> and seen the voltage output of a USB port change dramatically half a volt as you put load on it.
[08:38:31] <tekkkz> hm. and vusb - what else are you recommending to use?
[08:38:42] <Lambda_Aurigae> an avr with hardware usb.
[08:39:00] <Lambda_Aurigae> do you have a licensed pid/vid pair to use for a commercial product?
[08:39:45] <Lambda_Aurigae> or just using the same ones everybody uses for cheap usbasp devices?
[08:40:05] <tekkkz> yup. ;( SO you talk about something like m32u4?
[08:40:11] <Lambda_Aurigae> yes.
[08:40:35] <Lambda_Aurigae> vusb is a fun toy but it bends and/or breaks some of the usb specifications to get a connection.
[08:41:26] <Lambda_Aurigae> I used to use vusb a lot for projects and found about 1 in 5 of my computers won't work reliably with it.
[08:42:08] <narwhalx> Even with USB and a good drive, chanses are you will still have problems with pid/vid. Crazy USB regulations
[08:43:29] <Lambda_Aurigae> developing a commercial USB device can be all kinds of a pain in the ass legal wise as well as hardware/software wise.
[08:44:53] <tekkkz> Lambda_Aurigae, yap
[08:45:05] <tekkkz> the team of the tinyusbboard is not just me
[08:45:10] <tekkkz> and my "boss" likes vusb
[08:45:21] <Lambda_Aurigae> go for it then.
[08:45:21] <tekkkz> i dont like it
[08:45:28] <tekkkz> i prefer terminal usb interface via lufa
[08:45:35] <tekkkz> what do you think about this?
[08:45:52] <Lambda_Aurigae> I used it to make myself a bunch of usb interfaced controllers for my flight simulator.
[08:46:29] <Lambda_Aurigae> I use pic32mx250f128b or pic32mx270f256b when I need to do usb these days.
[08:46:41] <tekkkz> ahh i have ne exp at pics
[08:47:08] <Lambda_Aurigae> I have a couple of lufa/avr based boards here
[08:47:23] <Lambda_Aurigae> but all the usbAVR chips are surface mount...making them a pain to work with for me.
[08:47:57] <Lambda_Aurigae> where those two pics are 32bit, 50MHz/83dmips, 28pin dip, and can execute code from sram as well as flash.
[08:48:31] <Lambda_Aurigae> one has 128K flash and 32K sram..the other has 256K flash and 64K sram.
[08:48:50] <tekkkz> i love surface mount, i just work with smt
[08:49:08] <Lambda_Aurigae> I started with pic....and much prefer avr overall....but the pic32 is a mips32 core processor with pic peripherals on it.
[08:49:45] <Lambda_Aurigae> I don't have gear for working with smt devices beyond my soldering iron..and, yes, I can solder tqfp100 chips if I want,,but I don't want.
[08:51:20] <narwhalx> I quite like Lufa, used it only with xmega devices though. Only the fact that nothin is interrupt drivven can be problematic sometimes. But I see why thats the case
[08:51:58] <Lambda_Aurigae> I never dug into lufa much...just played a bit with it.
[08:53:22] <Lambda_Aurigae> I did quite a bit with igorplugUSB before vUSB came out though....Igor's bitbanged USB on avr was what inspired vUSB actually.
[08:53:54] <Lambda_Aurigae> vUSB put a nice C wrapper around the assembly core where igorplugUSB didn't have the C wrapper.
[08:54:49] <tekkkz> btw, actually im developing an own 3d printer - i did everything by my own - it will be finished soon, i wil lwrite an article about it then :D it uses lufa
[08:55:47] <narwhalx> tekkkz: nice, as cdc or as a device?
[08:56:05] <narwhalx> And whats the resolution of the printer?
[08:56:16] <Lambda_Aurigae> tekkkz, also, for your little gaming controller interface, are you releasing the source?
[08:56:59] <narwhalx> vusb is gpl2 wright?
[08:57:05] <narwhalx> Unless you buy licenses
[08:57:15] <Lambda_Aurigae> yes.
[08:57:37] <tekkkz> Lambda_Aurigae, yes, when (i) finished the documentation: the problem is, atm i dont have time to finish ... ; narwhalx what you mean with "device"?
[08:59:04] <narwhalx> tekkkz: Well you mentioned you liked lufa with a terminal interface. So then I thing a CDC deivice to emulate e serail port. Or did you make a custom device and driver for it?
[08:59:59] <tekkkz> no, serial port, im away now, cu later guys
[09:00:31] <Lambda_Aurigae> narwhalx, cdc seems to be the best way to interface that kind of device usually.
[09:01:01] <narwhalx> Yes I know, espacially if you want compatibility acros os'es. But I was just wondering
[09:01:12] <narwhalx> And easy + transparent
[09:01:23] <Lambda_Aurigae> yup.
[09:01:32] <Lambda_Aurigae> that's my most common usb device interface here.
[09:01:54] <Lambda_Aurigae> vusb doesn't do cdc properly as it is low speed usb only and cdc isn't officially supported on low speed.
[09:02:09] <Lambda_Aurigae> most OSs these days will work with it
[09:02:17] <narwhalx> Do you do anny comercial products? Because then I think it would be a problem. Mosly because peaple want automatic discovery and stuff
[09:02:22] <Lambda_Aurigae> but originally OS patches were needed.
[09:02:32] <Lambda_Aurigae> I don't do anything commercial.
[09:02:53] <Lambda_Aurigae> it's all hobby stuff for me and teaching electronics, microcontrollers, and robotics to kids.
[09:03:27] <narwhalx> So mostly the fun stuff ;)
[09:03:44] <Lambda_Aurigae> yup.
[12:08:50] <Emil_> The xmegas ship with the usb bootloader preflashed, right?
[12:09:15] <Lambda_Aurigae> I believe so..those that have usb on them anyhow.
[14:44:59] <Jartza> evening
[14:45:13] <inkjetunito> naabend
[14:46:07] <antto> laserjetuino