Author Topic: Re-enabling JTAG in Altera Max3000A PLDs  (Read 1015 times)

0 Members and 1 Guest are viewing this topic.

Offline VSV_electronTopic starter

  • Regular Contributor
  • *
  • Posts: 87
  • Country: fi
Re-enabling JTAG in Altera Max3000A PLDs
« on: March 27, 2023, 12:00:01 am »
Hello!

I got half a dozen of Altera EPM3032ALC44-10N PLDs from the Max3000A series off AliExpress. These are pulled out of the boards and the JTAG in them was disabled so they cannot be programmed with the Altera USB blaster in this state.
While browsing buyer reviews I found a note from a guy who literally said this: "The PLD came in with JTAG disabled. However using a simple rig feeding 10.5V to OE it was unlocked with the Altera USB blaster".
The picture that is attached was shown in that review and it's apparently the unlocking rig itself.

Could you please help me understand what is the procedure of raising the input to 10.5V on OE and what then needs to be done with the Altera USB blaster to reanable the JTAG.
« Last Edit: March 27, 2023, 12:03:34 am by VSV_electron »
 

Offline AK6DN

  • Regular Contributor
  • *
  • Posts: 55
  • Country: us
Re: Re-enabling JTAG in Altera Max3000A PLDs
« Reply #1 on: March 27, 2023, 01:04:08 am »
Well, you might try what was done here for a functionally similar Atmel/Microchip ATF15xx series part:

http://forum.6502.org/viewtopic.php?f=10&t=4349&start=15#p77393

Basically isolate/disconnect the OE1 pin from any other board logic (lift the pin if you have to) and drive it with +12V thru a 1K resistor.
Then just program the device normally thru the JTAG pins via your USB Blaster.
Verify might fail, but in the process of programming it resets the internal non-volatile JTAG_DISABLED flag to JTAG ENABLED mode.
Then set OE1 to back to normal value in the 0V to VCC range as your circuit requires.
Now try JTAG programming access again. It should now work normally, in theory.

Note YMMV. I HAVE NOT tried this, but am just passing it along. I personally NEVER disable the JTAG pins on a device.
« Last Edit: March 27, 2023, 01:41:29 am by AK6DN »
 
The following users thanked this post: VSV_electron

Offline c64

  • Frequent Contributor
  • **
  • Posts: 297
  • Country: au
Re: Re-enabling JTAG in Altera Max3000A PLDs
« Reply #2 on: March 27, 2023, 04:27:04 am »
I can confirm it works on microchip ATF1508 parts. Apply VCC, apply 12v with resistor, execute erase via JTAG, remove 12v.

I tried, however, with Altera 7128S with no success. I only had couple of them, so it could be just the faulty chips.

Don't know about 3000 series.

What did the listing on Aliexpress say? Brand new?
 
The following users thanked this post: Beta_vulgaris, VSV_electron

Offline VSV_electronTopic starter

  • Regular Contributor
  • *
  • Posts: 87
  • Country: fi
Re: Re-enabling JTAG in Altera Max3000A PLDs
« Reply #3 on: March 27, 2023, 04:43:17 am »
I've noticed that many Ali IC sellers including this one stopped calling what they sell 'Brand New' unless the chips are replicas but that's of course a different story altogether.
 

Offline VSV_electronTopic starter

  • Regular Contributor
  • *
  • Posts: 87
  • Country: fi
Re: Re-enabling JTAG in Altera Max3000A PLDs
« Reply #4 on: March 27, 2023, 04:46:58 am »
By the way is this driving of OE with 12V a documented feature or just a brute force hack that works for whatever reason?
 

Online up8051

  • Frequent Contributor
  • **
  • Posts: 288
  • Country: pl
 
The following users thanked this post: c64, Beta_vulgaris, VSV_electron, AK6DN

Offline VSV_electronTopic starter

  • Regular Contributor
  • *
  • Posts: 87
  • Country: fi
Re: Re-enabling JTAG in Altera Max3000A PLDs
« Reply #6 on: March 27, 2023, 09:09:04 pm »
https://web.archive.org/web/20080923170048/http://www.altera.com/support/kdb/solutions/rd02212005_950.html

Wow! Thank you very much for the link! It's great there is this forum with so knowledgeable people like you. No guesswork...
It's 11V on OE1 and it's from the official Altera knowledge base. Sadly this knowledge gradually becomes lost in the mists of time. Well... the 3000A series is now obsolete anyway.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf