Files
Gen4_R-Car_Trace32/2_Trunk/demo/arm/flash/tms470r1vf45b-rev1_d.cmm
2025-10-14 09:52:32 +09:00

77 lines
4.2 KiB
Plaintext

; --------------------------------------------------------------------------------
; @Title: TMS470 internal flash of TMS470R1VF45B/55B rev 1
;
; @Description:
; NOTE:
; This script is called from TMS470R1.cmm script.
;
; @Author: WRD
; @Copyright: (C) 1989-2022 Lauterbach GmbH, licensed for use with TRACE32(R) only
; @Chip: TMS470R1VF45B TMS470R1VF55B
; --------------------------------------------------------------------------------
; $Id: tms470r1vf45b-rev1_d.cmm 10516 2022-02-02 11:39:30Z bschroefel $
;
; wrd - 28.06.2004
;
ENTRY &cpu
GOSUB Setup_CPU &cpu
FLASH.RESet
; --------------------------------------------------------------------------------
; Flash configuration and declaration generated out of flash.cfg file
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Config for TMS470R1VF45B/55B rev 1
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
&Device_ID=0x83F ;TMS470R1VF45B/55B
; ProgVersion: 0.27 ; Library version
&ProgRoutines="f05a" ; Library archive
;&Frequency="20.0MHz" ;Range: 10.0 - 24.0
; Minor Revisions: 1
; 1 "TMS470R1VF45B/55B_48Mhz rev 1"
; Ram Config: 0x01000000 0x00008000 0x00000600
&RamStart=0x01000000
&RamSize=0x00008000
; Initialization: 4
Data.Set 0xFFFFFE00 %Long 0x00000000 0x000000a0 0x00000008 0x00000090 0x00000100 0x00000060 0x00000000 0x00000000
Data.Set 0xFFFFFE20 %Long 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
Data.Set 0xFFFFFE40 %Long 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
Data.Set 0xFFFFFE00 %Long 0x00000000 0x000001a0 ; Enable memory map
Data.Set 0xFFFFFFDC %Long 0x00000007 ; configure PLL
; Engr ID: 0xffe88000 0x00000000 0x74162000
; Protection Keys:
&FlashControl_Base=0xffe88000
&Protection_Keys=0x00003FF0; 0xffffffff 0xffffffff 0xffffffff 0xffffffff
; Number of Blocks: 19
GOSUB DeclareSector Type: OTP Start: 0x00000000 Length: 0x00000800 Control: 0xffe88000 Core: 0x00 Sector: 0x00
GOSUB DeclareSector Type: FLASH Start: 0x00000000 Length: 0x00004000 Control: 0xffe88000 Core: 0x00 Sector: 0x00
GOSUB DeclareSector Type: FLASH Start: 0x00004000 Length: 0x00004000 Control: 0xffe88000 Core: 0x00 Sector: 0x01
GOSUB DeclareSector Type: FLASH Start: 0x00008000 Length: 0x00008000 Control: 0xffe88000 Core: 0x00 Sector: 0x02
GOSUB DeclareSector Type: FLASH Start: 0x00010000 Length: 0x00008000 Control: 0xffe88000 Core: 0x00 Sector: 0x03
GOSUB DeclareSector Type: FLASH Start: 0x00018000 Length: 0x00008000 Control: 0xffe88000 Core: 0x00 Sector: 0x04
GOSUB DeclareSector Type: FLASH Start: 0x00020000 Length: 0x00008000 Control: 0xffe88000 Core: 0x00 Sector: 0x05
GOSUB DeclareSector Type: FLASH Start: 0x00028000 Length: 0x00008000 Control: 0xffe88000 Core: 0x00 Sector: 0x06
GOSUB DeclareSector Type: FLASH Start: 0x00030000 Length: 0x00008000 Control: 0xffe88000 Core: 0x00 Sector: 0x07
GOSUB DeclareSector Type: FLASH Start: 0x00038000 Length: 0x00004000 Control: 0xffe88000 Core: 0x00 Sector: 0x08
GOSUB DeclareSector Type: FLASH Start: 0x0003c000 Length: 0x00004000 Control: 0xffe88000 Core: 0x00 Sector: 0x09
GOSUB DeclareSector Type: FLASH Start: 0x00040000 Length: 0x00010000 Control: 0xffe88000 Core: 0x01 Sector: 0x00
GOSUB DeclareSector Type: FLASH Start: 0x00050000 Length: 0x00010000 Control: 0xffe88000 Core: 0x01 Sector: 0x01
GOSUB DeclareSector Type: FLASH Start: 0x00060000 Length: 0x00010000 Control: 0xffe88000 Core: 0x01 Sector: 0x02
GOSUB DeclareSector Type: FLASH Start: 0x00070000 Length: 0x00010000 Control: 0xffe88000 Core: 0x01 Sector: 0x03
GOSUB DeclareSector Type: FLASH Start: 0x00080000 Length: 0x00010000 Control: 0xffe88000 Core: 0x02 Sector: 0x00
GOSUB DeclareSector Type: FLASH Start: 0x00090000 Length: 0x00010000 Control: 0xffe88000 Core: 0x02 Sector: 0x01
GOSUB DeclareSector Type: FLASH Start: 0x000a0000 Length: 0x00010000 Control: 0xffe88000 Core: 0x02 Sector: 0x02
GOSUB DeclareSector Type: FLASH Start: 0x000b0000 Length: 0x00010000 Control: 0xffe88000 Core: 0x02 Sector: 0x03
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; End of flash.cfg
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
ENDDO