PRELIMINARY
Assembly Source for Algorithms
**************************************************************
** | Variable declaration file | ** |
* |
| ** |
* | TMS320F2XX Flash Utilities. | ** |
* | Revision: 2.0, 9/10/97 | ** |
* | Revision: 2.1, 1/31/98 | ** |
* |
| ** |
* | Filename: svar20.asm | ** |
* |
| ** |
*Note: | ** |
*DLOOP is a delay loop variable used in flash algorithms. ** *This is a function of CLKOUT1. If the F206 device runs at ** *any CLKOUT1 speed other than 20 MHz, DLOOP value should be **
*redefined per the equation explained below. Use of | ** |
*current DLOOP for flash programming at speeds other than | ** |
*20 MHz is not recommended. | ** |
**************************************************************
.mmregs |
|
| |
BASE .set 0300h |
| ;Base address for variables | |
|
|
| ;can be changed to relocate |
|
|
| ;variable space in RAM. |
BASE_0 | .set | BASE+0 | ;Scratch pad registers. |
BASE_1 | .set | BASE+1 | ; |
BASE_2 | .set | BASE+2 | ; |
BASE_3 | .set | BASE+3 | ; |
BASE_4 | .set | BASE+4 | ; |
BASE_5 | .set | BASE+5 | ; |
BASE_6 | .set | BASE+6 | ; |
SPAD1 | .set | BASE+7 | ; |
SPAD2 | .set | BASE+8 | ; |
FL_ADRS | .set | BASE+10 | ;Flash load address. |
FL_DATA | .set | BASE+11 | ;Flash load data. |
ERROR | .set | BASE+15 | ;Error flag register. |
*Variables for ERASE and CLEAR | |||
RPG_CNT | .set | BASE+12 | ;Program pulse count. |
FL_ST | .set | BASE+13 | ;Flash start addr/Seg Cntrl Reg. |
FL_END | .set | BASE+14 | ;Flash end address. |
* |
|
|
|
PRELIMINARY | Assembly Source Listings and Program Examples |