SB5100 Cable modem |
Motorola SB5100 surfboard
The CPU of the board uses BCM3348. The tool to debug the CPU is EJTAG (DMA).
Picture showing JTAG is connected |
Flash | One 2MB | 28F160C3 |
Firmware | 2MB | $9FC00000-$9FDFFFFF |
RAM | 16MB | $80000000-$81000000 |
Definition in usbjtag.def | Commands (usbjtag 0.09. SB5100 Test 0.03): |
Name=SB5100 DLL=SB5100.dll Memory=Ram,0,0x80000000,0x800000 // Boot loader Memory=Boot,1,0x9fc00000,0x8000 // configuration Memory=cfg,1,0x9fc08000,0x8000 // first copy of firmware Memory=Image0,1,0x9fc10000,0xf0000 // second copy of firmware Memory=Image1,1,0x9fd00000,0xf0000 // log data Memory=log,1,0x9fdf0000,0x10000 Programram=0x80400000 // watch dog Init=0xfffe0224,0 // initialize chip set Init=0xfffe2300,0x1a Init=0xfffe2304,0 Init=0xfffe2308,0x8040 Init=0xfffe230C,3 Init=0xfffe2310,0x4824 Endian=Big IRLength=5 Protocol=EJTAG DMA=Yes ProbTrap=1 |
Backup firmware getram 9fc00000 200000 save 9fc00000 200000 Program whole firmware. (Should not interrupt) detect ldram 9fc00000 program 9fc00000 200000 cmpram 9fc00000 200000 cmpram is optional. It can be used after program only when DMA is supported.After that you should see DEBUG ON. You should see "Compair data OK" Program Sigma detect ldram boot select the sigma boot ldram image0 Select sigma application program boot program image0 Rescue SB5100. When box not fire up. Normal programming will not work. First need to program boot (if method 1 does not work use method 2) Method 1. detect ldram 9fc00000(Select the backed up file) poke fffe230c 3 poke fffe2304 0 poke fffe2300 a poke fffe2300 9 poke fffe2300 9 poke fffe2300 9 poke fffe2300 9 poke fffe2300 9 poke fffe2300 9 poke fffe2300 9 poke fffe2300 9 poke fffe2300 1c program 9fc00000 200000 cmpram 9fc00000 200000 if cmpram failed, power off and on the box again and do delect program 9fc00000 200000 cmpram 9fc00000 200000 Method 2. detect ldram boot (Select proper boot file) erase boot sprogram boot (Slow programming) Power off and on SB5100 detect ldram 9fc00000(Select the backed up file) program 9fc00000 200000 cmpram 9fc00000 200000 |