>> Repositório de "scripts" para programadores << - Página 2

Thanks Thanks:  37
Likes Likes:  1
Dislikes Dislikes:  0
Página 2 de 3 PrimerPrimer 123 ÚltimoÚltimo
Resultados 16 al 30 de 33
  1. #16
    Avatar de jucacesar
    Cablero Topacio
    Fecha de Ingreso
    30-03-2012
    Mensajes
    1,105
    Gracias (Dados)
    608
    Gracias (Recibidos)
    432
    Me Gusta (Dados)
    1
    Me Gusta (Recibidos)
    3
    Me Disgusta (Dados)
    0
    Me Disgusta (Recibidos)
    1
    Descargas
    237
    Uploads
    0
    Mencionado
    0 Post(s)
    Poder de reputación
    162

    Predeterminado

    Por algum acaso alguma alma caridosa tem scprit do Arris TG862 para bcusb, obrigado.

    "Não respondo nenhuma dúvida por MP que não possa ser respondida no fórum"

  2. Gracias socartch agradecido(s) por este post
  3. #17
    Avatar de socartch
    Cablero Turquesa
    Fecha de Ingreso
    22-02-2011
    Mensajes
    784
    Gracias (Dados)
    490
    Gracias (Recibidos)
    262
    Me Gusta (Dados)
    0
    Me Gusta (Recibidos)
    1
    Me Disgusta (Dados)
    0
    Me Disgusta (Recibidos)
    0
    Descargas
    80
    Uploads
    0
    Mencionado
    0 Post(s)
    Poder de reputación
    0

    Predeterminado



    Esse Lamps é mesmo um fanfarrão, e depois diz que não sabe de nada... "!NOCENTE"... Quem não de nada sou eu.

  4. #18
    Avatar de lamp
    Banned
    Fecha de Ingreso
    03-08-2008
    Mensajes
    1,264
    Gracias (Dados)
    219
    Gracias (Recibidos)
    605
    Me Gusta (Dados)
    0
    Me Gusta (Recibidos)
    7
    Me Disgusta (Dados)
    0
    Me Disgusta (Recibidos)
    1
    Descargas
    73
    Uploads
    1
    Mencionado
    0 Post(s)
    Poder de reputación
    0

    Predeterminado

    .



    Não sou sequer uma gota d'água
    nesse oceano de sabedoria que é você!

    .

  5. #19
    Avatar de socartch
    Cablero Turquesa
    Fecha de Ingreso
    22-02-2011
    Mensajes
    784
    Gracias (Dados)
    490
    Gracias (Recibidos)
    262
    Me Gusta (Dados)
    0
    Me Gusta (Recibidos)
    1
    Me Disgusta (Dados)
    0
    Me Disgusta (Recibidos)
    0
    Descargas
    80
    Uploads
    0
    Mencionado
    0 Post(s)
    Poder de reputación
    0

    Predeterminado



    Jucacesar: Veja se nesse post vc pode encontrar algo que lhe ajude:
    Outra coisa: segue script dele para programador NT, na verdade o Hazard já tinha posto ele no forum mas ficou no esquecimento de muitos.
    Obs: Lá fora ele e conhecido como Touchstone

    TTG862Gbottom
    Última edición por Unknown; 13/11/2014 a las 13:50 Razón: +informations

  6. Gracias lamp agradecido(s) por este post
  7. #20
    Avatar de lamp
    Banned
    Fecha de Ingreso
    03-08-2008
    Mensajes
    1,264
    Gracias (Dados)
    219
    Gracias (Recibidos)
    605
    Me Gusta (Dados)
    0
    Me Gusta (Recibidos)
    7
    Me Disgusta (Dados)
    0
    Me Disgusta (Recibidos)
    1
    Descargas
    73
    Uploads
    1
    Mencionado
    0 Post(s)
    Poder de reputación
    0

    Predeterminado

    .



    Perfeito!

    E a ideia deste tópico é essa: concentrar tudo o que se conhece
    em termos de "scripts" dentro e fora do fórum!

    Esse é fera!

    Seria muito produtivo se alguém desse algumas explicações de
    como se "montar" um "script". De posse do "dump" da memória,
    dividir em setores para que possam ser alterados com a
    inserção de outras informações!

    .


    .

  8. #21
    Avatar de socartch
    Cablero Turquesa
    Fecha de Ingreso
    22-02-2011
    Mensajes
    784
    Gracias (Dados)
    490
    Gracias (Recibidos)
    262
    Me Gusta (Dados)
    0
    Me Gusta (Recibidos)
    1
    Me Disgusta (Dados)
    0
    Me Disgusta (Recibidos)
    0
    Descargas
    80
    Uploads
    0
    Mencionado
    0 Post(s)
    Poder de reputación
    0
    Última edición por Unknown; 09/11/2014 a las 19:10

  9. Gracias jucacesar, Andrei_k_l, kinhobss agradecido(s) por este post
  10. #22
    Avatar de mrjunior
    Cablero Ópalo
    Fecha de Ingreso
    24-04-2013
    Mensajes
    250
    Gracias (Dados)
    55
    Gracias (Recibidos)
    63
    Me Gusta (Dados)
    0
    Me Gusta (Recibidos)
    2
    Me Disgusta (Dados)
    0
    Me Disgusta (Recibidos)
    1
    Descargas
    164
    Uploads
    0
    Mencionado
    0 Post(s)
    Poder de reputación
    137

    Predeterminado

    esse modem precisa achar o isp no modem ? ou so com o 5v na flash ele reconhece ?

  11. #23
    Avatar de lamp
    Banned
    Fecha de Ingreso
    03-08-2008
    Mensajes
    1,264
    Gracias (Dados)
    219
    Gracias (Recibidos)
    605
    Me Gusta (Dados)
    0
    Me Gusta (Recibidos)
    7
    Me Disgusta (Dados)
    0
    Me Disgusta (Recibidos)
    1
    Descargas
    73
    Uploads
    1
    Mencionado
    0 Post(s)
    Poder de reputación
    0

  12. #24
    Avatar de jdbraghin
    ogre
    Fecha de Ingreso
    06-04-2015
    Mensajes
    22
    Gracias (Dados)
    0
    Gracias (Recibidos)
    0
    Me Gusta (Dados)
    0
    Me Gusta (Recibidos)
    0
    Me Disgusta (Dados)
    0
    Me Disgusta (Recibidos)
    0
    Descargas
    10
    Uploads
    0
    Mencionado
    0 Post(s)
    Poder de reputación
    0

    Predeterminado

    Pessoal possa estar no topico errado mas tenho algumas duvidas, eu to com dois 5100, um sbv 5121 eu comprei eles para poder começar o uncap, mas a minha duvida eh sobre os scripts para que server, desculpa se são para subir eles no CM,

    - - - Updated - - -

    Pessoal possa estar no topico errado mas tenho algumas duvidas, eu to com dois 5100, um sbv 5121 eu comprei eles para poder começar o uncap, mas a minha duvida eh sobre os scripts para que server, desculpa se são para subir eles no CM,

    - - - Updated - - -

    Pessoal possa estar no topico errado mas tenho algumas duvidas, eu to com dois 5100, um sbv 5121 eu comprei eles para poder começar o uncap, mas a minha duvida eh sobre os scripts para que server, desculpa se são para subir eles no CM, e a outra eh qual cabo devo comprar para uncap o blackcat ou USBJtag e se eles funcionam nos modens mais novos, se puderem me ajudar.

  13. #25
    Avatar de samuelloureiro
    Cablero Alejandrita
    Fecha de Ingreso
    10-02-2013
    Mensajes
    221
    Gracias (Dados)
    0
    Gracias (Recibidos)
    13
    Me Gusta (Dados)
    0
    Me Gusta (Recibidos)
    1
    Me Disgusta (Dados)
    0
    Me Disgusta (Recibidos)
    0
    Descargas
    170
    Uploads
    0
    Mencionado
    0 Post(s)
    Poder de reputación
    0

    Predeterminado

    Algué teria do thomsom

  14. #26
    Avatar de velhodorio
    Cablero Habitual
    Fecha de Ingreso
    20-04-2011
    Mensajes
    30
    Gracias (Dados)
    23
    Gracias (Recibidos)
    1
    Me Gusta (Dados)
    0
    Me Gusta (Recibidos)
    0
    Me Disgusta (Dados)
    0
    Me Disgusta (Recibidos)
    0
    Descargas
    10
    Uploads
    0
    Mencionado
    0 Post(s)
    Poder de reputación
    0

    Predeterminado

    O link tá morto man!!

  15. #27
    Avatar de pabinhu
    Cablero Alejandrita
    Fecha de Ingreso
    02-04-2008
    Mensajes
    200
    Gracias (Dados)
    44
    Gracias (Recibidos)
    50
    Me Gusta (Dados)
    0
    Me Gusta (Recibidos)
    3
    Me Disgusta (Dados)
    0
    Me Disgusta (Recibidos)
    0
    Descargas
    413
    Uploads
    0
    Mencionado
    0 Post(s)
    Poder de reputación
    199

  16. #28
    Avatar de superMDMArio
    Sabe de Nada Inocente...
    Fecha de Ingreso
    21-04-2008
    Mensajes
    533
    Gracias (Dados)
    142
    Gracias (Recibidos)
    185
    Me Gusta (Dados)
    1
    Me Gusta (Recibidos)
    2
    Me Disgusta (Dados)
    0
    Me Disgusta (Recibidos)
    0
    Descargas
    105
    Uploads
    0
    Mencionado
    0 Post(s)
    Poder de reputación
    206

  17. #29
    Avatar de diegosomealarmes
    Cablero Habitual
    Fecha de Ingreso
    19-10-2013
    Mensajes
    49
    Gracias (Dados)
    63
    Gracias (Recibidos)
    14
    Me Gusta (Dados)
    0
    Me Gusta (Recibidos)
    0
    Me Disgusta (Dados)
    0
    Me Disgusta (Recibidos)
    0
    Descargas
    24
    Uploads
    0
    Mencionado
    0 Post(s)
    Poder de reputación
    0

    Predeterminado

    Boa Gostei da frase .....

  18. Gracias fabiolou agradecido(s) por este post
  19. #30
    Avatar de manoqap
    Cablero Amatista
    Fecha de Ingreso
    15-03-2011
    Mensajes
    91
    Gracias (Dados)
    92
    Gracias (Recibidos)
    42
    Me Gusta (Dados)
    0
    Me Gusta (Recibidos)
    0
    Me Disgusta (Dados)
    0
    Me Disgusta (Recibidos)
    0
    Descargas
    33
    Uploads
    0
    Mencionado
    0 Post(s)
    Poder de reputación
    0

    Predeterminado

    Minha colaboração.

    SB6141

    MyDevice = "SB6141" #Name of device


    FlBase = 0x0
    FLSize = 0x7FFFFF
    FwBase = 0x40000
    FwSize = 3866624
    Fw1Base = 0x3F0000
    Fw1Size = 3866624
    U-BootBase = 0x0
    U-BootSize = 131072
    Env1Base = 0x20000
    Env1Size = 131072
    BlankBase = 0x7A0000
    BlankSize = 196608
    LogBase = 0x7D0000
    LogSize = 131072
    CfgBase = 0x7F0000
    CfgSize = 65536


    JTAG.MemoryType("SPI")
    SPIFLASH = JTAG.MemoryInit()
    t1 = Tab.Create(MyDevice)


    Tab(t1).AddGroup("U-Boot",10,10,100,150)
    Tab(t1).AddGroup("BootParam",110,10,100,150)
    Tab(t1).AddGroup("UBFI1",210,10,100,150)
    Tab(t1).AddGroup("UBFI2",310,10,100,150)
    Tab(t1).AddGroup("Blank",10,160,100,150)
    Tab(t1).AddGroup("Log",110,160,100,150)
    Tab(t1).AddGroup("Cfg",210,160,100,150)
    Tab(t1).AddGroup("FullFlash",310,160,100,150)
    Tab(t1).AddButton("ReadU-Boot","Read",20,42)
    Tab(t1).AddButton("WriteU-Boot","Write",20,102)
    Tab(t1).AddButton("ReadBootParam","Read",120,42)
    Tab(t1).AddButton("WriteBootParam","Write",120,102 )
    Tab(t1).AddButton("ReadUBFI1","Read",220,42)
    Tab(t1).AddButton("WriteUBFI1","Write",220,102)
    Tab(t1).AddButton("ReadUBFI2","Read",320,42)
    Tab(t1).AddButton("WriteUBFI2","Write",320,102)
    Tab(t1).AddButton("ReadBlank","Read",20,192)
    Tab(t1).AddButton("WriteBlank","Write",20,252)
    Tab(t1).AddButton("ReadLog","Read",120,192)
    Tab(t1).AddButton("WriteLog","Write",120,252)
    Tab(t1).AddButton("ReadCfg","Read",220,192)
    Tab(t1).AddButton("WriteCfg","Write",220,252)
    Tab(t1).AddButton("ReadFullFlash","Read",320,192)
    Tab(t1).AddButton("WriteFullFlash","Write",320,252 )


    CreateEvent(ReadU-Boot)
    Status("Reading U-Boot")
    Tab(t1).ButtonDisable()
    MyData = Memory(SPIFLASH).ReadVerify(U-BootBase,U-BootSize)
    if (MyData = Nothing)
    Status("Error: data read back failed")
    Tab(t1).ButtonEnable()
    Exit Event
    endif
    Prompt = "Choose filename for U-Boot"
    SaveFile(MyData,Prompt,"U-Boot.bin")
    Status("Successfully read U-Boot from Flash!")
    Tab(t1).ButtonEnable()
    EndEvent




    CreateEvent(WriteU-Boot)
    Tab(t1).ButtonDisable()
    Prompt = "Choose U-Boot to write to Flash"
    MyData = OpenFile(Prompt,"U-Boot files (*.bin)|*.bin")
    if (MyData = Nothing)
    goto WriteU-BootExit
    endif
    # if not (Len(MyData) = U-BootSize)
    # Status("Error: File is not the size of the U-Boot")
    # goto WriteU-BootExit
    # endif
    Memory(SPIFLASH).Write(MyData,U-BootBase,U-BootSize)
    Status("New U-Boot successfully written!")
    WriteU-BootExit:
    Tab(t1).ButtonEnable()
    EndEvent


    CreateEvent(ReadBootParam)
    Status("Reading BootParams")
    Tab(t1).ButtonDisable()
    MyData = Memory(SPIFLASH).ReadVerify(Env1Base,Env1Size)
    if (MyData = Nothing)
    Status("Error: data read back failed")
    Tab(t1).ButtonEnable()
    Exit Event
    endif
    Prompt = "Choose filename to save the firmware"
    SaveFile(MyData,Prompt,"BootParam.bin")
    Status("Successfully read BootParam from Flash")
    Tab(t1).ButtonEnable()
    EndEvent




    CreateEvent(WriteBootParam)
    Tab(t1).ButtonDisable()
    Prompt = "Choose BootParams to write to Flash"
    MyData = OpenFile(Prompt,"BootParam files (*.bin)|*.bin")
    if (MyData = Nothing)
    goto WriteEnv1Exit
    endif
    if not (Len(MyData) = Env1Size)
    Status("Error: File is not the size of the BootParam")
    goto WriteEnv1Exit
    endif
    Memory(SPIFLASH).Write(MyData,Env1Base,Env1Size)
    Status("New BootParam successfully written")
    WriteEnv1Exit:
    Tab(t1).ButtonEnable()
    EndEvent


    CreateEvent(ReadUBFI1)
    Status("Saving the SB6141's UBFI1")
    Tab(t1).ButtonDisable()
    MyData = Memory(SPIFLASH).ReadVerify(FwBase,FwSize)
    if (MyData = Nothing)
    Status("Error: data read back failed")
    Tab(t1).ButtonEnable()
    Exit Event
    endif
    Prompt = "Choose filename for UBFI1"
    SaveFile(MyData,Prompt,"UBFI1.bin")
    Status("Successfully read UBFI1 from Flash")
    Tab(t1).ButtonEnable()
    EndEvent


    CreateEvent(WriteUBFI1)
    Status("Programming the SB6141's UBFI1")
    Tab(t1).ButtonDisable()
    Prompt = "Choose a firmware to install"
    MyData = OpenFile(Prompt,"Firmware files (*.bin,*.p7)|*.bin;*.p7")
    if (MyData = Nothing)
    WriteErr = "User cancelled operation"
    goto ExitWriteFwErr
    endif
    If (HWORD(MyData,0) = 12418) #Remove header if .p7 fw
    Writeline("Removing .p7 firmware header")
    HeadLen = HWORD(MyData,2) + 52 #increases Headlen by 7
    NewLen = Len(MyData) - HeadLen
    Resize(MyData,HeadLen,NewLen) #Removes the p7 header
    endif
    FwLen = Len(MyData)
    Memory(SPIFLASH).Write(MyData,FwBase,FwLen)
    FwSize = FwLen
    Status("New firmware successfully installed")
    Tab(t1).ButtonEnable()
    Exit
    ExitWriteFwErr:
    Status(WriteErr)
    Tab(t1).ButtonEnable()
    EndEvent


    CreateEvent(ReadUBFI2)
    Status("Saving the SB6141's UBFI2")
    Tab(t1).ButtonDisable()
    MyData = Memory(SPIFLASH).ReadVerify(Fw1Base,Fw1Size)
    if (MyData = Nothing)
    Status("Error: data read back failed")
    Tab(t1).ButtonEnable()
    Exit Event
    endif
    Prompt = "Choose filename for UBFI2"
    SaveFile(MyData,Prompt,"UBFI2.bin")
    Status("Successfully read UBFI2 from Flash")
    Tab(t1).ButtonEnable()
    EndEvent


    CreateEvent(WriteUBFI2)
    Status("Programming the SB6141's UBFI2")
    Tab(t1).ButtonDisable()
    Prompt = "Choose a firmware to install"
    MyData = OpenFile(Prompt,"Firmware files (*.bin,*.p7)|*.bin;*.p7")
    if (MyData = Nothing)
    WriteErr = "User cancelled operation"
    goto ExitWriteFwErr
    endif
    If (HWORD(MyData,0) = 12418) #Remove header if .p7 fw
    Writeline("Removing .p7 firmware header")
    HeadLen = HWORD(MyData,2) + 52 #increases Headlen by 7
    NewLen = Len(MyData) - HeadLen
    Resize(MyData,HeadLen,NewLen) #Removes the p7 header
    endif
    FwLen = Len(MyData)
    Memory(SPIFLASH).Write(MyData,Fw1Base,FwLen)
    Fw1Size = FwLen
    Status("New firmware successfully installed")
    Tab(t1).ButtonEnable()
    Exit
    ExitWriteFwErr:
    Status(WriteErr)
    Tab(t1).ButtonEnable()
    EndEvent


    CreateEvent(ReadBlank)
    Status("Saving 'Blank' area")
    Tab(t1).ButtonDisable()
    MyData = Memory(SPIFLASH).ReadVerify(BlankBase,BlankSize)
    if (MyData = Nothing)
    Status("Error: data read back failed")
    Tab(t1).ButtonEnable()
    Exit Event
    endif
    Prompt = "Choose filename to save Blank"
    SaveFile(MyData,Prompt,"Blank.bin")
    Status("Successfully read Blank from Flash")
    Tab(t1).ButtonEnable()
    EndEvent




    CreateEvent(WriteBlank)
    Tab(t1).ButtonDisable()
    Prompt = "Choose a Blank to write to Flash"
    MyData = OpenFile(Prompt,"Blank files (*.bin)|*.bin")
    if (MyData = Nothing)
    goto WriteBlankExit
    endif
    if not (Len(MyData) = BlankSize)
    Status("Error: File is not the size of the Blank")
    goto WriteBlankExit
    endif
    Memory(SPIFLASH).Write(MyData,BlankBase,BlankSize)
    Status("New Blank successfully written")
    WriteBlankExit:
    Tab(t1).ButtonEnable()
    EndEvent


    CreateEvent(ReadLog)
    Status("Reading the Log")
    Tab(t1).ButtonDisable()
    MyData = Memory(SPIFLASH).ReadVerify(LogBase,LogSize)
    if (MyData = Nothing)
    Status("Error: data read back failed")
    Tab(t1).ButtonEnable()
    Exit Event
    endif
    Prompt = "Choose filename to save Log"
    SaveFile(MyData,Prompt,"Log.bin")
    Status("Successfully read Log from Flash")
    Tab(t1).ButtonEnable()
    EndEvent




    CreateEvent(WriteLog)
    Tab(t1).ButtonDisable()
    Prompt = "Choose a Log to write to Flash"
    MyData = OpenFile(Prompt,"Log files (*.bin)|*.bin")
    if (MyData = Nothing)
    goto WriteLogExit
    endif
    if not (Len(MyData) = LogSize)
    Status("Error: File is not the size of the Log")
    goto WriteLogExit
    endif
    Memory(SPIFLASH).Write(MyData,LogBase,LogSize)
    Status("New Log successfully written")
    WriteLogExit:
    Tab(t1).ButtonEnable()
    EndEvent


    CreateEvent(ReadCfg)
    Status("Reading the Cfg")
    Tab(t1).ButtonDisable()
    MyData = Memory(SPIFLASH).ReadVerify(CfgBase,CfgSize)
    if (MyData = Nothing)
    Status("Error: data read back failed")
    Tab(t1).ButtonEnable()
    Exit Event
    endif
    Prompt = "Choose filename to save Cfg"
    SaveFile(MyData,Prompt,"Cfg.bin")
    Status("Successfully read Cfg from Flash")
    Tab(t1).ButtonEnable()
    EndEvent




    CreateEvent(WriteCfg)
    Tab(t1).ButtonDisable()
    Prompt = "Choose a Cfg to write to Flash"
    MyData = OpenFile(Prompt,"Cfg files (*.bin)|*.bin")
    if (MyData = Nothing)
    goto WriteCfgExit
    endif
    if not (Len(MyData) = CfgSize)
    Status("Error: File is not the size of the Cfg")
    goto WriteCfgExit
    endif
    Memory(SPIFLASH).Write(MyData,CfgBase,CfgSize)
    Status("New Cfg successfully written")
    WriteCfgExit:
    Tab(t1).ButtonEnable()
    EndEvent




    CreateEvent(ReadFullFlash)
    Status("Saving the SB6141's Full Flash")
    Tab(t1).ButtonDisable()
    MyData = Memory(SPIFLASH).ReadVerify(FlBase,FlSize)
    if (MyData = Nothing)
    Status("Error: data read back failed")
    Tab(t1).ButtonEnable()
    Exit Event
    endif
    Prompt = "Choose filename to save Full Flash"
    SaveFile(MyData,Prompt,"FullFlash.bin")
    Status("Successfully read Full Flash!")
    Tab(t1).ButtonEnable()
    EndEvent


    CreateEvent(WriteFullFlash)
    Status("Programming the SB6141's Full Flash")
    Tab(t1).ButtonDisable()
    Prompt = "Choose a firmware to install"
    MyData = OpenFile(Prompt,"Full Flash files (*.bin)|*.bin")
    if (MyData = Nothing)
    WriteErr = "User cancelled operation"
    goto ExitWriteFwErr
    endif
    FlLen = Len(MyData)
    Memory(SPIFLASH).Write(MyData,FlBase,FlLen)
    FlSize = FlLen
    Status("Full Flash successful!")
    Tab(t1).ButtonEnable()
    Exit
    ExitWriteFwErr:
    Status(WriteErr)
    Tab(t1).ButtonEnable()
    EndEvent

  20. Gracias jucacesar, N/A agradecido(s) por este post

Página 2 de 3 PrimerPrimer 123 ÚltimoÚltimo

Permisos de publicación

  • No puedes crear nuevos temas
  • No puedes responder temas
  • No puedes subir archivos adjuntos
  • No puedes editar tus mensajes
  •