Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
17 years ago

the ERROR 82 in the JTAG server

I am using trying to use the USB blaster to program my device

I have been able to program EPCS4N EEPROM once.

The Quartus program “QUIT” with an unexpected error and I have not been able to program the EEPROM again, on any of the boards I have

I now get the error “Attempted to access JTAG server -- internal error code 82 occurred”

I have gone through the help for. I have followed the instructions listed, with out any positive results.

I have uninstalled the Quartus II 8.0 web based program, Using Regedit I have removed all entries of Quartus and JTAG from the registry and reinstalled the Quartus II 8.0 web based program.

I still get the error. Please help

14 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thanks Wombat, I will try what you suggest.

    I have had these problems after having been successfully connected using the Atari Monitor.

    I can usually connect after swopping between internal and standalone progammer (and sometimes back again), but no obvious pattern.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Well firstly I have already uploaded the .sof file to the processor successfully.

    --- Quote Start ---

    I would test that your hardware connectivity is good by issuing the command `jtagconfig -n` - this should include a Nios II debug agent node.

    .

    --- Quote End ---

    What I see in the shell is :

    bash-3.1$ jtagconfig -n
    1) USB-Blaster 
      020B30DD   EP2C(15|20)
        Node 0C006E00  JTAG UART# 0
        Node 19104600  Nios II# 0

    I would then test that you can download to the Nios II processor with a command such as `nios2-download <myfile.elf>`.

    --- Quote End ---

    Well the shell uploads the file fine :

    bash-3.1$ nios2-download D:/home/jbww/Design/Altera/Eclipse_v12/NiosProjects/ap
    lc_binsr_tst/aplc_binsr_tst.elf
    Using cable "USB-Blaster ", device 1, instance 0x00
    Pausing target processor: OK
    Initializing CPU cache (if present)
    OK
    Downloaded 408KB in 7.0s (58.2KB/s)
    Verified OK
    Leaving target processor paused

    To actually run the code I go back to Eclipse, do "run as" "NiodII Hardware" :

    Now I get message "System Console Model in invalid" "Cannot Launch"

    Close Console - same message.

    Close programmer, Close Eclipse

    Load Eclipse, Load programmer

    Uoload .sof, run :

    "Downloading Elf failed"

    Close programmer

    load standalone programmer

    Uoload .sof, run :

    "Downloading Elf failed"

    Hmm, it is now a couple of days since I have been able to run a program ...

    Exit from programmer and eclipse.

    Run monitor program - successfully upload and run an example .s program.

    Close monitor program

    Run Standalone programmer, upload .sof

    Run Eclipse, run matrix solving program

    connects fine, uploads fine, solves matrix fine.

    OK,

    back to binsr program - clean, build (OK)

    upload :

    Executing: nios2-app-update-makefile --list-src-files --app-dir D:\home\jbww\Design\Altera\Eclipse_v12\NiosProjects\aplc_binsr_tst (D:\home\jbww\Design\Altera\Eclipse_v12\NiosProjects\aplc_binsr_tst)

    tst_binsr.c

    Downloading Elf Process Failed.

    So what is going on ? This has run fine previously.

    I will dig more.

    Hmm it seems to have been a corruption in the Makefile.

    I rebuilt the application, copied in the same .c file, and it now works fine.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hello Forum Members,

    Q16.0 worked for a while with my 2 DE boards.

    All of a sudden it is unable to find the jtag server.

    I removed my virus scanner and disabled my firewall.

    I see the USB blaster in the hardware config of my PC and its working correctly, but quartus does not finde jtag server any more.

    Does anyone have a solution for this problem?

    Best Regards,

    Johi.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    [solved]

    Hello Forum members,

    Some time ago i had a similar problem with 2 FTDI chip drivers, one on my arduino board and one on an earthpeople fpga board (that never got to work).

    As it happens this time i first connected the Arduino board, and later my DE2 board.

    Solution: Remove Arduino software (uninstall). Remove Quartus (uninstall). Remove the installed drivers also (select in windows system; hardware management; usb driver, click right and activate remove drivers as well).

    Then Reïnstall quartus (16.1 in my case) and the driver via the same window. This did the job for me.

    Best Regards,

    Johi.