JLINKARM_JTAG_StoreInst - Trying to use Instruction LEngth =8 without success

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • JLINKARM_JTAG_StoreInst - Trying to use Instruction LEngth =8 without success

    Hi,

    I was wondering if the DLL blocks commands larger than 4 bits? I'm trying to use the SDK API with our silicon (which requires IR len = 8) without success.
    It seems that the DLL blocks the operation. I am viewing the signal in logic analyzer I don't see the JTAG transaction.

    Regards,
    Dotan

    Bellow is a snapshot of what I'm trying to do


    static void _SYSCTLConfig(U8 ctlBitmap) {
    U8 TMS = 0x1f;
    U8 SYSCTLInstruction = ((0xf << 4) | 4);
    U8 InstLen = 8;
    U8 aTDI[1] = { 0 };
    int BitPos;
    U32 val;
    //
    // Reset Tap controller and go idle
    //
    JLINKARM_JTAG_StoreRaw(&aTDI[0], &TMS, 6);

    JLINKARM_JTAG_StoreInst(&SYSCTLInstruction, InstLen);

    aTDI[0] = ctlBitmap;

    JLINKARM_JTAG_StoreData(&aTDI[0], 8);

    //
    // Transfer output buffers to JTAG device and fill input buffer
    //
    JLINKARM_JTAG_SyncBits();
    }
  • Hello Dotan,

    Your inquiry has been received per mail as well.
    This thread will be closed now and handled via mail.
    Please refrain from opening multiple support channels as this will not speed up the support process but actually slow it down as information has to be gathered through multiple channels instead of one.

    Best regards,
    Nino
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.