Author Topic: Programming (non-JTAG) MAX7000 devices  (Read 8944 times)

0 Members and 1 Guest are viewing this topic.

Offline abyrvalg

  • Frequent Contributor
  • **
  • Posts: 629
  • Country: ru
Re: Programming (non-JTAG) MAX7000 devices
« Reply #75 on: October 22, 2021, 01:41:25 pm »
migry, I've tried to disassemble the AMAX70.EXE a bit and have identified the erase function. I can see the 10 42 08 21 84 10 42 08 21 84 pattern matching your log, the ReadID function sends it and receives 5x16 bits back from the chip. Those bits should contain an "ALTERA92" (for EPM7032) or "ALTERA93" (for EPM7032V) in some form. I could dig further if you share LPT pins to programmer regs mapping (don't want to dig into programmer schematics and PAL contents since you did it already).
I can see some sequences looking like prommer regs accesses, i.e. write reg addresses to LPT DATA port, pulse INIT pin, write reg value to DATA port, pulse AUTOLF, but it would be much faster to reuse your info (i.e. reg addresses, who are all those E0, E1,E3 etc I'm looking at).
Or you just follow https://stackoverflow.com/questions/6947413/how-to-open-read-and-write-from-serial-port-in-c to access serial port from DOSBox and implement that bridging. Beware, there are two IC-specific delays (called Tbe and Tpg in AMAX70.EXE, looks like it gets them straight from the ID data), both affect some pulse lengths sent via reg E2. Not sure how critical they are.
 

Offline fisafisa

  • Regular Contributor
  • *
  • Posts: 82
  • Country: es
Re: Programming (non-JTAG) MAX7000 devices
« Reply #76 on: December 06, 2021, 09:55:11 am »
I am sitting on quite some of these (for now unusable) devices...

Just an idea:
Run dosbox-x in a PI and use the PI IO/pins to interface to the device to be programmed.
Some voltage level shifting and possibly some IO expansion might be necessary but modifying dosbox so that every attempt to write/read from the HILO board is trapped has already been done successfully right ?

Would it be possible to  share the modified dosbox-x code...

Ciao

 

Offline migry

  • Contributor
  • Posts: 42
  • Country: gb
Re: Programming (non-JTAG) MAX7000 devices
« Reply #77 on: December 14, 2021, 07:58:15 pm »
It's been quite some time since I last looked at this project, but it has not been forgotten.

I have about 50 new EPM7032s, but no way to program them.

Just recently I completed the following break out PCB. This will allow me to tidy up my breadboarded circuit.

[attach=1]

I am happy to share the DOSBOX code, although I need to check that it is still working now I have transferred all files to a new PC. If this board allows messaging, please contact me via that method.
 

Offline Beta_vulgaris

  • Contributor
  • Posts: 6
  • Country: cn
Re: Programming (non-JTAG) MAX7000 devices
« Reply #78 on: January 20, 2022, 07:33:03 am »
Altera Classic devices, PROGRAMMING Pin-outs for reference.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf