Forum Discussion
Altera_Forum
Honored Contributor
15 years agohostpc like send data to nios II via jtag (nios2-terminal.exe, jtag_atlantis.dll)
hi! my system: cyclone 3 starter kit quartus 2 - 9.1 ( licence + nios licence) nios 2 system working goal: i want to setup a matlab gui to switch some pio outputs of the nios. with it...
Altera_Forum
Honored Contributor
15 years agoHi,
I'll reply to both the last postings together. The settings in librarypath.txt are needed because SystemConsole uses its own DLLs to communicate with the hardware, for example the JTAG interface uses JtagJNI.dll and jtag_client.dll to talk to the hardware. The librarypath.txt changes tell Matlab to tell Java to look in the locations specified for the jars which have been loaded. It looks like you've fixed that though (you will get "unable to find dependent library" errors if you haven't). The error you're seeing again suggests that com.altera.systemconsole.jar didn't load up right. Let's try the unlikely reasons first. I'm using Matlab 2009a and you are using 2010a. Is there an easy way for you to test it in the other version? You should certainly be using 32 bit Matlab. Jars don't care but the SystemConsole native libraries don't support 64 bit. I don't think this is your error because I would expect a different error message if it was. Finally, can you post the output from the `javaclasspath` command and then try and load a couple of classes by hand. This code is accessing the class objects to check whether the classes loaded but without running any code within the classes.C1 = com.altera.systemconsole.matlabapi.SystemConsoleLink.class
C1 = com.altera.systemconsole.core.SystemConsoleProvider.classThanks.