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.

AM5716: Up to date BSDL file

Part Number: AM5716
Other Parts Discussed in Thread: TMS320F28377D, AM5728

Hi,

Can you please provide an up to date BSDL file for the AM5716. Version needs to be 0x1 that reflects silicon type "AM571x SR2.0" (ID code 0x1B9BC02F).
If there is no newer BSDL file, is it save to edit the current file and change the version from 0x0 to 0x1 (please see part of the file below)?

Thanks and best regards,

Patrick

Part of the current downloadable BSDL file:

-----------------
-- Device ID Code-- 0x0B9BC02F
-----------------

 attribute IDCODE_REGISTER of AM571_top : entity is
 -- version, part number, manufacturer code of ti, lsb
 "0000" &
 "1011100110111100" &
 "00000010111" &
 "1";

  • Hi,

    Please note that due to US holiday the responses may be delayed until the week of November 26th.
  • Hi,

    Any news on this topic?

    I have tried to change the ID in the BSDL file (pretend to be a file for the newer silicon revision) but it did not work.

    Best regards,

    Patrick

  • Hello Patrick,

    The new IDCODE_REGISTER value for AM571x SR2.0 should be 0x1B9BC02F

    Before

    attribute IDCODE_REGISTER of AM571_top : entity is
    -- version, part number, manufacturer code of ti, lsb
    "0000" &
    "1011100110111100" &
    "00000010111" &
    "1";

    After

    attribute IDCODE_REGISTER of AM571_top : entity is
    -- version, part number, manufacturer code of ti, lsb
    "0001" &
    "1011100110111100" &
    "00000010111" &
    "1";

    All else is the same. What is "not working" in your situation -- what kind of issue are you seeing? 

  • Ahmad,

    Thanks for the information. I have exactly did the same change in the BSDL file. We work with XJTAG boaudary scan tools. The chain debugger tool tells me that it is unable to count the number of devices but is able to read the ID code (0x1B9BC02F) out of the device. Also the debugging tool was able to calculate the exact IR length (6). Attached is the output of the debugging tool. Because of this behaviour I think the JTAG chain connections are ok. I have to mention that I have not connected the "RTCK" signal yet because clock frequency is low (1MHz).

    Best regards,

    Patrick

    Starting Check Chain...
    
    
    
    JTAG data:
    11110100 00000011 11011001 11011000 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    Warning: Failed to count the number of devices - check that the XJLink is correctly connected.
    
    1 devices found
    ID codes read:
      0x1B9BC02F
    Chain intact
    
    
    IR Length:
    v-- first bit out
    10000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    00000000 00000000 00000000 00000000 00000011 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    11111111 11111111 11111111 11111111 11111111 11111111 11111111 11111111
    IR: 100000
    Padding (P):
    Total chain: 1088
    0's and 1's (C): 1088
    Transition (X): 538
    Padding (P): 0
    ------------------------------------------------------
    | IR | P |000 . . . . . . 000111 . . . . 111|
    ------------------------------------------------------
    <------ C/2 ------><----- X ----->
    IR Length = T - X - P - (C/2)
    IR length: 6
    
    
    
    The JTAG chain appears to be broken.
    
    
    
    Check Chain failed
    
    

  • Ahmad,

    Just some additional information to my last post:

    It looks as if after a BSDL reset sequence (TMS high for five TCK cycles) the device does not shift out the instruction register when clocking in an instruction. On the other hand i was able to manuelly change the BSDL state machine into "Data register shift state" and clock out the correct ID code. So the BSDL state machine seems to work ok. The question is why does the device not clock out an instruction after 7 TCK cycles when in "Instruction register shift state"? Signal quality looks good. When doing the same on a TMS320F28377D device the instruction gets clocked out after 7 TCK cycles as expected.

    We were able to connect to the device with a Blackhawk JTAG and Code Composer Studio. So I'm quite shure that TDI is connected to the device as it should be.

    Best regards,

    Patrick
  • Ahmad,

    Again some further information:

    I did the same tests on a AM571x IDK board that works fine and is in its original state (like out of the box). The processor shows the same behaviour as on our custom board. For me this seems not a board related issue. It seems that the processor is in a state that does not accept any BSDL instructions (?).

    Best regards,

    Patrick
  • Ahmad,

    Any ideas how to gain access to the BSDL functionality? Can you please check BSDL access on a AM571x IDK board?
    The issue is getting more and more urgent.

    Best regards,

    Patrick

  • We're looking into this. Please have patience.

    Thanks

  • Hi Patrick,

    I'm still trying to get in contact with the subject matter expert on this device's TAP interface. In the meantime I had some communication with XJTAG, they suggested you contact them for support on the tool as well. Has that been done yet?

    Regards,
    Ahmad
  • Ahmad,

    Yes, I'm in constant contact with XJTAG. They supplied a solution with a special reset sequence. This workaround allows me to use the Boundary Scan with the AM5716 at the moment.
    The Problem is that to be able to apply this special reset sequence one needs to have a valid licence for an other software package from XJTAG. We only have a demo licence until 11th of December 2018.
    So we still need to know what the exact (smallest) Reset sequence must be to be able to use Boundary Scan with AM5716. If it needs only a few steps we might be able to do it with the software package we have a valid licence.

    What the support engineer from XTAG has found out so far is that the first switch to the "Sample" state fails. All the subsequent switch to "Sample" state succed. Maybe this information is valuable for you.

    Best regards,
    Patrick

  • Hi Patruck,

    Can I get more details on this reset sequence? Is this related to Errata i928?

  • Hi Ahmad,

    No, it is not related to the Errata i928. But what I can say is that I had no problems to control those signals even without asserting the RESETn (pull to low) during and between power-up.
    We have a Pullup resistor at the RESETn pin and this pin can only be pulled low manually.

    About the reset sequence I can not tell you a lot of details as this is programmed by XJTAG. What I can tell is that it is made out of four steps (please see picture):

    1. Pull TRSTn low with a rising and a falling edge of TCK, pull TRSTn high with a rising and a falling edge of TCK
    2. Two times "TMS Reset" sequence (pull TMS high while having five TCK clock cycle) 
    3. "Validate" sequence (not shure what exactly happens there)
    4. "LoadSample" sequence (send "SAMPLE" command as far as I know, please see file attached)

    After this sequence it is possible to always switch to "EXTEST" without any problems.

    I stille hope that TI can tell me the exact sequence we have to apply to get the AM5716 into a state that it behaves the same way as for example the TMS320F28377D.

    Best regards,
    Patrick

    //----------------------------------------------------------------------
    LoadSample()()
    //----------------------------------------------------------------------
      INT chain, device, chainDevices;
      STRING deviceStr;
      JTAG
        INJTAGSTATE "RESET";
        FOR chain := 1 FOR 4
          chainDevices := GET_JTAG_DEVICE_COUNT(chain);
          FOR device := 1 FOR chainDevices
            deviceStr := GET_JTAG_DEVICE(chain,device);
            IR deviceStr  := "SAMPLE";
            DR deviceStr WIDTH WIDTHOF(SAFE(deviceStr)) := SAFE(deviceStr);
          END;
        END;
        IRSCAN "IDLE";
        DRSCAN "IDLE";
        //INJTAGSTATE "RESET";
        //FOR chain := 1 FOR 4
          //chainDevices := GET_JTAG_DEVICE_COUNT(chain);
          //FOR device := 1 FOR chainDevices
            //deviceStr := GET_JTAG_DEVICE(chain,device);
            //IR deviceStr  := "SAMPLE";
            //DR deviceStr WIDTH WIDTHOF(SAFE(deviceStr)) := SAFE(deviceStr);
          //END;
        //END;
        IRSCAN "IDLE";
        DRSCAN "IDLE";
    
    
        //FOR chain := 1 FOR 4
          //chainDevices := GET_JTAG_DEVICE_COUNT(chain);
          //FOR device := 1 FOR chainDevices
            //deviceStr := GET_JTAG_DEVICE(chain,device);
            //IR deviceStr  := "EXTEST";
            ////PRINT("Putting ",deviceStr," into EXTEST.\n");
          //END;
        //END;
        //IRSCAN "IDLE";
      END;
    END;

  • Hi Patrick,

    Can you check the voltage level of the EMU0 and EMU1 pins at the time reset is released? We think the TAP controller may not be starting in the correct state. EMU0 should be GND and EMU1 should be 1.8V or 3.3V (depending on VDDSHV3).

    Regards,
    Ahmad
  • Hi Ahmad,

    Thanks for this information. To date I took the information about the EMU0 and EMU1 signal from the following E2E thread:

    e2e.ti.com/.../692833

    Although this thread is related to the AM5728 I thought it is the same for AM5716.

    EMU0 and EMU1 in our design is always 3.3V. Also when Reset is released

    As I do not have a device ready for test at the moment I will do this test early Januar 2019.

    Happy New Year!

    Patrick

  • Hi Patrick,
    Happy new year to you too. Let me add to this point. It seems that normal operation would have EMU0 and EMU1 set to 1. But my contact is suggesting to set EMU0 to GND for this test. We want to make sure these voltage levels are stable before PORz is released to make sure that the voltage level is captured and latched correctly.

    Regards,
    Ahmad