#avr | Logs for 2016-05-26

Back
[05:56:08] <eszett> hi twnqx
[06:11:09] <twnqx> hi eszett
[11:07:17] <Pi3rrot> hi --all
[11:07:55] <Pi3rrot> i'm trying to flash an AVRr at32uc3b0256 with avrdude
[11:08:07] <Pi3rrot> but this composant is not listed in avrdude.cfg
[11:09:15] <Pi3rrot> i'm trying to setup this one and configure well the flash section
[11:12:12] <Pi3rrot> with AVRStudio, I have seen some parameters on the xml file device
[11:12:21] <Pi3rrot> and in accordance with the datasheet
[11:12:34] <Pi3rrot> http://pastebin.com/wZNE9Rzj
[11:12:51] <Pi3rrot> here my broken configuration... anybody can help me?
[11:13:42] <Pi3rrot> (and the avrdude command)
[11:13:44] <Pi3rrot> http://pastebin.com/FMFHwZWR
[11:25:03] <skz81> found that on AVR freak : I had the same problem, but resolved it by changing the debug device name from "jtag2" to 'jtagmkII_avr32"
[11:25:25] <skz81> U're using " -c jtag2"
[11:25:29] <skz81> maybe it can help
[11:28:46] <skz81> Pi3rrot, maybe also the frequency your chip is running (MAYBE TOO LOW)
[12:24:17] <Pi3rrot> yes i will try will jtag2slow
[12:24:24] <Pi3rrot> and the other one you say
[17:20:07] <phinxy> What I2C speed would you call this? http://i.imgur.com/lqg5x62.png
[19:54:50] <Jan-> hihi :)
[19:55:16] <Jan-> when something says "Package: 14-TFDN" is that ridiculously tiny?
[19:56:35] <Lambda_Aurigae> thin flat SOMETHING nolead
[19:56:39] <Lambda_Aurigae> so, yeah, probably.
[19:57:03] <Lambda_Aurigae> but, don't you mean TDFN?
[19:57:13] <Lambda_Aurigae> Thin Dual Flat No-Lead.
[19:58:08] <Jan-> Um.
[19:58:12] * Jan- consults datasheet.pdf
[19:58:19] <Jan-> TDFN
[19:58:27] <Lambda_Aurigae> size will be in the datasheet too.
[19:58:45] <Lambda_Aurigae> what chip?
[19:58:59] <Jan-> 3 by 3 mm
[19:59:06] <Jan-> max17201
[19:59:12] <Jan-> so yeah, not really happening!
[19:59:27] <Lambda_Aurigae> yup.
[20:00:01] <Jan-> that's one pin, or rather space where a pin would be, every 0.4mm or so
[20:00:09] <Jan-> that's crazy
[20:00:29] <Jan-> . The ICs are available in lead-free, 3mm x 3mm,
[20:00:29] <Jan-> 14-pin TDFN packages.
[20:00:38] <Jan-> are they serious?
[20:01:00] <Lambda_Aurigae> yup.
[20:01:14] <Lambda_Aurigae> it's not your average hobby chip.
[20:01:18] <Jan-> No kidding
[20:01:24] <Jan-> what ever happened to dip-14 :)
[20:02:26] <Jan-> there's something similar in tqfp but that's barely an improvement and the chip itself is way too complicated.
[20:04:09] <Lambda_Aurigae> if you are making such an item, looks like a great chip.
[20:04:22] <Jan-> I'm not sure they're even obtainable.
[20:04:24] <Lambda_Aurigae> and designed to be small so it can fit into a tiny battery package.
[20:04:58] <Lambda_Aurigae> http://www.digikey.com/catalog/en/partgroup/max17201-max17205-max17211-and-max17215-evaluation-kits/60064
[20:05:01] <Jan-> texas have some chips that do similar things
[20:05:09] <Jan-> but the prerequisites are crazy
[20:05:58] <Lambda_Aurigae> that's the kind of chip used in things like phones for battery management.
[20:06:02] <Lambda_Aurigae> where it's gotta be small.
[20:06:08] <Jan-> Yes.
[20:06:57] <Jan-> there isn't really a very easy way of doing what it does.
[20:07:01] <Jan-> could write it all on an avr, but yikes.
[20:07:01] <Lambda_Aurigae> you buy the above eval kit..make it work..design the final circuit..then buy in 10K quantity direct from maxim.
[20:07:10] <Jan-> yes, i know how that works.
[20:07:17] <Jan-> You can barely get them in ones anyway
[20:07:35] <Lambda_Aurigae> just on the eval kits that I'm seeing so far.
[20:08:13] <Jan-> the texas one is the BQ34Z100
[20:08:38] <Jan-> They come in tssop, whatever that is.
[20:08:47] <Jan-> at least breakouts exist
[20:09:54] <Lambda_Aurigae> digikey will sell them in single quantity..$6.34 each
[20:10:14] <Jan-> what, the maxim ones?
[20:10:19] <Lambda_Aurigae> TI ones.
[20:10:35] <Jan-> oh yes you can get those.
[20:10:43] <Jan-> but the setup procedure for them would be... I mean... months of work
[20:14:20] <Jan-> I think perhaps we'll just go with a volt meter :)
[20:16:06] <Lambda_Aurigae> maxim makes DMM chips too.
[20:16:15] <Lambda_Aurigae> I got a few of those as samples a while back.
[20:17:07] <Lambda_Aurigae> tied to a pic32 and a 1Mbit nvsram chip and made a digital storage DMM.
[20:17:16] <Lambda_Aurigae> with usb interface.
[20:17:29] <Jan-> the issue is how linear the state of charge is with voltage
[20:17:32] <Jan-> especially if you don't know current
[20:17:38] <Lambda_Aurigae> yup.
[20:17:50] <Jan-> actually with lithium ion the answer is... actually quite linear.
[20:17:52] <Lambda_Aurigae> that's why the next version will use 2 dmm chips.
[20:17:54] <Jan-> so that might be okay
[20:18:02] <Jan-> the other issue is how to power the avr
[20:18:25] <Lambda_Aurigae> ultra low power mode from the battery under charge.
[20:19:06] <Jan-> on a four series cell pack it'd need a regulator
[20:19:16] <Jan-> and the regulator is a probably bigger issue than the chip