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 - Uart Boot Host fail to boot OEM hardware

Other Parts Discussed in Thread: TMS320C6748

Hello E2E Community,

I have an OEM hardware that uses the C6748 DSP processor and I am trying to boot from UART2.  I have tested using the C6748 LCDK and was successful with the following information displayed in 'Uart Boot Host' program from TI.

(File IO): Read 454072 bytes from file C:\Vantage\TMS320C6748\demos\edge_video_analytics\Release\edge_video_analytics.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: 0x58535901.
(AIS Parse): Performing Opcode Sync...
(AIS Parse): Loading section...
(AIS Parse): Loaded 422336-Byte section to address 0xC0000000.
(AIS Parse): Processing command 1: 0x58535901.
(AIS Parse): Performing Opcode Sync...
(AIS Parse): Loading section...
(AIS Parse): Loaded 248-Byte section to address 0xC0000000.
(AIS Parse): Processing command 2: 0x58535901.
(AIS Parse): Performing Opcode Sync...
(AIS Parse): Loading section...
(AIS Parse): Loaded 19700-Byte section to address 0xC0690AA8.
(AIS Parse): Processing command 3: 0x58535901.
(AIS Parse): Performing Opcode Sync...
(AIS Parse): Loading section...
(AIS Parse): Loaded 96-Byte section to address 0xC06977A0.
(AIS Parse): Processing command 4: 0x58535901.
(AIS Parse): Performing Opcode Sync...
(AIS Parse): Loading section...
(AIS Parse): Loaded 512-Byte section to address 0xC0697800.
(AIS Parse): Processing command 5: 0x58535901.
(AIS Parse): Performing Opcode Sync...
(AIS Parse): Loading section...
(AIS Parse): Loaded 396-Byte section to address 0xC0697A00.
(AIS Parse): Processing command 6: 0x58535901.
(AIS Parse): Performing Opcode Sync...
(AIS Parse): Loading section...
(AIS Parse): Loaded 10688-Byte section to address 0xC0697E10.
(AIS Parse): Processing command 7: 0x58535906.
(AIS Parse): Performing Opcode Sync...
(AIS Parse): Performing jump and close...
(AIS Parse): AIS complete. Jump to address 0xC0000000.
(AIS Parse): Waiting for DONE...
(AIS Parse): Boot completed successfully.
(Serial Port): Closing COM26.

When I try to boot on my OEM hardware, this is the error I am getting.

(File IO): Read 454072 bytes from file C:\Vantage\TMS320C6748\demos\edge_video_analytics\Release\edge_video_analytics.bin.
(Serial Port): Opening COM10 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: 0x58535901.
(AIS Parse): Performing Opcode Sync...
(Serial Port): Read error: The operation has timed out.
(AIS Parse): I/O Error in read!
(Serial Port): Read error: The operation has timed out.
(AIS Parse): I/O Error in read!
(Serial Port): Read error: The operation has timed out.
(AIS Parse): I/O Error in read!
(Serial Port): Read error: The operation has timed out.
(AIS Parse): I/O Error in read!
(Serial Port): Read error: The operation has timed out.
(AIS Parse): I/O Error in read!
(Serial Port): Read error: The operation has timed out.
(AIS Parse): I/O Error in read!
(Serial Port): Read error: The operation has timed out.
(AIS Parse): I/O Error in read!
(Serial Port): Read error: The operation has timed out.
(AIS Parse): I/O Error in read!
(Serial Port): Read error: The operation has timed out.
(AIS Parse): I/O Error in read!
(Serial Port): Read error: The operation has timed out.
(AIS Parse): I/O Error in read!
(Serial Port): Read error: The operation has timed out.
(AIS Parse): I/O Error in read!
(AIS Parse): Opcode Sync failed after 11 consecutive I/O failures.
(AIS Parse): Boot aborted.
(Serial Port): Closing COM10.

Can anyone give me some insight as to what the problem is and what I need to do the get it to boot properly?

Thanks,
JumpStart

  • Could  you please specify the differences in the two hardware? Is the OSCIN Frequency the same? Did you regenerate your Boot image to match the SDRAM timings, ROM version, PINMUX required for the new hardware?

    Regards,

    Rahul

  • Hello Rahul,

    Our C6748 OEM hardware is a subset of the C6748 LCDK.  We do not have following on our board (USB OTG, SATA, Ethernet, USB 1.1 Host, Line out/in, Mic in, fingerprint sensor, user button, lcd out).  We do not have the USB-UART Port but a direct UART2 connection.  The OSCIN frequency is 24 MHz.  The DDR2 is from Micron (MT47H64MHR) and is suppose to be identical to the Samsung (K4T1G164QF-BCF8) used on the LCDK.  The C6748 part we are using is "TMS320C6748ZWT E" and the part on LCDK is "TMS320C6748ZWT".  Not sure about the ROM version and how to get that information.

    At this point, I have not changed anything in terms of the rebuilding of the software that I have that is running on the LCDK.  Is there something else that I need to configure before trying to run it on the OEM hardware?

    Thanks,
    JumpStart

  • Hello Rahul,

    Here is additional information as to what I have tested.  I build my application in CCS v5 and ran AISgen to create a .bin file to be used for UART2 boot.  Using UART Boot Host I was able to boot the LCDK and verified that the application is running correctly.  I use the same .bin file and tried to boot from our OEM board.  That is when I see the timeout errors in my initial post.

    Thanks,
    JumpStart

  • JumpStart,

    The part used on the OEM hardware is a generic secure boot part. The wiki provided below and the device datasheet will provide the information of how to identify a generic secure device

    http://processors.wiki.ti.com/index.php/Basic_Secure_Boot_for_OMAP-L138_C6748#FAQ

    You need to create a boot image using the secure boot and flashing utilities to be able to boot the device. Please review the contents of that wiki and let us know if you have any follow up questions.

    Regards,

    Rahul

    PS: If you didn`t intend to have IP protection in your design, I would recommend replacing the secure boot part with a general purpose part as you need additional software infrastructure to boot and run on secure parts.

  • Hello Rahul,

    I was not able to get to the wiki that you provided.  I gets me to an error page.  Can you please confirm the link.

    Thanks,
    JumpStart

  • I have fixed the link. Can you confirm that the OEM software does have a secure C6748 part?

    Regards,

    Rahul

  • Hello Rahul,

    I have verified that our OEM platform does have the secured C6748 part.  We have the part exchanged for a general purpose part and now we are able to boot from Uart 2.  Thanks for the insight.

    JumpStart