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.

SCANSTA112: Full transparent mode not working as expected

Part Number: SCANSTA112

I have a SCANSTA112 device between a FlashPro Lite programmer and a ProASIC Plus device I am trying to program. My programming plan is to first place the SCANSTA112 into full transparent mode. Then I should be able to connect up my FlashPro Lite programmer and everything should work as if the SCANSTA112 device was not in the scan chain. However, I can't seem to get the SCANSTA112 to behave as a true pass-thru device with the FlashPro Lite programmer.  My TCK signal gets through as expected, however my TMS, TDI, and TDO signals do not propagate through the SCANSTA112 device as expected. Sometimes the data on TMS, TDI, and TDO lines up between the master input port and the local scan port, but other times I can see clear discrepancies in the data from input to output.

  • Hi,

    How does the SCANSTA112 get into the full transparent mode? When the SCANSTA112 is in ScanBridge primary operating mode and one of the transparent mode instructions (TRANSPARENTENABLE or TRANSPARENTn) is shifted into the instruction register, the SCANSTA112 will then enter full transparent scan chain mode.

    Please see this designer reference for more detail, https://www.ti.com/lit/an/snla055h/snla055h.pdf.

    Thanks

    David

  • David,

    I am setting the SCANSTA112 into full transparent mode by connecting a boundary scan controller to the master JTAG input port of the SCANSTA112 and running a .svf file which configures the SCANSTA112.

    Below are the contents of my .svf file:

    --------------------------------------------------------------------------------------------

    trst on;
    trst off;
    state reset;

    state idle;

    ! Initialization and IDCODE test

    sir 8 tdi(01) tdo(00) mask(00); ! set bridge address
    sir 8 tdi(8e) tdo(25) mask(00); ! select the Mode Select 0 Register
    sdr 8 tdi(40) tdo(01) mask(00); ! activate lsp 6
    sir 8 tdi(82) tdo(25) mask(00); ! select the Mode Select 1 Register
    sdr 8 tdi(00) tdo(01) mask(00); ! deactivate others

    sir 8 tdi(87) tdo(25) mask(00); ! select the Control Select Register
    sdr 8 tdi(07) tdo(01) mask(00); ! Set Ignore Reset Bit
    sir 8 tdi(e7) tdo(25) mask(00); ! unpark
    sir 8 tdi(a8) tdo(55) mask(00); ! switch to transparent mode

    --------------------------------------------------------------------------------------------

    After running the .svf file, the SCANSTA112 appears to be in full transparent mode because I can get my ProASIC Plus infrastructure test to pass, which I run via the boundary scan controller.  However, once I switch over to the FlashPro Lite to program the ProASIC Plus device, the SCANSTA112 no longer seems to behave as a pure pass-thru device.  Are there any known issues with using a FlashPro Lite with a SCANSTA112 device in full transparent mode?

  • Hi,

    Is it possible that the SCANSTA112 gets reset when you switch from the boundary scan controller to the FlashPro Lite? The SCANSTA112 will exit the full transparent mode if it is getting reset. 

    Is it possible for the FlashPro Lite to issue the transparent mode instruction?

    Thanks

    David

  • David,

    I have monitored the RESET signal connected to the SCANSTA112 in my system and have verified that it is not getting toggled when I switch between the boundary scan controller and the FlashPro Lite.  I have also verified that my 3.3V rail powering the SCANSTA112 is stable when I switch between the boundary scan controller and the FlashPro Lite.  

    I am unaware of a way to issue the transparent mode instruction via the FlashPro Lite.  The FlashPro Lite does not support .svf files.  The FlashPro Lite only supports STAPL (*.stp) files.  If there is a way to issue the transparent mode instruction with a STAPL file, then this might be possible.  Any guidance on if this is possible and how code it would be very helpful.

  • Hi,

    Have you reached out to Microchip and asked them how to send out full transparent mode (op-code = 0xA0 to 0xA6) with their FlashPro Lite? I am looking through this user guide, file:///C:/Users/a0216005/Downloads/flashpro_ug_v11_6.pdf and I am not seeing how it was done.

    Thanks

    David

  • I will reach out to Microchip for support on configuring the SCANSTA112 by adding a preamble to my STAPL programming file.

    In parallel, I would like to try and get my current approach working, where I configure the SCANSTA112 with my boundary scan controller and then switch over to the FlashPro Lite for programming.  I don't see any reason why this should not work.  Do you see anything out of place in my .svf file where I am configuring the SCANSTA112 for full transparent mode?  Is there anything else I should check to help isolate where the problem is coming from with this setup?

  • Hi,

    The instruction with the Op Code looks correct. And the fact that you are able to get the JTAG controller to work with SCANSTA112 would also indicate the SCTASTA112 is in the transparent mode. 

    Thanks

    David