.titleBar { margin-bottom: 5px!important; }

fritzbox 7170 jtag ADAM2

Dieses Thema im Forum "FRITZ!Box Fon: Modifikationen" wurde erstellt von amandegar, 13 Feb. 2007.

  1. amandegar

    amandegar Neuer User

    Registriert seit:
    27 Nov. 2006
    Beiträge:
    12
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Hi:

    Last day i`m accidentaly rewrite the ADAM2 area with my firmware.
    I`m try to midification the fritzbox firmware and add a new features.
    I`m compiled the new kernel and change the file system contain and finally tar it in a single file.
    but modified the INSTALL file.
    So after run it for my mistake write the ADAM2 area start from 9000000.

    Now i have no fritzbox :(

    everything is off.

    So i want help to find the jtag pins on fritzbox 7170 board to flash the ADAM2 again and start to work my device.

    Please help me...
    Thanks alot.
     
  2. amandegar

    amandegar Neuer User

    Registriert seit:
    27 Nov. 2006
    Beiträge:
    12
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Thanks alot dear friend for your welcome.

    if 7170 same 7050 so can you tell me what`s the direction of the board.
    Back of the 7170 board not same the 7050 and i can not found any direction or mark to find the right way.

    are you do jtag the 7170 board..

    Thanks alot for your reply.
     
  3. heini66

    heini66 Gesperrt

    Registriert seit:
    12 März 2005
    Beiträge:
    2,163
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Ort:
    irgendwo im wald im kreuz von hh und lg
    i'm acutaly bricked my W701V by writing adam2 to /dev/mtdblock3. (havn't until now conected it, but is a thing on my todo next day's.) done the job on a fb_phone_wlan once a time.

    hardware from 701 is nearly identical to the 7170.

    to figure out where right pins are, first take multimeter and verify gnd pins...
    after they are found, from the logic the rest would be not that problem. (right upper corner 5 pins gnd... for example)

    take the 3,3V and gnd from the box serial port. than connect the 5 wires through the resistors and run WRT54G EJTAG DeBrick Utility in a loop. if you have right combination, the util will notice you.

    hope this serves you...
     
  4. amandegar

    amandegar Neuer User

    Registriert seit:
    27 Nov. 2006
    Beiträge:
    12
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    Really thanks alot for your information...
    I`m try to do it, and after that say the result to you .. ;)

    Thank you.
     
  5. amandegar

    amandegar Neuer User

    Registriert seit:
    27 Nov. 2006
    Beiträge:
    12
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    I`m connect everything and run the wrt54g ....
    when i`m run linke this and power on fritzbix after that :

    wrt -flash:custom /skipdetect /instrlen:5 /window:90000000 /start:90000000 /length:10000

    reading IMPCODE register... 00000000000000000000000000000000 (00000000)
    reading IMPCODE register... 11111111111111111111111111111111 (FFFFFFFF)
    reading IMPCODE register... 11111111111111111111111111111111 (FFFFFFFF)
    - EJTAG IMPCODE ....... : 01011110010111100011111111100001 (5E5E3FE1)
    - EJTAG Version ....... : 2.6
    - EJTAG DMA Support ... : Yes

    Press any key to continue . . .
    Issuing Processor / Peripheral Reset ... Done
    Enabling Memory Writes ... Skipped
    Halting Processor ... <Processor Entered Debug Mode!> ... Done
    Clearing Watchdog ...
    freez at this line ...............................................


    Also run with /nocwd parameter like this:

    wrt -flash:custom /nocwd /skipdetect /instrlen:5 /window:90000000 /start:90000000 /length:10000

    reading IMPCODE register... 00000000000000000000000000000000 (00000000)
    reading IMPCODE register... 11111111111111111111111111111111 (FFFFFFFF)
    reading IMPCODE register... 11111111111111111111111111111111 (FFFFFFFF)
    - EJTAG IMPCODE ....... : 01011110010111100011111111100001 (5E5E3FE1)
    - EJTAG Version ....... : 2.6
    - EJTAG DMA Support ... : Yes

    Press any key to continue . . .
    Issuing Processor / Peripheral Reset ... Done
    Enabling Memory Writes ... Skipped
    Halting Processor ... <Processor Entered Debug Mode!> ... Done
    Clearing Watchdog ... Skipped
    wrt54g.c1217: >1<

    Probing Flash at (Flash Window: 0x90000000) ... wrt54g.c1229: >2<

    freez agin and do nothing!!!!

    whats youare thinking about that.
    Also my wire aproximatley 50 cm. is it my problem ??
     
  6. amandegar

    amandegar Neuer User

    Registriert seit:
    27 Nov. 2006
    Beiträge:
    12
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    I did cut the wires and decrease the length to 15 cm.
    But got the same error.
    I don`t know why this error occure.

    Is it wrt54g have a ADAM2 bootloader code for fritzbox. Is it correct?
     
  7. amandegar

    amandegar Neuer User

    Registriert seit:
    27 Nov. 2006
    Beiträge:
    12
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    I see the help of wrt54g ...
    This software have not flash type of 7170.
    another fritzbox i saw it in this picture use the MX 29LV320ATTC flash memeory chip. http://www.akk.org/~enrik/fbox/serial.jpg

    But my fritzbox use the 29LV640MTTC flash memory chip and wrt54g have not any information about that...
     
  8. Igi2003

    Igi2003 Mitglied

    Registriert seit:
    10 Feb. 2005
    Beiträge:
    482
    Zustimmungen:
    4
    Punkte für Erfolge:
    18
    #12 Igi2003, 16 Feb. 2007
    Zuletzt bearbeitet: 16 Feb. 2007
    Hello,
    search on google for EJTAG+Fritzbox. I´ve seen on a Site that you need a modified wrt54g program to flash the Fritzbox. I thing that i found this manual over the wiki site. With the original wrt54g program, it won´t work to flash the fritzbox because the CPU won´t be supported.
    Your picture show the serial interface of the fritzbox. For the serial interface you need a RS232 driver/receiver like the Maxim MAX232. The Jtag don´t need a driver/receiver. It would be connected directly with 100 Ohm resistors and it will be connected near the serial interface on SMD resistors and the parallel port of the pc.

    Mfg Igi
     
  9. amandegar

    amandegar Neuer User

    Registriert seit:
    27 Nov. 2006
    Beiträge:
    12
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    nothing changed !!!

    I doubt about two things:
    1) MX 29LV640 not listed in wrt54g help.
    2) Xilinx Spartan XC3S400 block this work.
     
  10. gdfath3r

    gdfath3r Neuer User

    Registriert seit:
    23 Juni 2010
    Beiträge:
    3
    Zustimmungen:
    0
    Punkte für Erfolge:
    0
    I would like to have that bootloader. Can you upload or post it somewhere?