Search

Technical Discussion Group Forum

This forum is provided for user discussion. While Beacon EmbeddedWorks support staff and engineers participate, Beacon EmbeddedWorks does not guarantee the accuracy of all information within in the Technical Discussion Group (TDG).

The "Articles" forums provide brief Articles written by Beacon EmbeddedWorks engineers that address the most frequently asked technical questions.

To receive email notifications when updates are posted for a Beacon EmbeddedWorks product download, please subscribe to the TDG Forum of interest.

TDG Forum

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 07 Dec 2004 03:46 PM by  tom@cyberiansoftware.com
Is FL_VPEN latched?
 5 Replies
Sort:
You are not authorized to post a reply.
Author Messages
tom@cyberiansoftware.com
New Member
New Member
Posts:


--
30 Nov 2004 02:52 AM
    Under what conditions would the CPLD lose the value in 0x71000000? It seems that when I set the FPEN bit, then do some accesses to the Flash memory to query the CFI, the FPEN enble bit resets.

    Is there some reset logic to that bit, other than specifically writing a value into the register?
    tom@cyberiansoftware.com
    New Member
    New Member
    Posts:


    --
    30 Nov 2004 03:34 PM
    There appears to be something broken in the CPLD code, not sure. With nCS0 == HI and MODE3 == HI, FLASH_nCS incorrectly asserts a LO.

    Somehow, the CPLD asserts the enable to the Flash chipselect. This is really odd.
    elf-coastal@buici.com
    New Member
    New Member
    Posts:


    --
    07 Dec 2004 10:28 AM
    I've been using the 7a400 for some time and I've never had a problem with the VPEN bit being cleared. Perhaps you would share some details of you application that will shed light on the problem.
    mikea@logicpd.com
    New Member
    New Member
    Posts:


    --
    07 Dec 2004 11:15 AM
    Tom W.,
    Could it be that you are not doing 16 bit accesses to this area when writing to the Flash Register on the CPLD? The CPLD is in a 16 bit area.

    -Mike A.
    mikee@logicpd.com
    New Member
    New Member
    Posts:


    --
    07 Dec 2004 01:42 PM
    Good call Mike A, that's my guess.

    Tom, can you confirm or deny this?

    Thanks,
    --mikee
    tom@cyberiansoftware.com
    New Member
    New Member
    Posts:


    --
    07 Dec 2004 03:46 PM
    No, I am definately doing an 8 bit access, not a 16 / 32 bit. I'm accessing the board via JTAG at this point when the problem shows up.

    I have to dig a bit deeper into this. One theory that I have is that the CPLD is being put into JTAG mode itself due to activity on the CPU's JTAG. The JTAG software I'm using to connect to the board uses a "discovery" routine where it clocks the JTAG line like mad to see if the JTAG has other devices daisy-chained to TDI & TDO.

    I'll work with some simpler JTAG routines to see if I can locate the problem. I did a half-hearted attempt to clock the JTAG of the CPLD to put it back into a TEST/RUN state, but I may not have clocked it enough to recognize the instruction.

    Another possibility could be that CPLD may be bad, or due to activity on the JTAG, there is noise being injected into the supply bus and throwing the CPLD into an unknown state.

    This is an important issue to resolve as the JTAG I'm using is an inexpensive wiggler. For my end-customer, it is of value to them as their technicians would use the inexpensive interface to board level repair, and testing, on the custom mainboard I'm designing.
    You are not authorized to post a reply.