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.

SCI-A boot in ezDsp28335

Hello,

I'm working on SCI boot for ezDsp 28335 using CCS4.

I connected the ezDsp to a PC COM using a crossed RS232 cable.

Then I turned on the board and in the PC I'm waiting for a character.

But I'm not getting any charactor on the PC side.

This is according to page 37 in spru963a.pdf

What am I doing wrong ? What is the first step I should do ?

Should I wait in the PC for incoming character or send 0x10AA from PC to the board ?

Thanks.

  • Zvi Vered said:

    I'm working on SCI boot for ezDsp 28335 using CCS4.

    I connected the ezDsp to a PC COM using a crossed RS232 cable.

    Then I turned on the board and in the PC I'm waiting for a character.

    But I'm not getting any charactor on the PC side.

     

    Hi,

    Code Composer Studio can program a device using the JTAG port as a communications channel.   It can not, however, program through the RS232 port (or any other comm's channel).  To do this you will need another programmer.

    Some options are listed on this page:

    http://focus.ti.com/mcu/docs/mcuproductcontentnp.tsp?sectionId=95&familyId=916&tabId=2658

     -Lori

  • Hi,

    I'm not trying to program the ezDsp using CCS4.

    I'm using CCS4 only for compilation and debugging (with JTAG).

    I'm trying to send an application from PC (COM1) to  SCI-A of ezDsp. The boot mode of ezDsp is SCI-A.

    Upon completion, this application should run.

    Can you help ?

    Thanks.  

  • In your first post you mentioned that you used a crossed cable between the eZdsp and the COM-Port of your PC. This is the wrong cable. Use a 1:1 serial cable, because the COM-Port of a PC does the cross itself.

     

  • Hi,

    In the PC:

    Pin2  = TX , Pin3 = RX

    In the ezDsp:

    Pin2 = RX, Pin3 = TX

    So you are right, the cable should not be crossed.

    But what is the first step I should do ?

    Should I wait for a character in the PC after turning on the ezDsp ?

    Or should I send something from the PC to start the process ?

    Thanks.

  • If you use the SCI-A Boot - loader, the sequence is explained in Paragraph 2.17 of spru963.

    The sequence starts with a autobaud detection ( see Paragraph 1.2.10.3 of sprufz5), the DSP waits for an 'a' or 'A' - so your PC must send this character first. All other steps are explained in the two docs.

     

     

  • Hi,

    This is the right sequence:

    1. Host: Send 'A' or 'a' at (for example): 9600bps, Parity:none, 1 stop bit, 8 data bits

    2. Host: wait for 'A' or 'a' to mark the end of the baud lock sequence

    3. Host: Open the file created by: hex2000.exe  application.out -boot -sci8 -a

    4. Read 2 bytes from file (one word) and send to SCI-A.

    5. Receive 2 bytes from SCI-A.

    6. Repeat steps 4-5 till end of file reached.

    7. Upon completion, application.out should run.