Forum Discussion

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

hostpc 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 i want set the options of a dsp-builder-block. i also want to check some pio-inputs in my matlab gui and do something if bit 0 switches from 1 to 0 or something like that.

i think i can do this by sending chars by alt_getchar() (small c lib) with the nios2-terminal.

the problem is that when i start a *.m file and the nios2-terminal is waiting of my input, i have no ability to put in the char automatically via a programmed *.m file.

i am also open for other hardware suggestions.

Problem:

only a usb-blaster-connection to the board - want no other connection.

i am connected via the integrated usb blaster to the starter board.

i need a possibility to send just a few bit to the nios via the usb (jtag uart).

in my opinion - the nios 2 ide is also transfering data to the sopc -system by using nios2-terminal.exe.

i read the example" high speed image download demo " but could not understand how its done. i am just a beginner with nios and also not so well in programming/compiling to understand how to use the cygwin - environment. - ok i looked in the inet - is a linuxlike environment for windows.

i also thought about using the fdti-usb driver (set up a virtual serial connection - vcp or d2xx).

i have no idea if it is possible so easy (without programming a new driver or something like this)

what exactly can i do with nios2-terminal and how?

(the ' --help' makes no reason for me)

does anyone of you understand what i am talking about?

need real help!!!

greets

26 Replies