Altera_Forum
Honored Contributor
19 years agoProgramming non-EPCS serial flashes?
I've got a non-EPCS serial flash hooked up to my Cyclone, and I'm wondering if Altera provides some way to use any of their flash programmers with generic flash chips. I heard noises a year ago that they might provide some way to make your own target board project for these cases, but I cant seem to find anything.
A little background: my application is severely space constrained, and requires the ability to load the Cyclone from one of at least three available hardware images. We're using an Atmel ATmega48-20 microcontroller (5mm x 5mm DFN package) to go through the configuration process (DCLK = 1 MHz, speed isn't an issue here) along with an external Atmel DataFlash (3 or 4 mm DFN, I think). The whole thing fits in a lot less space than the smallest MAX II + flash solution, or multiple EPCS chips with some magic multiplexer chip. The problem being that I haven't been able to find information the EPCS peripheral (so I can build a peripheral that looks like an EPCS and use the Nios Flash Programmer), the JTAG serial port protocol used by the Nios Flash Programmer (so I can write my own target board firmware), or how to write a Windows program that talks to a device in the JTAG serial port (so I can write my own flash programmer). It's looking like they've done a pretty thorough job of locking me out of the programming process. Any ideas?