#avr | Logs for 2015-06-02

Back
[02:02:09] <Jymmm> Any suggestion on blackbox hacking by chance? Links? channels? etc
[02:02:43] <Xark> Got any Cap'n Crunch whistles? :)
[02:03:06] <Jymmm> I don't even know what that is =)
[02:03:56] <Jymmm> I'm looking thru the fw upgrade with a hex editor to find the unlock could command.
[02:04:14] <Jymmm> how sad is that
[02:04:19] <Xark> Oh, famous Silicon Valley story how Steve Woz and pal John Draper would make free calls using whistle from Cap'n Crunch cereal (which emitted correct touch tone by chance). https://en.wikipedia.org/wiki/John_Draper
[02:04:37] <Jymmm> Ah
[02:04:44] <Jymmm> orange book stuff iirc
[02:05:11] <Jymmm> Hey, have you ever heard of a USB A Male to A AMae cable before?
[02:05:14] <Jymmm> Male*
[02:05:46] <Valen> I have, but only for dodgy equipment
[02:05:59] <Xark> I have one, but not sure what works with it (except for power).
[02:06:23] <Xark> Yeah, came with some oddball device (which I forget).
[02:06:38] <Xark> I think it was an old UPS...
[02:06:53] <Jymmm> This box has a A-male, suppose to be a "service port", but not sure if I should wire up the PWR pin or not
[02:07:30] <Jymmm> I dont want to fry anything
[02:08:31] <Jymmm> but I think its really a terminal (as I'm seeing thngs in the firmware hinting as such)
[02:09:09] <Jymmm> maybe thats wher eI can enter the unlock code
[05:57:46] <DO9XE> hey guys, i've got an eeprom problem :/
[05:58:15] <DO9XE> i got this line: >> eeprom_update_byte((uint8_t*)EEPROM_BOOT_VALUES, 0x10); << but, it is not writing to the EEPROM
[05:58:31] <DO9XE> EEPROM_BOOT_VALUES is defined as 5
[07:01:35] <twnqx> DO9XE: never played with eeproms, but... it's a pointer
[07:02:50] <twnqx> so maybe uin8_t address = 5; eemrpom_update:byte (&address, 0x10)?
[07:16:51] <Jartza> DO9XE: should work, how you verify the eeprom is not written?
[07:17:04] <DO9XE> i read it with avrdude
[07:17:19] <Jartza> and it's all 0xFF?
[07:17:23] <DO9XE> jipp
[07:18:09] <Jartza> hmmh. works for me.
[07:19:25] <Jartza> shenanigans:firmware jartza$ avrdude -p attiny85 -c usbasp -U eeprom:r:eep.bin:r ; hexdump -C eep.bin
[07:19:28] <Jartza> 00000000 ff ff ff ff ff 10 .....
[07:20:50] <Jartza> on attiny85
[07:35:02] <DO9XE> hmmm :/
[10:17:05] <NicoHood> hi. I burned the optiboot bootloader on my arduino nano with 250k and 500k as baud rate. both do not work. Its not an Arduino IDE problem. Does anyone know if the fake FTDI chip is maybe too slow? The serial port monitor on 250k works though.
[10:44:36] <LeoNerd> Haven't seen N1njaneer around for a while...
[11:54:09] <Jymmm> Xark: WOOHOO !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[11:56:45] <Xark> Jymmm: Found something for your phone issue?
[11:57:45] <Jymmm> Xark: It's unlocked baby!!!
[11:58:00] <Xark> Jymmm: Cool.
[11:58:42] <Jymmm> Xark: Man, so much HEADACHES for such a simple thing
[13:56:48] <hypermagic> hi
[14:09:37] <hypermagic> i got an idea and i found they already did it bga-hilo-socket-ball-pin_Emulation_Technology_Quick_Lock_Sockets_BGA_SMT_Thru-hole_Compression_Quick_Lock_up_to_3_GHz http://www.emulation.com/165/crosssection.html
[14:13:43] <hypermagic> why motherboard manufacturers don't put the cpu on the bottom sode of the motherboard? it could be passive cooled using a large heatsink without a fan at the exterior of the case.
[14:18:16] <vsync_> why exactly can't that be achieved now?
[14:18:46] <vsync_> and by a large heatsink i imagine you mean a huge heatsink, which would then have to have additional supports etc, and gets really tricky
[14:19:01] <vsync_> i suggest you're better off doing software, like the rest in here
[14:19:11] <vsync_> few minor exceptions, but all the same
[14:23:41] <hypermagic> it does not be that large, i used about a 22cm long heatsink profile mounted vertically to dissipate 85W and the amplifier was still only awrm.
[14:24:19] <hypermagic> vsync_, i'd flip the cpu socket, but that would flip pins :(
[14:24:50] <hypermagic> and can't really relocate them because of the high frequency, different cable lengths would forbid cpu operation
[14:33:42] <hypermagic> do you think flipping an s1155 3GHz cpu socket to the bottom side using 1155 pieces of jumper wire the same length would be operational ?
[15:13:24] <vsync_> no, again, missing the point
[15:13:36] <vsync_> what prevents you from using a large heatsink profile now
[15:45:36] <hypermagic> well
[15:45:39] <hypermagic> enclosed case
[15:45:54] <hypermagic> can not use heatsink in a n enclosed case, it needs to be outside
[15:46:38] <hypermagic> or you basically make a vacuum cleaner that will collect dust and be loud
[15:47:33] <grey> lol, http://i.imgur.com/NEMPeBW.png
[15:52:58] <DO9XE> grey, these fotos are from an official atmel document
[15:53:20] <DO9XE> http://www.atmel.com/images/doc8333.pdf
[15:53:25] <hypermagic> nice
[15:53:26] <hypermagic> :)
[15:53:37] <hypermagic> but backbending pins?
[15:53:42] <hypermagic> it will break easily
[15:55:00] <grey> DO9XE: I know, I screenshotted them from the doc just now, linked from reddit
[15:55:15] <grey> and with context it's not QUITE as bad, still pretty funny to see in an official doc though
[15:55:56] <DO9XE> yepp :D a freind of mine send the link to me, when I had crystal problems toda :D
[15:56:23] <DO9XE> This is my solution: https://twitter.com/DO9XE/status/605744456906776576
[15:56:41] <hypermagic> i at least designed xtal pads ony my pcb
[15:56:43] <DO9XE> and yes, its SM77-H :D
[15:57:04] <hypermagic> lol
[15:57:05] <hypermagic> lol
[15:57:13] <hypermagic> is that 32768Hz xtal?
[15:57:28] <hypermagic> you know that you receive AM radio with those wires ?
[15:58:07] <grey> lol, nice DO9XE
[15:58:31] <hypermagic> you could use 1 wire to clock your avr, just leave it hanging and collect RF noise, or touch it
[16:00:55] <DO9XE> no, its an 16MHz crystal and im doing USB with this avr :D
[16:01:03] <DO9XE> works pretty good :D
[16:07:02] <hypermagic> lold
[16:07:07] <hypermagic> i would say it will not work
[16:07:18] <hypermagic> and usb requires like 100ppm stable clock
[16:07:20] <hypermagic> lol lol
[16:14:19] <DO9XE> it works :D
[16:14:48] <DO9XE> I don't see how it should loose the 100ppm :D
[16:14:54] <hypermagic> oh yea...
[16:15:03] <hypermagic> it is only what? 25cm of thin wire?
[16:15:07] <hypermagic> hanging loose
[16:15:08] <hypermagic> <;
[16:15:15] <hypermagic> unshielded
[16:15:40] <DO9XE> nah, max. 10cm each
[16:16:17] <hypermagic> now imagine my cpu connected this way and working lol
[16:16:27] <hypermagic> 1155 tiny wires going from motherboard to cpu
[16:16:34] <hypermagic> cpu screwed to heat sink
[16:17:17] <hypermagic> only 3GHz and 100A power, what could go wrong?
[16:17:18] <DO9XE> that would look awesome :D
[16:17:32] <DO9XE> 100A? you mean W
[16:17:44] <hypermagic> do the math m8, 1V & 115A
[16:18:08] <hypermagic> P = U * I
[16:18:45] <DO9XE> i was talking about the unit of power :D 'cause A would be current^^
[16:18:46] <hypermagic> cpus atr 0.8-1.4V now
[16:18:54] <DO9XE> i know :)
[16:18:56] <hypermagic> yes it is
[16:19:17] <hypermagic> and your P is 125W, and voltage is 1V then you have 125A
[16:20:05] <DO9XE> i know, im in E-engineering ;) was 'bout th eunit :D
[16:20:24] <hypermagic> so that tiny crap uses 100A current
[16:20:36] <hypermagic> not on 1 pin, but distributed
[16:21:02] <hypermagic> you could solder a cpu on copper bus bar too
[16:21:02] <hypermagic> haha
[16:22:06] <DO9XE> hmm, but 1155 lines? :D this well get funny^^
[16:22:15] <hypermagic> yes
[16:22:21] <hypermagic> a few hundred for power
[16:22:26] <hypermagic> and others for signal :)
[16:22:35] <DO9XE> and you don't need every device connected to all lines
[16:22:47] <DO9XE> so, you rout it distributed
[16:22:58] <DO9XE> and bam, mainboard :D
[16:23:05] <hypermagic> hm hm...
[16:23:22] <DO9XE> hm, f***, reinvented the mainboard :D
[16:23:31] <hypermagic> should i desolder all chips and just mount them deadbug style on a plastic tray ?
[16:24:07] <hypermagic> measuring each signal line with a ruler and make sure they are same length
[16:24:34] <hypermagic> and twisting some wires for balanced line or using cat5e cable paird
[16:24:54] <hypermagic> sounds workth it to mount the cpu on a heatsink right? :)
[16:24:55] <DO9XE> actually, without pcb's everything would be easier :D
[16:24:58] <hypermagic> *worth it
[16:25:05] <hypermagic> haha yea
[16:25:08] <hypermagic> 3d board
[16:25:21] <hypermagic> when you are done, dip some epoxy on it
[16:25:29] <hypermagic> so spiders wont climb in it
[16:25:31] <hypermagic> ;>>
[16:25:35] <DO9XE> just remember the old radios :) everything just "flying" connected, bam, worked,
[16:25:43] <hypermagic> that works...
[16:25:56] <hypermagic> but 1155 wires will need some time to do
[16:26:18] <hypermagic> and the ram, and skew
[16:26:34] <hypermagic> high frequency all around
[16:26:41] <DO9XE> have fun soldering wires onto BGA ICs :D
[16:27:08] <hypermagic> hah aha
[16:27:45] <hypermagic> http://forum.6502.org/viewtopic.php?f=4&t=2322&start=30
[16:28:14] <hypermagic> DO9XE, your next project m8 http://www.jsykora.info/2015/01/pic-bga-dead-bug/
[16:28:33] <hypermagic> http://www.tayloredge.com/museum/mymuseum/electronics/deadbug.jpg
[16:28:49] <DO9XE> and then i can reset my circuit with a flash? :D
[16:28:57] <hypermagic> http://ruemohr.org/~ircjunk/images/bga-adapt2.jpg
[16:28:58] <hypermagic> :)
[16:28:59] <DO9XE> I'll just ge a raspberryPi :D
[16:29:23] <hypermagic> pour some epoxy on, and wrap with kitchen alu foil
[16:29:32] <hypermagic> and it is emi proof
[16:29:34] <hypermagic> lol
[16:29:53] <hypermagic> no metal case needed
[16:30:33] <DO9XE> soon I will have a reflow solder oven :) then I'll try to solder some cheap BGA ICs :)
[16:31:09] <hypermagic> make one?
[16:31:14] <DO9XE> hope Ill finde some, which are easy to use :) no stuff like RAM, simple stuff :)
[16:31:21] <DO9XE> make an IC? :D
[16:31:28] <hypermagic> http://www.instructables.com/id/Hack-a-Toaster-Oven-for-Reflow-Soldering/
[16:31:31] <hypermagic> ;>>
[16:31:35] <hypermagic> i have one too
[16:31:53] <DO9XE> No, the hackerspace in the town i will move to has one :)
[16:37:05] <hypermagic> http://www.die4laser.com/toaster/index.html
[16:37:16] <hypermagic> would you really put that poor temp controller in that place? ;<
[16:37:22] <hypermagic> it is 100c+ there
[16:39:09] <DO9XE> Ovens are cheap :) 235€ on ebay :)
[16:39:44] <hypermagic> http://wilsonminesco.com/6502primer/SRAMstack3.jpg
[16:39:47] <hypermagic> sram extension
[16:39:51] <hypermagic> :)
[18:02:22] <LeoNerd> So.. I caved in and bought myself some MCP23S17s... I'll see how they go
[18:02:53] <LeoNerd> I still can't *quite* get over an SPI device that has three An pins and starts with a "slave address + R/W mode" byte on all transactions, and ignores transactions that don't match address bits
[18:03:06] <LeoNerd> That... reminds me of something. Something that isn't SPI
[18:27:26] <timemage> LeoNerd, have you looked into the differences between ultra-fast mode and regular i2c?
[18:28:22] <LeoNerd> timemage: No..? But also this is SPI
[18:28:56] <timemage> LeoNerd, i'm suggesting they may have used it as something of a template.
[18:29:39] <timemage> LeoNerd, ultrafast mode is output-only, and push-pull, iirc. it some ways, a lot like spi. same deal with ignoring addresses as per usual in i2c.
[18:30:26] <LeoNerd> Hmmm
[18:30:43] <timemage> LeoNerd, they make an i2c version of that chip. they've probably done it such that the command structure is essentially the same.
[18:31:00] <LeoNerd> Possibly
[18:31:16] <timemage> LeoNerd, anyway, my point wasn't that it's something other than spi.
[18:37:52] <hypermagic> http://hackaday.com/2014/04/09/using-simms-to-add-some-extra-ram-on-your-arduino-uno/
[18:37:54] <hypermagic> lol
[18:38:41] <timemage> hypermagic, i think i'd want a dma controller to refresh the dram.
[18:38:44] <hypermagic> Linux on the 8bit ATMEGA168 http://dmitry.gr/index.php?r=05.Projects&proj=07.%20Linux%20on%208bit
[18:49:06] <Jymmm> Xark: Forgot to mention... I contactd the seller, they had another unit available and tossed it on ebay for me. so now have backup on it's way =)
[18:54:36] <Lambda_Aurigae> hypermagic, we were doing that before the ardweeny existed.
[18:55:01] <hypermagic> here is a small armv5 computer btw http://dmitry.gr/index.php?r=05.Projects&proj=15.%20Transcend%20WiFiSD
[18:58:35] <hypermagic> hmm i can bitbang seven microsd cards on an atmel arm sam3s and connect as usb mass storage device ?
[18:59:00] <Lambda_Aurigae> hypermagic, if you have to ask, no, you can't
[18:59:08] <hypermagic> :)
[18:59:41] <hypermagic> or maybe 8 instead and let it be SECDED
[18:59:58] <hypermagic> i'd like a stable reliable storage disk
[19:05:36] <Lambda_Aurigae> http://www.piclist.com/techref/microchip/picsimm.htm?key=dram&from= this is a pic microcontroller driving a 30pin simm.
[19:05:44] <Lambda_Aurigae> code is all in pic assembly.
[19:06:29] <Lambda_Aurigae> I then converted that to avr a couple of years later and played with it for about 3 months before tossing the whole thing in a drawer and forgetting about it.
[19:06:48] <Lambda_Aurigae> I was using 1MB x 8bit 30pin SIPP modules though.
[19:06:59] <Lambda_Aurigae> SIPP being a SIMM with pins soldered onto the pads.
[19:08:51] <hypermagic> lold pic
[19:09:01] <hypermagic> pic asm
[19:09:14] <hypermagic> why not avr?
[19:10:23] <hypermagic> oh btw if you use 8 modules you could make SECDED ECC memory with non ecc rams
[19:10:25] <hypermagic> ^^
[19:10:34] <hypermagic> 4/8 size
[19:10:40] <Lambda_Aurigae> I started with pic then switched to avr.
[19:10:55] <hypermagic> ohh, good thing i never even started pic
[19:10:59] <Lambda_Aurigae> waaay back when.
[19:11:12] <hypermagic> i liked the at89c2051 much more
[19:11:13] <Lambda_Aurigae> I learned to convert a lot of pic stuff to avr too.
[19:11:17] <hypermagic> it as similar to x86
[19:11:37] <Lambda_Aurigae> I found the avr instruction set somewhat similar to my old friend the 6502...
[19:12:18] <hypermagic> sucks bad that sata is clocked 50ppm cGHz clock like usb
[19:12:33] <Lambda_Aurigae> yeah...hard to bitbang that.
[19:12:54] <Lambda_Aurigae> so go PATA!
[19:13:09] <hypermagic> but :( new pc does not have pata
[19:13:24] <Lambda_Aurigae> about 9 years ago or so I did an atmega32 to IDE adapter for the fun of it.
[19:13:58] <hypermagic> sounds nice :)
[19:14:07] <Lambda_Aurigae> it was slow but functional.
[19:14:16] <Lambda_Aurigae> I used it for datalogging on a mapping bot.
[19:14:17] <hypermagic> i'd like sata too, if it were spacewire, and not fix clock shit
[19:14:28] <hypermagic> self clocking data is cool.
[19:15:20] <Lambda_Aurigae> these days I would use a microcontroller with usbOTG capability and use either a USB stick or USB harddrive if I needed a lot of storage.
[19:15:26] <hypermagic> the PC has amazing amount of bloat()
[19:15:43] <Lambda_Aurigae> yup.
[19:15:49] <Lambda_Aurigae> both hardware and software wise.
[19:16:23] <hypermagic> ok let's agree in that pc was meant to be a toy for the dumb farmers
[19:16:43] <Lambda_Aurigae> what would be fun would be to design a whole new class of computer with 1 bit wide busses.
[19:16:52] <hypermagic> :)
[19:16:57] <Lambda_Aurigae> high speed serial interface between chips and such.
[19:16:58] <hypermagic> no endianness ?
[19:17:05] <Lambda_Aurigae> not necessarily.
[19:17:18] <Lambda_Aurigae> just data sent serially rather than parallel like it is these days.
[19:17:32] <Lambda_Aurigae> they started doing it with pci-e and sata.
[19:17:34] <hypermagic> space wire.
[19:17:38] <Lambda_Aurigae> but that's just offboard busses.
[19:18:01] <hypermagic> it is self clocked 1 bit data transmission hardware layer
[19:18:25] <hypermagic> requires 2 ios, or 2x differential lines
[19:18:48] <hypermagic> (for half duplex)
[19:18:57] <Lambda_Aurigae> or,,,
[19:19:00] <Lambda_Aurigae> we need to go trinary.
[19:19:04] <Lambda_Aurigae> 1,0,-1
[19:19:05] <hypermagic> nah
[19:19:11] <hypermagic> you want etherenet?
[19:19:13] <Lambda_Aurigae> yes, maybe, no
[19:19:24] <Lambda_Aurigae> hehe.
[19:19:34] <hypermagic> ethernet does that
[19:19:38] <Lambda_Aurigae> kinda.
[19:19:48] <Lambda_Aurigae> but it doesn't have 3 logic states...
[19:19:50] <hypermagic> but still... it has precision clock
[19:19:57] <Lambda_Aurigae> +V, 0V, -V
[19:20:08] <hypermagic> how you bitbang tat with your 537 Khz +-50% avr ?
[19:20:33] <Lambda_Aurigae> bitbang ethernet?
[19:20:41] <hypermagic> sure
[19:20:56] <hypermagic> 10/100Mbps on your 537kHz avr with internal rc osc
[19:21:59] <Lambda_Aurigae> http://www.cesko.host.sk/IgorPlugUDP/IgorPlug-UDP%20%28AVR%29_eng.htm
[19:22:14] <Lambda_Aurigae> ethernet udp transmission on a 20MHz AVR..
[19:22:48] <hypermagic> my point was, it is dumb to use a fix clock at 1.000000 GHz for data transmission
[19:23:17] <hypermagic> it is there to limit usability and require you to upgrade when they make a higher bitrate version.
[19:24:01] <hypermagic> and all the different interfaces on the pc could have been 1.
[19:24:37] <hypermagic> 32x space wire connector, and you plug everything in them, hdd, network, pendrive, keyboard, mouse
[19:24:49] <Lambda_Aurigae> used to have that with serial ports.
[19:24:50] <hypermagic> it would make a so simple interface..
[19:25:45] <hypermagic> additionally you could decide if you want 31 network connections or 31 ssds.
[19:25:54] <Lambda_Aurigae> ok..time to go lay down...sinuses are killing me.
[19:26:01] <hypermagic> and each conenctor could support multiple devices chained