dslreports logo
site
 
    All Forums Hot Topics Gallery
spc

spacer




how-to block ads


Search Topic:
uniqs
17
share rss forum feed


Teddy Boom
k kudos Received
Premium
join:2007-01-29
Toronto, ON
kudos:19
reply to mlord

Re: Upgrading Firmware on Thompson DCM475

said by mlord:

Hit a snag here.

D'oh! You were making very impressive progress! Everything was going a little too well for you, I guess, time to pay
--
electronicsguru.ca/for_sale/Cablemodems

mlord

join:2006-11-05
Nepean, ON
kudos:13
Reviews:
·Start Communicat..
·TekSavvy Cable

2 edits

Workaround now implemented, doing some dry-runs with it now: transfering data, and pretending to erase/program without actually doing it.

Edit: 15 minutes and 6 seconds to transfer the data, without programming the flash for real./edit

Slow. Might take 20 minutes to program the 2MB- file. That's not horrendous, though I was hoping to do it in under 10 minutes. Bedtime now. I'll continue this after work on Friday.

Cheers

Edit: For the curious, the receive buffer seems to overflow after 63-64 bytes on this Arduino board. So, I'm sending the page (256 bytes) data as a series of buffer-fill commands, with each command line never longer than 62 bytes. The Arduino sends back an ack to the host after receipt of each buffer-fill, and the host waits for the ack before sending the next one. After all 256 bytes have been buffered, the host then sends a "program page" command to the Arduino. I could get rid of that last step with some optimization, but it's in there for now.

The 63-64 byte limit likely comes from the USB packet size of 64 bytes for a "full speed" connection like this one. Unnecessary, but due to an Arduino bug that's the limit.


mlord

join:2006-11-05
Nepean, ON
kudos:13
Reviews:
·Start Communicat..
·TekSavvy Cable

said by mlord:

:) Workaround now implemented, doing some dry-runs with it now: transfering data, and pretending to erase/program without actually doing it.

Edit: 15 minutes and 6 seconds to transfer the data, without programming the flash for real./edit

I've now figured out how to hack the Arduino core software, and got the transfer time down to under 9 minutes now. Much better!


Teddy Boom
k kudos Received
Premium
join:2007-01-29
Toronto, ON
kudos:19

A fellow Teksavvy reseller brought over a couple of DCM475s this morning. I've now got a copy of 2.16, and I was able to upgrade a modem. Not very thoroughly tested yet, because the upgraded modem is not subscribed on an account, but it certainly did the basics.

Funny how we are both making progress at the same time after most of a year of the issue, but better late than never
--
electronicsguru.ca/for_sale/Cablemodems



HiVolt
Premium
join:2000-12-28
Toronto, ON
kudos:21
Reviews:
·TekSavvy DSL
·TekSavvy Cable

said by Teddy Boom:

Funny how we are both making progress at the same time after most of a year of the issue, but better late than never

That's nice, but what isn't funny is that TekSavvy isn't getting anywhere in getting these issues resolved the way they should be, by a simple firmware push.


TSI Gabe
Premium,VIP
join:2007-01-03
Chatham, ON
kudos:7

Trust me...we are working on this. On many different levels. Including looking at hacks like in this thread.



HiVolt
Premium
join:2000-12-28
Toronto, ON
kudos:21
Reviews:
·TekSavvy DSL
·TekSavvy Cable

said by TSI Gabe:

Trust me...we are working on this. On many different levels. Including looking at hacks like in this thread.

Good to hear.

mlord

join:2006-11-05
Nepean, ON
kudos:13
Reviews:
·Start Communicat..
·TekSavvy Cable
reply to Teddy Boom

said by Teddy Boom:

A fellow Teksavvy reseller brought over a couple of DCM475s this morning. I've now got a copy of 2.16

Peachy. Which of the two flash images did you replace, the first one, or the second?

I ripped 02.16 from another modem this afternoon, and found it in the first partition. The second partition had 02.08. So perhaps the "factory" image is the one at 00200000 rather than the one at 00010000.

Or more likely, it doesn't matter.. bootloader just picks the newest valid image (?).


Teddy Boom
k kudos Received
Premium
join:2007-01-29
Toronto, ON
kudos:19

said by mlord:

Which of the two flash images did you replace, the first one, or the second?

I ripped 02.16 from another modem this afternoon, and found it in the first partition. The second partition had 02.08. So perhaps the "factory" image is the one at 00200000 rather than the one at 00010000.

Cheers

I found the same thing. On the 2.16 modem it was 2.16 in image0 and 2.08 in image1. On the 2.08 modem it had 2.08 in both locations. I replaced both on the 2.08 modem. I had to erase and flash the entire firmware at the time, because I didn't have a proper USBJTAG xml file for the DCM475. I've now created that xml, so I could experiment, but I don't have any modems to play with any more

I don't know if my theory about the two images works. It seems to mostly work, and on the DCM425 it seems to always work that way, but... I guess there must be an environment variable that chooses which fw to boot from. Annoying.
--
electronicsguru.ca/for_sale/Cablemodems

mlord

join:2006-11-05
Nepean, ON
kudos:13
Reviews:
·Start Communicat..
·TekSavvy Cable

1 edit
reply to Teddy Boom

said by Teddy Boom:

Not very thoroughly tested yet, because the upgraded modem is not subscribed on an account, but it certainly did the basics.

Once I've reprogrammed my own modem a few times (also not subscribed), I will likely borrow a subscribed stac 02.08 modem from a different buddy, and try it on that one. That should be the acid test, I think.


Teddy Boom
k kudos Received
Premium
join:2007-01-29
Toronto, ON
kudos:19

said by mlord:

