; --------------------------------------------------------------------------------
; @Title: Flash script for Freescale MPC8349E-MDS
; @Description:
;   script for Freescale MPC8349E-MDS(processor revision 1.x) board(big endian)
;   set up target based flash programming for the Freescale MPC8349E-MDS evaluation
;   board
; @Keywords: PQII
; @Author: REI
; @Board: MPC8349E-MDS
; @Chip: MPC8349
; @Copyright: (C) 1989-2014 Lauterbach GmbH, licensed for use with TRACE32(R) only
; --------------------------------------------------------------------------------
; $Id: flash.cmm 12680 2018-06-04 10:57:35Z rweiss $


;run board init script
DO ~~~~/init.cmm

;enable flash programming voltage (EPLD register)
Data.Set 0xF8000001 %Byte 0x0C

FLASH.RESet
FLASH.TARGET A:0x1000 A:0x2000 0x1000 ~~/demo/powerpc/flash/word/i28f200j3.bin
FLASH.Create 1. 0xFF800000--0xFFFFFFFF 0x20000 TARGET Word

FLASH.List

ENDDO
