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.

Unable to run C6748 LCDK Quick Start example

Other Parts Discussed in Thread: TMS320C6748

Dear all,

I recently purchased the TMS320C6748 DSP Development Kit (LCDK). This is my first DSP kit.

I'm using Windows XP.

As a first check, I tried to run the demonstration in the following manner, while following the instructions of the quick start guide:

1. I installed USB-UART drivers from fdtichip.com and also installed TeraTerm.

2. I set the DIP switch with the configuration as given in the guide: 1,5,6,7 and 8 OFF and the rest ON.

3. I connected the provided USB cable to J3 (UART-USB) on the board and the other end on my host machine.

4. I opened TeraTerm and used the following configuration:

5. I connect the power supply. I did not connect any external hardware since I do not have a camera.

6. At this stage, nothing shows up on the terminal screen.

Could someone tell me why this is happening? Do I absolutely need to connect a camera to be able to verify whether all is OK?

Also, initially, I had made a mistake by connecting the USB cable to J2 instead of J3. Could that have something to do with this?

  • I have the same behaviour from my LCDK. I would guess that there is no code in NAND or the code is waiting for the camera. The first 4 DIP switches correspond to inverted BOOT[4:1]. I get something out the serial port by using UART boot, SW1:01010000. You should get a "BOOTME" on UART2.

    I eventually gave up trying to get anything out of NAND code. I did get something out of UART2 by running my own program using a XDS100 JTAG, CCSv5.2, and the StarterWare UART echo example.

    Seems the LCDK is for those that can fend for themselves. Doesn't to be a lot of guidance out there.

  • Hello Norman,

    Thanks for your reply.

    I have also tried using the UART boot instead, like you've mentioned, but still got just a blank screen on TeraTerm.

    • What do you suggest I do to debug this?
    • Does the NAND/UART boot work only once? Could I have missed that because of muddling up the order of steps when I tried this initially?

    I haven't bought a JTAG emulator yet, which from what I've gathered, I need to start working with code composer examples.

    Thanks!




  • No idea about NAND boot details. The UART boot should result in "BOOTME" every few seconds. The USB/Serial on J3 is bus powered, so you should be able to plug that in before you power up the board. Verify COM3 is indeed the Virtual COM port associated with USB/J3 on the board. Power up the board. LED D3 is briefly red before going green. LEDs D4-D7 should light. Sorry, that's all I got.

  • Could you explain what you mean by "Verify COM3 is indeed the Virtual COM port associated with USB/J3 on the board."

    Also, when I power up, the board, LED 3 is indeed red before going green and LEDs D4-D7 are indeed lit up.

  • When you plug in the USB/Serial/J3, a virtual COM port should appear in your Device Manager. On my PC, it is under "Port2 (COM & LPT)" -> "USB Serial Port (COM??)". My PC is pretty old, so it has some real serial ports that use up COM1 and COM2. If your PC is legacy free, the only COM port will probably be the LCDK's. That is unless you have other USB to Serial Adapters plugged in.

  • Norman,

    You're right. A separate COM port does appear, as shown in the attached screenshot in the beginning of the thread.

    Also, I just tried running the UART boot on a Windows 7 machine and it worked and does indeed show BOOTME on TeraTerm on that machine.

    A couple of questions more:

    Given that UART boot works on the other machine, would it be safe to go to the next step in trying to get to use this board? Any suggestions as to what I should try doing next?Should I try running any example code using CCS but without the jtag emulator (for now)?

  • I have never used UART2 for BOOT / Flash programming. I would guess you could flash pre-built or custom app into NAND using UART boot. That would wipe out the factory load though, The StarterWare examples might not work standalone. I suspect that the CCS GEL startup scripts will need to be ported over to actual code or maybe AISGEN can do the same initializations.

    I don't see any option to use UART2 as a connection in CCSv5. Never tried it. It might be there somewhere, Hopefully somebody more knowledgable than me can help you with an alternate to JTAG emulator.

  • Do you think a JTAG emulator would make the process easier for me, going ahead? Thanks for your inputs.

    Since I'm a novice, I'm finding it hard to get my head around the hardware right now.

  • I believe that a JTAG emulator would make it it easier to develop your own code. But my opinion is based on my ignorance of other possibilities. Some TI guys might see another way for you to use your LCDK. Programming to NAND flash and booting is iteratively slow and hard to debug.  The XDS100 is relatively inexpensive - around $80. I'm using CCSv5.2 with the Free Limited license. Hopefully it will stay free.

  • Thanks again for your help, Norman.

    Is there anyone else who can point me to the next step?

  • Hi Akshay,

     

                Welcome to the C6748 developers community.C674x DSP is ideally suited for several real time applications and has a wide variety of peripheral integration.

    A good Starting point to get information on the device refer the following link

    http://processors.wiki.ti.com/index.php/L138/C6748_Development_Kit_(LCDK)

    As a startup for the software offering on the device is the BIOS C6SDK 2.0 User Guide

    http://processors.wiki.ti.com/index.php/BIOS_C6SDK_2.0_User_Guide

    which has the detailed procedure for demonstration of the face detect demo on C6748.

    If you are looking for flashing simple starterware example binaries in the board  you can build the .bin files using CCS and use the following link to flash the binary on the board.

    http://processors.wiki.ti.com/index.php/LCDK_User_Guide#NAND_Flashing

     

    For further references and available trainings on the C6748 you can refer the following link

    http://processors.wiki.ti.com/index.php/Category:C674x

     

    Hope this helps

     

    Regards,

    Iyshwarya

    If this answers your question, please click the Verify Answer button below. If not, please reply back with more information

  • Thank you Iyshwarya. I am currently buying the JTAG emulator and will try using it with StarterWare examples.

  • Hello Akshay Rao,
    I had the same experince as you did, except 4 years later now in May 2017.
    I got the C6748 LCDK board + XDS110 Debug Probe. I started by following the Getting Started guides the best I could (since some of the instructions are for older software versions and no longer apply).

    The LCDK was supposed to boot with the facedetect or ALL_ABOUT_YOU demo, but nothing. Also the included SD-card was supposed to contain install files for some of the tools I believe, but it was empty apart from one file.

    I have not had an easy start with the C6748/LCDK. I've been able to build and debug an example from the StarterWare SDK (bare metal). I have also been able to build the facedetect demo code from source in CCS 7.1. I have however not been able to successfully run the facedetect demo at all, neither from my own CCS build nor from prebuilt binaries.

    I feel like I have still pieces missing the puzzle of knowledge to actually build and run something on the LCDK.

    cheers