Hi,
I try to program a JTAG chain with a MAX7064S and a MAX7032S via JTAG with a microcontroller. The problem is, that I couldn't find the JTAG opcodes for ISP. Is there any documentation about it?
Thanks, Patrik
Hi,
I try to program a JTAG chain with a MAX7064S and a MAX7032S via JTAG with a microcontroller. The problem is, that I couldn't find the JTAG opcodes for ISP. Is there any documentation about it?
Thanks, Patrik
Hi Patrik, The way to program the MAX 7000S is by using Jam. Jam is a language for manipulating the JTAG chain - you can actually use it to do pretty much anything JTAG related, but it's optimized for programming CPLDs. The advantage is that the process of programming through JTAG is somewhat complicated, and this makes it quite easy.
The basic idea is like this:
There's a lot more detail behind this, so there's info on the Altera web site.
This page has all the Jam downloads:
This app note gives general info about ISP (In-System Programming) for CPLDs.
This app note gives more details about using Jam for ISP.
Happy Programming!
Greg Steinke snipped-for-privacy@altera.com Altera Corporation
Hi Greg,
the problem is, that I have to program the devices with a microcontroler, not an embedded Processor. Therefor I cannot use the JAM language, because the JAM Interpreter wouldn't compile on an microcontroler (maybe a ATMEL, it's not decisioned, yet).
Thanks, Patrik
Hi Patrik, Altera has developed a Jam solution (include code) for the 8051 microcontroller, which is one of the Atmel options. This is documented in App Note 111, Embedded Programming using the 8051 and Jam Byte-Code.
The source code is available on:
It took some optimization to get this to go into the 8051, but it does work and is easy to use after this optimization was complete.
Sincerely, Greg Steinke snipped-for-privacy@altera.com Altera Corporation
ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.