Once I've reprogrammed my own modem a few times (also not subscribed), I will likely borrow a subscribed stac 02.08 modem from a different buddy, and try it on that one. That should be the acid test, I think.

To be honest, if it boots it is good. I'm just a little paranoid
--
electronicsguru.ca/for_sale/Cablemodems

mlord

join:2006-11-05
Nepean, ON
kudos:13
Reviews:
·Start Communicat..
·TekSavvy Cable
reply to mlord

Click for full size
Up-to-date, at last!
Same deal. I replaced image0 at first, but the modem came up as 02.08 still. Then I flashed the exact same firmware into image1, and.. presto!

Also verified that the MAC address is still the original, and it is.


mlord

join:2006-11-05
Nepean, ON
kudos:13
Reviews:
·Start Communicat..
·TekSavvy Cable


Sparkfun Arduino Pro Micro 3.3V
The final version of the flash rig. Pretty darned simple.

mlord

join:2006-11-05
Nepean, ON
kudos:13
reply to mlord

So.. anyone else in Ottawa need/want their DCM-475 upgraded to Stac 02.16 firmware?



TSI Gabe
Premium,VIP
join:2007-01-03
Chatham, ON
kudos:7

Well...I do live in Ottawa


mlord

join:2006-11-05
Nepean, ON
kudos:13
Reviews:
·Start Communicat..
·TekSavvy Cable

said by TSI Gabe:

Well...I do live in Ottawa

:) you are quite welcome to check it out, if you like.
Just PM me (you or anyone else who is interested).


damir52
SFRJ
Premium
join:2003-05-24

How much would you charge me to do this for me if i ship you the modem?
--
www.urimage.net - Free Image Hosting


mlord

join:2006-11-05
Nepean, ON
kudos:13
Reviews:
·Start Communicat..
·TekSavvy Cable

said by damir52:

How much would you charge me to do this for me if i ship you the modem?

I plan to only do local modems in the Ottawa area for now.
Perhaps you might contact user Teddy Boom (send him a PM from this site) and inquire there?

Cheers


damir52
SFRJ
Premium
join:2003-05-24

ok. tnx


mlord

join:2006-11-05
Nepean, ON
kudos:13
Reviews:
·Start Communicat..
·TekSavvy Cable
reply to Teddy Boom

said by Teddy Boom:

said by mlord:

Once I've reprogrammed my own modem a few times (also not subscribed), I will likely borrow a subscribed stac 02.08 modem from a different buddy, and try it on that one. That should be the acid test, I think.

To be honest, if it boots it is good. I'm just a little paranoid

I plugged my upgraded modem into the cable line just a few minutes ago, and it sync'd up with 4 downstream 1 upstream channels just fine. Of course it is still an unprovisioned modem, so it got an internal 10.69.x.x IP address rather than a "real" internet address. But still nice to see it actually works.

mlord

join:2006-11-05
Nepean, ON
kudos:13
Reviews:
·Start Communicat..
·TekSavvy Cable
reply to mlord

said by mlord:

Same deal. I replaced image0 at first, but the modem came up as 02.08 still. Then I flashed the exact same firmware into image1, and.. presto!

Okay, I've just now upgraded a second modem. This time, we tried the second image location first, and it worked. So no need to overwrite both images, just the second one.

Cheers

Kelwynne

join:2012-09-16

said by mlord:

said by mlord:

Same deal. I replaced image0 at first, but the modem came up as 02.08 still. Then I flashed the exact same firmware into image1, and.. presto!

Okay, I've just now upgraded a second modem. This time, we tried the second image location first, and it worked. So no need to overwrite both images, just the second one.

Cheers

And I am connecting with no problems so the flash was good.

Now to see if it has resolved the periodic disconnect problem.


Lothario

join:2009-09-30
Ottawa, ON
reply to mlord


I am interested but I am not having any major issues with the modem atm.


Shoeman1975

join:2011-08-03
Canada
reply to mlord

Mlord, I'm in Ottawa, in Orleans. How long does the flash take if I'm able to drop it off to you?
Thanks for all your work on this one!


Kelwynne

join:2012-09-16

It takes about 20 minutes but you may want to plan to be there for a half hour, just in case.


mlord

join:2006-11-05
Nepean, ON
kudos:13
reply to Shoeman1975

Lothario & Shoeman1975,

Allow about 30 minutes, start to finish, for updating the modem.
If you (or others) want this done, then PM me (click on mlord at left, and send me a Private Message aka. "PM").

Cheers


Kelwynne

join:2012-09-16
reply to mlord

Been running the updated firmware for a week now with no problems. It also appears to have resolved my periodic disconnect/reconnect problem which was my impetus for getting the upgrade done in the first place.

Thanks again for the help mlord.



Lothario

join:2009-09-30
Ottawa, ON

Do you have channel bonding yet? My modem has been relatively ok but am still getting it upgraded.


mlord

join:2006-11-05
Nepean, ON
kudos:13
Reviews:
·Start Communicat..
·TekSavvy Cable

1 edit
reply to Teddy Boom

Click for full size
Close quarters
Mmm.. The last two modems I've upgraded here now both had the processor heatsink rather close to the flash chip -- too close for the full IC test clip that Teddy Boom uses.

The latest one actually overhung the flash, preventing easy access to the pins. I managed to slide my grabbers under the heatsink onto two of the pins, but the third pin on that side was not accessible. Fortunately, this was the +3V power pin, so I used the closest pin of the nearby white header instead. Worked fine.


Teddy Boom
k kudos Received
Premium
join:2007-01-29
Toronto, ON
kudos:19

Very annoying.. I guess it is Dremel time

I might have to break out the individual test clips actually. It is only a few connections, and those big all-pin test clips aren't that easy to attach, so I might be better off with your setup anyway..
--
electronicsguru.ca/for_sale/Cablemodems