Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- Its not parallel port related. The code shows its clearly related to serial port communications. What the codes mean is related to the protocol the serial device uses. For example, elsewhere you will find code like:
data = 0x70; write(com_port, &data, 1); /* TDO echo off */
data = 0x72; write(com_port, &data, 1); /* auto LEDs off */
data = 0x74; write(com_port, &data, 1); /* ERROR LED off */
data = 0x76; write(com_port, &data, 1); /* DONE LED off */
data = 0x60; write(com_port, &data, 1); /* signals low */
Unless you own whatever serial device they are communicating with, just ignore that code. --- Quote End --- Thx for the clarification. The fact that they have put comments on all of them and not on the 0x7E made me doubt. --- Quote Start --- I haven't looked at the "byte code" player, just the jam player ... https://www.altera.com/download/legacy/jam/dnl-player.jsp Cheers, Dave --- Quote End --- mmm I have used byte code player since this what they were explaining in: http://www.altera.com/support/devices/tools/jam/tls-jam.html?gsa_pos=2&wt.oss_r=1&wt.oss=jam%20stapl Section Related Documents: Using Jam STAPL for ISP via an Embedded Processor (PDF) chapter of the MAX II Handbook So a quick difference between file of each is that the JAM Player have more files then byte code player: tree jbi_22/code/ jbi_22/code/ ├── JBICOMP.C ├── JBICOMP.H ├── JBIEXPRT.H ├── JBIJTAG.C ├── JBIJTAG.H ├── JBIMAIN.C ├── jbiport.h └── JBISTUB.C 0 directories, 8 files tree jp_25/source/ jp_25/source/ ├── JAMARRAY.C ├── JAMARRAY.H ├── jamcomp.c ├── jamcomp.h ├── JAMCRC.C ├── JAMDEFS.H ├── JAMEXEC.C ├── JAMEXEC.H ├── JAMEXP.C ├── JAMEXP.H ├── jamexprt.h ├── JAMHEAP.C ├── JAMHEAP.H ├── jamjtag.c
├── jamjtag.h ├── JAMNOTE.C ├── jamport.h ├── JAMSTACK.C ├── JAMSTACK.H ├── jamstub.c ├── JAMSYM.C ├── JAMSYM.H ├── JAMUTIL.C ├── JAMUTIL.H ├── JAMYTAB.H └── makefile.mak So what I'm seeing from the diff of these files are the same files with add-on. I will use the JAM PLAYER to benefit from the add-on. thx Kevyn-Alexandre