mlord join:2006-11-05 Kanata, ON 1 edit |
mlord
Member
2013-Feb-9 1:12 am
Re: Upgrading Firmware on DCM-476 modemsYup, that works too.
I found an old "original" image of my normal modem, saved back in September, with the 02.08 firmware and my MAC address etc. Flashed the entire image (4MB) into the new spare DCM-475 modem, and then updated it from 02.08 to 55.04. Then unplugged my normal modem, and powered this one up in place of it.
It happily booted and connected to Start.ca with 8/4 channel bonding.
So this proves that a modem with the old layout can run newer firmware ripped from a modem with the new layout. And vice-versa as well, from my earlier posting.
Happy days! Now it's time to restore the original flash contents (firmware, layout, MAC, ..) to this second modem.
Cheers |
|
mlord |
mlord
Member
2013-Feb-9 12:15 pm
After a moderate battle against dwindling RAM in the Atmega238p chip, I've now updated the flashing rig firmware such that it can autodetect and deal with both modem flash layouts when programming firmware. I've also extended the rig functionality to automatically rip firmware from a modem when the SDcard does not have the required "firmware.bin" file present. These two changes simplify dealing with various firmware versions and differing flash layouts for the DCM-475 and DCM-476 modems. The latter change also makes it easier to hand-off this rig to an ISP for their own use. If they receive modems with newer firmware, then they can just hook up the rig with an empty SD card, and it will rip the new firmware from the modem automatically. Then just copy/rename the file to "firmware.bin" on the SD card, and it will program that image into both partitions within whatever modem they subsequently hook it up to. No buttons, no switches, no computer. Just six pin clips and some blinking LEDs. Next up, clone the rig in a form suitable for mailing to a specific, interested ISP. Cheers |
|
Teddy Boomk kudos Received Premium Member join:2007-01-29 Toronto, ON |
Very nice! I was about to send a long pm, but after rereading the above I think you covered everything :P (you did have an extra f in the memory map you pm'd me though ) said by mlord:I've also extended the rig functionality to automatically rip firmware from a modem when the SDcard does not have the required "firmware.bin" file present. Ideally you'd rip both image0 and image1 in this situation, I think.. |
|
|
mlord join:2006-11-05 Kanata, ON |
mlord
Member
2013-Feb-9 5:29 pm
said by Teddy Boom:said by mlord:I've also extended the rig functionality to automatically rip firmware from a modem when the SDcard does not have the required "firmware.bin" file present. Ideally you'd rip both image0 and image1 in this situation, I think.. Yup. The auto-ripper actually saves three files: all.bin, fw1.bin, and fw2.bin. The "all.bin" is a full 4MB image of the entire flash chip, so that it can be restored to pristine state later on if something gets messed up (used that already!). Cheers |
|
mlord |
mlord
Member
2013-Feb-9 5:32 pm
|
|
TwiztedZeroNine Zero Burp Nine Six Premium Member join:2011-03-31 Toronto, ON |
+1 Awesome! |
|
MrMazda86 (banned) join:2013-01-29 Kitchener, ON |
to mlord
+1 double awesome!!
That looks like the kind of creation I'd make. Is it home programmed as well, or do you have some kind of pre-programmed firmware for it? |
|
mlord join:2006-11-05 Kanata, ON |
mlord
Member
2013-Feb-9 8:29 pm
said by MrMazda86:+1 double awesome!! That looks like the kind of creation I'd make. Is it home programmed as well, or do you have some kind of pre-programmed firmware for it? Thanks. It most definitely is "me-programmed" as well, but using the Arduino development tools and libraries. The fancy blue sub-module is a $3 pre-fab unit off eBay (China). But I just need only the physical card slot from it, and not all of the other stuff. So the built-in 3.3V regulator there is unused, as there's a larger 3.3V regulator on the main board. Cheers |
|
MrMazda86 (banned) join:2013-01-29 Kitchener, ON |
said by mlord:Thanks. It most definitely is "me-programmed" as well, but using the Arduino development tools and libraries. Haha... Arduinos are quite the handy little things. They're quite versatile really. |
|
|
mlord join:2006-11-05 Kanata, ON |
mlord
Member
2013-Feb-10 12:04 pm
said by mlord:The fancy blue sub-module is a $3 pre-fab unit off eBay (China). But I just need only the physical card slot from it, and not all of the other stuff. So the built-in 3.3V regulator there is unused, as there's a larger 3.3V regulator on the main board. Speaking of which.. I noticed the main regulator getting unusually hot (thus the heatsink). Today I delved into this some more, and discovered it being due to some interaction with the one on the blue sub-module. So I removed the (unused) regulator from the sub-module, and power consumption is now 1/10th of what it was before. Much better. Cheers |
|
mlord 2 edits
2 recommendations |
mlord
Member
2013-Feb-11 9:57 am
Rig #1: going to an ISP. | Rig #2: for myself. |
I like the new soldered-up flashing rig so much, that on Sunday I made a second one for myself. Heh heh.. now that it's all so "finished" looking, I'll probably never have another person drop by in need of it! But I can always re-purpose it as a data-logging rig if need be, and I definitely have uses for those from time to time. The extra header on Rig #2 (top edge) is for the main serial port, so I can reprogram it "in-circuit" when needed, but also for logging serial data from a server (needs external level conversion). And there are enough free "holes" in the perfboard to add a couple more I/O headers for temperature monitors or similar. Cheers |
|
Teddy Boomk kudos Received Premium Member join:2007-01-29 Toronto, ON |
to mlord
said by mlord:The fancy blue sub-module is a $3 pre-fab unit off eBay (China). Of course there is an even cheaper way to get an SD card slot. Or, more accurately, a micro SD slot. Just solder up an SD to micro SD adapter But as you've been saying, the real cost behind a flashing rig are the clips. Are these cheaper than the ones you found before? » www.mcumall.com/comersus ··· uct=4498Still not really cheap... |
|
mlord join:2006-11-05 Kanata, ON |
mlord
Member
2013-Feb-11 3:12 pm
Those clips say $6.62 for a pair of clips, or $3.31/each. Digikey sells the (superior!) E-Z-Hook XKM grabbers for $3.01/each.
I like the idea for a cheap micro-SD slot, though! Full-size slots, like the blue one above, go for under $2/delivered on eBay. But micro slots are really hard to come by at a reasonable price.
Cheers |
|
Teddy Boomk kudos Received Premium Member join:2007-01-29 Toronto, ON |
Ya, I found that eventually.. There appears to be a variety of generics available.. How bad were the ones you got (from dealextreme I guess?)? These look a little better than the ones you got, still not good though: » www.ebay.com/itm/2-x-Gra ··· 1be4a176This guy has a large quantity of Agilent ones for some reason, cheap if you need the numbers: » www.ebay.com/itm/New-AGI ··· 2ad#shIdAnother seller with the slightly better looking generic: » www.ebay.com/itm/1-set-4 ··· 70df3da6Have you seen this: » sigrok.org/wiki/Probe_comparisonThis was an interesting enough thread, just sticking it here for future reference: » www.eevblog.com/forum/re ··· gestion/And linked in that thread, very nice but still not cheap: » www.ebay.com.my/itm/TEKT ··· bb52b8c1Oh well.. I better get back to work |
|
Teddy Boom 3 edits |
edits.... Here we go.. Zeroplus grabbers for $1 each, unknown shipping: » siliconkit.com/ocart/ind ··· t_id=218and these guys not much more with cheap shipping to US addresses: » store.nkcelectronics.com ··· cart.asp |
|
mlord join:2006-11-05 Kanata, ON |
to Teddy Boom
said by Teddy Boom:How bad were the ones you got (from dealextreme I guess?)? Yes, the generic clips were from dx.com (DealExtreme). I did manage to use them to flash a couple of modems, but the tips on them are about 2X the size of the XKM grabbbers, making it quite difficult to attach them to adjacent pins. And they simply won't fit underneath the DCM-475 heatsinks. I can give you a handful of them when I return your modems, if you want. They do make excellent clips for everything except the modems! Cheers |
|
Teddy Boomk kudos Received Premium Member join:2007-01-29 Toronto, ON |
Ya, a couple would be great, just to see what I think of them |
|
mlord join:2006-11-05 Kanata, ON |
mlord
Member
2013-Feb-11 5:23 pm
No problem. I've put two each of five colours (10 in total) into a baggie for you. |
|
|
lol my dad has a whole bag full of those in the basement from a few decades ago...never knew they were worth that much! Makes me wonder how much the rest of the stuff lying around is worth... |
|