This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

c6748 解锁jtag error

Other Parts Discussed in Thread: OMAP-L138

加密版本的6748,解锁jtag报错如下:

(File IO): Read 218816 bytes from file E:\omap138\C674x_OMAPL1x_Generic_Security_Flash_Boot_Utils\OMAP-L138_Secure_FlashAndBootUtils_trunk\OMAP-L138_Secure\GNU\AISUtils\jtag.bin.
(Serial Port): Opening COM35 at 115200 baud...
(AIS Parse): Read magic word 0x41504954.
(AIS Parse): Waiting for BOOTME... (power on or reset target now)
(AIS Parse): BOOTME received!
(AIS Parse): Performing Start-Word Sync...
(Serial Port): Read error: 操作已超时。
(AIS Parse): I/O Error in read!
(AIS Parse): Boot aborted.
(Serial Port): Closing COM35.

  • 请问jtag.bin文件是用SecureHexAIS_OMAP-L138.exe转换的吗?
  • 感谢您的回复!!
    是使用的SecureHexAIS_OMAP-L138.exe和GenericSecureUartHost.exe这俩工具
  • 您好,板子是自己做的,能出现bootme,能否说明串口没问题?
  • yu wang 说:
    (Serial Port): Read error: 操作已超时。

    是不是这个文件jtag.bin有问题. 发上来,或者打开截个屏上来看一下。

  • 收到bootme说明DSP到PC的传输没问题。

    检查一下串口硬件,是不是PC发送到DSP线路有问题。之前有客户查出来是电平问题。
  • 您好!感谢回复
    我用示波器抓了下波形,收发都是正常的,您这边有可用的ais文件提供吗
  • 我这边的现象就是:示波器可以抓到两段波形,bootme正常,然后紧接着就是一段波形。从pc发给DSP,之后就和上述报错情况一致了
  • 1106.test.bin

    试试附件,在我这是可以的。

    (File IO): Read 1624 bytes from file C:\ti\OMAPL138_C6748_Generic_Security\OMAP-L138_Secure_FlashAndBootUtils_trunk\OMAP-L138_Secure\GNU\AISUtils\test.bin.
    (Serial Port): Opening COM26 at 115200 baud...
    (AIS Parse): Read magic word 0x41504954.
    (AIS Parse): Waiting for BOOTME... (power on or reset target now)
    (AIS Parse): BOOTME received!
    (AIS Parse): Performing Start-Word Sync...
    (AIS Parse): Performing Ping Opcode Sync...
    (AIS Parse): Processing command 0: 0x58535920.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Secure key loading, entering secure mode.
    (AIS Parse): Processing command 1: 0x58535923.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Setting boot exit mode...
    (AIS Parse): Set exit mode to 0x00000000.
    (AIS Parse): Processing command 2: 0x5853590D.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Executing function...
    (AIS Parse): Secure mode; sending signature.
    (AIS Parse): Processing command 3: 0x5853590D.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Executing function...
    (AIS Parse): Secure mode; sending signature.
    (AIS Parse): Processing command 4: 0x5853590D.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Executing function...
    (AIS Parse): Secure mode; sending signature.
    (AIS Parse): Processing command 5: 0x5853590D.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Executing function...
    (AIS Parse): Secure mode; sending signature.
    (AIS Parse): Processing command 6: 0x5853590D.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Executing function...
    (AIS Parse): Secure mode; sending signature.
    (AIS Parse): Processing command 7: 0x5853590D.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Executing function...
    (AIS Parse): Secure mode; sending signature.
    (AIS Parse): Processing command 8: 0x5853590D.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Executing function...
    (AIS Parse): Secure mode; sending signature.
    (AIS Parse): Processing command 9: 0x5853590D.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Executing function...
    (AIS Parse): Secure mode; sending signature.
    (AIS Parse): Processing command 10: 0x5853590D.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Executing function...
    (AIS Parse): Secure mode; sending signature.
    (AIS Parse): Processing command 11: 0x58535921.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Loading encoded section...
    (AIS Parse): Loaded 1056-Byte section to address 0x00800000.
    (AIS Parse): Processing command 12: 0x58535906.
    (AIS Parse): Performing Opcode Sync...
    (AIS Parse): Performing jump and close...
    (AIS Parse): Secure mode; sending signature.
    (AIS Parse): AIS complete. Jump to address 0x00000000.
    (AIS Parse): Waiting for DONE...
    (AIS Parse): Boot completed successfully.
    (Serial Port): Closing COM26.

  • 感谢

    这个是通用的吗?

    我的开发板是自己画的,boot模式是串口0

  • 您好,使用您家官方提供的c#代码,我调试了下,问题定位在这里:  

    {
    // send xmt start

    status |= LOCAL_bufWrite(LOCAL_UInt322b(xmtWord), 0, ioBits / 8, ioTimeout);
    if (status < 0)
    {
    status = 0;
    LOCAL_delay(opcodeDelay);
    continue;
    }

    // receive word
    status |= LOCAL_bufRead(rcvWordB, 0, ioBits / 8, ioTimeout);
    rcvWord = LOCAL_b2UInt32(rcvWordB);

    // fail on IO error
    if (status < 0)
    {
    return AisStatus.ERROR;
    }

    // break if word is rcv start
    if (rcvWord == AIS_RCV_START(ioBits))
    {
    break;
    }
    }

    当pc发送xmtWord后,DSP并无返回信息,据此您大概能知道出错的原因了吗