
************************************************************************
************************************************************************
**                                                                    **
**    Application notes for TOSHIBA FLASH memory devices              **
**                                                                    **
**                       (Informal Document)                          **
**                                                                    **
**    To find the application notes for your device search for the    **
**    'core' part name.  As an example using the 58FVM5T2AF TSOP-48   **
**    would search on '58FVM5T2'                                      **
**                                                                    **
************************************************************************
************************************************************************

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

58FVM5B2 (Bottom Boot)
----------------------
58FVM5T2 (Top Boot)
-------------------

The TC58FVM5T2A/B2A/T3A/B3A has a 64-Kbyte hidden ROM area. The area
consists of one block. Data Read, Write and Protect can be performed
on this block. Once Protected, block cannot be un-protected so, data
in the block cannot be overwritten.

NOTE: Here sector erase of extra sector is not implemented in the algorithm
presently. Hence the programming of this sector is OTP (One Time Programmable)

************************************************************************
58FVM6B2 (Bottom Boot)
---------------------
58FVM6T2 (Top Boot)
------------------

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:
1)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.

2)The Hidden Rom is not supported for this device at present.

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


