+ Responder ao Tópico



  1. #1

    Padrão Erro com Jtag

    pessoal estou tentando passar o bootloader da ap 1120, mas na verificação da um erro, estou usando os arquivos do pacote imagem.zip
    ai vai o log:



    jtag>cable DLC5 parallel 0x378
    Initializing parallel port at 0x378
    jtag> detect
    IR length: 5
    Chain length: 1
    Device Id: 00010101001010000000000000001101 (0x000000001528000D)
    Manufacturer: Lexr
    Part(0): LX5280
    Stepping: 1
    Filename: /usr/local/share/urjtag/lexra/lx5280/lx5280
    Please use the 'include' command instead of 'script'
    -E- Error: Illegal character # (/043) at line 1:
    chain.c(129) Part 0 without active instruction
    chain.c(160) Part 0 without active instruction
    jtag> include lexra/lx5280/lx5280
    -E- Error: Illegal character # (/043) at line 1:
    Data register 'BR' already defined
    Data register 'DIR' already defined
    Data register 'EJIMPCODE' already defined
    Data register 'EJADDRESS' already defined
    Data register 'EJDATA' already defined
    Data register 'EJCONTROL' already defined
    Data register 'EJALL' already defined
    instruction length is already set and used
    Instruction 'BYPASS' already defined
    Instruction 'IDCODE' already defined
    Instruction 'EJTAG_IMPCODE' already defined
    Instruction 'EJTAG_ADDRESS' already defined
    Instruction 'EJTAG_DATA' already defined
    Instruction 'EJTAG_CONTROL' already defined
    Instruction 'EJTAG_ALL' already defined
    jtag> detectflash 0x3fc00000
    ImpCode=00001010110000000000000111100000
    EJTAG version: <= 2.0
    EJTAG Implementation flags: R4k ASID_8 MIPS32
    Query identification string:
    Primary Algorithm Command Set and Control Interface ID Code: 0x0002 (AMD/Fujitsu Standard Command Set)
    Alternate Algorithm Command Set and Control Interface ID Code: 0x0000 (null)
    Query system interface information:
    Vcc Logic Supply Minimum Write/Erase or Write voltage: 2700 mV
    Vcc Logic Supply Maximum Write/Erase or Write voltage: 3600 mV
    Vpp [Programming] Supply Minimum Write/Erase voltage: 0 mV
    Vpp [Programming] Supply Maximum Write/Erase voltage: 0 mV
    Typical timeout per single byte/word program: 16 us
    Typical timeout for maximum-size multi-byte program: 0 us
    Typical timeout per individual block erase: 1024 ms
    Typical timeout for full chip erase: 0 ms
    Maximum timeout for byte/word program: 512 us
    Maximum timeout for multi-byte program: 0 us
    Maximum timeout per individual block erase: 16384 ms
    Maximum timeout for chip erase: 0 ms
    Device geometry definition:
    Device Size: 2097152 B (2048 KiB, 2 MiB)
    Flash Device Interface Code description: 0x0002 (x8/x16)
    Maximum number of bytes in multi-byte program: 1
    Number of Erase Block Regions within device: 4
    Erase Block Region Information:
    Region 0:
    Erase Block Size: 16384 B (16 KiB)
    Number of Erase Blocks: 1
    Region 1:
    Erase Block Size: 8192 B (8 KiB)
    Number of Erase Blocks: 2
    Region 2:
    Erase Block Size: 32768 B (32 KiB)
    Number of Erase Blocks: 1
    Region 3:
    Erase Block Size: 65536 B (64 KiB)
    Number of Erase Blocks: 31
    jtag> flashmem 0x3fc00000 /home/wilker/imagens/bootloader.bin
    Chip: AMD Flash
    Manufacturer: Unknown manufacturer (ID 0x00c2)
    Chip: MX29LV160B
    Protected: 0000
    program:
    flash_unlock_block 0x3FC00000 IGNORE

    block 0 unlocked
    flash_erase_block 0x3FC00000
    flash_erase_block 0x3FC00000 DONE
    erasing block 0: 0
    flash_unlock_block 0x3FC04000 IGNORE

    block 1 unlocked
    flash_erase_block 0x3FC04000
    flash_erase_block 0x3FC04000 DONE
    erasing block 1: 0
    addr: 0x3FC05F00
    verify:

    verify error:
    read: 0x0000FFFF
    expected: 0x00000000




    Problema resolvido pessoal!!
    o problema estava no programa que eu estava usando e na energia.
    mas nao consegui acesso pelo cabo serial, tive que passar a imagem full do firmware com o bootloader pelo jtag. demorou mas ja estou acessando.

    obrigado a todos!!
    Última edição por josewilkerm; 12-10-2008 às 07:51.