1# hcs12mem - HC12/S12 memory reader & writer
2# mc9s12a64.dat: target description - single chip MC9S12A64 MCU
3# $Id: mc9s12a64.dat 29 2007-12-06 15:37:08Z zeroxmk $
4#
5# Copyright (C) 2005,2006,2007 Michal Konieczny <mk@cml.mfk.net.pl>
6#
7# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 2 of the License, or
10# (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with this program; if not, write to the Free Software
19# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20
21info single chip MC9S12A64 MCU
22
23mcu MC9S12A64
24family S12
25ram_size 0x1000
26eeprom_module EETS1K
27flash_module FTS64K
28
29# INITRM = 0x30
30bdm_init_byte 0x0010 0x30
31# INITEE = 0x09
32bdm_init_byte 0x0012 0x09
33
34bdm_startup_delay 100
35bdm_agent bdm.s19
36
37# only BDM flash write uses RAM agent
38bdm_flash_write agent
39
40lrae_agent lrae.s19
41lrae_size 0x0200
42