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?