
************************************************************************
************************************************************************
**                                                                    **
**  Application notes for MCX memory devices                          **
**                                                                    **
** To find the application notes for your specific device you must    **
** search for the device using the 'core' device name.                **
** As an example using the MCX29LV640B 48 pin TSOP you would          **
** search on '29LV640'                                                **
**                                                                    **
************************************************************************
************************************************************************

************************************************************************


**************************************************************************

MCX29LV640B
-----------
The Secure Sector(SecSi) for this device consists of 256 bytes of One Time
Programmable (OTP) memory. The SecSi sector is accessible using the UPPER
algorithm and is mapped as the last sector.

--------------------------------------------------------------------------
Due to ram limitations on the Unisystem programmers, this 64Mbit device
had to be split into 2 equal 32Mbit Quadrants.


Note - Since this device operates with a 16 bit data bus, all the below
numbers are in word (double-bytes) values


                                         Device mapping:
                                 ----------------------  0Mbit
Unisystem RAM mapping:          | Quadrant L           |
                                | 0-1FFFFF hex         |
 --------------- 0Mbit          |                      |
| 0 hex         |               |                      |
|               |---------->    |                      |
|               |               |----------------------| 32Mbit
|               |               |                      |
|               |---------->    | Quadrant U           |
| 200000 hex    |               | 200000->3FFFFF hex   |
 --------------- 32Mbit         |                      |
                                 ----------------------  64Mbit

  Quadrant L   =  Device addresses 0 -> 1FFFFF hex

  Quadrant U   =  Device addresses 200000 -> 3FFFFF hex


--------------------------------------------------------------------------
Example of downloading a data file:

An example of downloading a 8 Megabytes (0 - 3FFFFF hex) file. You will
need to download the files in two halves. The first half is for Quadrant L.
The second half is for Quadrant U.

** NOTE:
   Quadrant L = Device addresses 000000 -> 1FFFFF hex
   Quadrant L settings:

I/O Translation Format     99
I/O addr offset            0
Memory begin address       0
User data size             200000 (word)

Steps:
1) Download the first half (0-200000 hex) of the data file into Quadrant L.
2) Program the device.

** NOTE:
   Quadrant U = Device addresses 200000 -> 3FFFFF hex
   Quadrant U settings:

I/O Translation Format     99
I/O addr offset            200000 (word)
Memory begin address       0
User data size             200000 (word)

Steps:
1)Download the second half (200000-400000)of the data file into Quadrant U.
2)Program the device.


--------------------------------------------------------------------------
Example of editing device data in the memory editor:
If data editing needs to done in the user RAM memory editor the appropriate
Quadrant Menu Selection (see table above) must first be determined. As an
example if editing data at the device address starting at location 2F8000
hex, that device address location would fall into the Upper Quadrant.
To find where location 2F8000 hex corresponds to location in the Quadrant
U subtract the beginning device address range from the location you want
to edit.
In this case the location of device address location 2F8000 hex is in the
Quadrant U, memory address is F8000 hex (2F8000 hex - 200000 hex).

--------------------------------------------------------------------------
IMPORTANT NOTE:
Sector ERASE operations may be performed within the selected quadrant and
the desired sectors. However the "Protect/Unprotect all sectors" prior to
the erase operation is performed ONLY within the lower quadrant algorithm.
Due to this, it is necessary to erase/program the lower quadrant first
prior to erasing the upper quadrant. This is ONLY needed when any sector
within the upper quadrant is previously protected.


******************************************************************************



