Forum Discussion
Altera_Forum
Honored Contributor
15 years agoProgramming Cyclone III (EP3C16Q240C8N) on ARM board
Hi My interest is to know if someone have try to install Quartus II programmer on a ARM linux and if it worked? My second interest is to see the source code that do that. I have not see th...
Altera_Forum
Honored Contributor
15 years agoI'm not sure what source you are referring to (i.e., where the jbistub.c source code comes from), but if you are looking at a port that uses the parallel port, you have to realize that the 'classic' parallel port is output only at the DATA registers, and then input is obtained from either the CONTROL or STATUS registers. Those registers need to have their output drivers disabled by basically writing 1's to the port, so that an external signal can drive the pin low. Hence a line like:
write(com_port, &ch_data, 1); to port 1 could simple be deasserting the contol lines so that the TDO signal can be read. Just a guess ... Cheers, Dave