Discussion:
[UrJTAG-dev] Command sequence to do basic CPLD test
Johann Klammer
2015-05-28 00:03:14 UTC
Permalink
I have an ATMEL CPLD connected to an xtal...
It's programmed to count up..
(programming seems to have worked...)

I'd like to:
Zero the counter.
Let it run.
Read out the counter value after a defined time.

I'm having problems with the 'Let it run' part.
scan does not show changes...

I'm not sure if the outputs are enabled during test.
Do I have to enter a specific state?
Which one (RUN-TEST/IDLE or TEST-LOGIC-RESET)?
How?

Here's my setup:
<https://github.com/klammerj/iverilog/tree/master/tgt-atf/hardware>


------------------------------------------------------------------------------
Johann Klammer
2015-05-29 05:05:12 UTC
Permalink
Nevermind.. it seems like I had left the pin keepers enabled...
The xtal had likely stalled.
Disabled the pin keeper and I can see the bits change now.



------------------------------------------------------------------------------
Loading...