- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone,
I have a custom board with an EP3C10 wich I access with the JTAG port. I have an USB Blaster to download both the vhdl and the code for the nios2. I'm working with windows 7 32bits with Quartus2 10.1 sp1.05. Yesterday, everything worked fine, but today morning, I cannot download the nios2 software. I manage to download the vhdl and the output of the FPGA run fine so I understand that my FPGA and the JTAG port are both OK. and so do the USB Blaster. In Eclipse when I select "run configuration", on the "target connection" tap, I have this error message : system console: could not initialize class com.altera.systemconsole.internal.plugin.jtag.aji.ajicable and when I click on "refresh connection", nothing happen! Well, the button is locked for 2 second and then it come back to its previous state... Has anyone any clue to solve that ? Thank youLink Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Can I ask a couple of questions about your setup?
What's on your path when you run Eclipse? Do you have multiple copies of Quartus/ACDS installed? Thanks.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, I forgot to reply to this thread. The system is working again.
But, because there is a but, I can't explain why it wasn't working and why it works now. I have tried several times several way to have my download to success: - I have closed eclipse and started it again => no use. - switched off the computer and reboot => same here. - re-install the USB driver => again it wasn't that. - others stuff I can't remember. And every time, the same error message appeared. But once, and I don't know why, it worked, and since, I don't have any problem anymore. I should have done something to change the behavior but I don't know what it is. To answer your question : yes, I have quartus 9.1sp2 and quartus 10.1sp1.05 installed.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm glad you've got it working again.
The error message occurs because that Java code is unable to load it's native library, JtagJNI.dll. What I suspect happened here is that your path had somehow made windows load the wrong versions of the native library - one which is not compatible with the Java - or that that DLL found the wrong version of a dll it depends on. (The windows DLL loading rules are byzantine, and Java doesn't really provide any good ways to override them) But I'd like proof before jumping to conclusions.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi!
i have had a long discussion with wombat for building a connection from matlab to my nios2. after many hours of reading and searching, i suppose that the best possibility should be, to use systemconsole via matlab (=> Matlabapi) - wombat told me. after a long time i finally can create a java object in matlab for establishing the connection. the problem: when i use "L1 = com.altera.systemconsole.matlabapi.SystemConsoleLink" the object is created successfully but i get the message: ---------- 05.08.2011 09:42:55 com.altera.systemconsole.internal.core.SystemConsole$PluginDiscovery run INFO: Finished initialization 05.08.2011 09:42:55 com.altera.systemconsole.internal.core.SystemConsole logSevere SCHWERWIEGEND: Could not initialize class com.altera.systemconsole.internal.plugin.jtag.aji.AJICable java.lang.RuntimeException: java.lang.NoClassDefFoundError: Could not initialize class com.altera.systemconsole.internal.plugin.jtag.aji.AJICable at com.altera.systemconsole.internal.core.SystemExecutor$3.run(SystemExecutor.java:438) at com.altera.systemconsole.internal.core.SystemExecutor$TaskComparator$ComparatorPolicy.run(SystemExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.altera.systemconsole.internal.plugin.jtag.aji.AJICable at com.altera.systemconsole.internal.plugin.jtag.aji.AJIConnectionProvider.queryCables(AJIConnectionProvider.java:48) at com.altera.systemconsole.internal.plugin.jtag.JtagConnectionProvider.doRescan(JtagConnectionProvider.java:174) ... ----------------------------- so i get the same error when i try to build a connection via matlabapi and the problem is - ??? when i start system-console.exe (from the E:\altera\11.0\quartus\sopc_builder\bin) system-console can establish the connection and i can send tcl-commands. ok today i was able to produce the error with an other file. i have a copy from system-console.exe from an old installtion (i set up a new system win7-64 ->winXP-32) and its possible to start it but i got the same error like in matlab. problem with jtagdni.dll. mhh - i have no idea how to fix it ??? do you have an idea now how you fixed your problem?
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page