EmbeddedRelated.com
Forums

Flash Programmer - SCBDMPGMR12

Started by Chengrong Lu May 8, 2003
Hi All,

I am looking for a flash programmer for Motorola
MC9S12DP256B with the following functions:

It can load a firmware image (say S-Record) into
MCU and overwrite the existing (crashed) firmware
inside the MCU.

We also have to keep some calibration data
that were saved in EEPROM and Flash ROM on MCU,
i.e., we can select which area to overwrite
and which area to keep (protect).

Can anybody confirm that SCBDMPGMR12 is such a
device that fits my need? I contacted vendors,
but they don't have technical person that can
answer my question.

Thanks in advance.



Chengrong,

The SCBDMPGMR12 is designed for high speed programming in a production
environment (the MC9S12DP256B can be programmed in under 10 seconds) and
does not have the capability to selectively erase and program portions of
the target Flash or EEPROM.

Regards,
Gordon

Chengrong Lu wrote:

> Hi All,
>
> I am looking for a flash programmer for Motorola
> MC9S12DP256B with the following functions:
>
> It can load a firmware image (say S-Record) into
> MCU and overwrite the existing (crashed) firmware
> inside the MCU.
>
> We also have to keep some calibration data
> that were saved in EEPROM and Flash ROM on MCU,
> i.e., we can select which area to overwrite
> and which area to keep (protect).
>
> Can anybody confirm that SCBDMPGMR12 is such a
> device that fits my need? I contacted vendors,
> but they don't have technical person that can
> answer my question.
>
> Thanks in advance. > -------------------- >
> ">http://docs.yahoo.com/info/terms/

--
===============================================================
Gordon Doughman Ph: 937-438-6811
Motorola Semiconductor Fax: 937-434-7457
Field Applications Engineer Pager: 800-759-8352 Pin: 1304089
Suite 175
3131 Newmark Drive
Miamisburg, OH 45342

Check out my HC12 book at:
http://www.rtcbooks.com/programming.php



Thank you Gordon for your quick response.

I may have described my problem not so clearly,
the actual memory map for our firmware is:

1. EEPROM (0x0400 - 0x0FFF): Calibration data
(different for each unit).
2. Page 30 - 33: Look-Up-Table: (different for each unit).
3. Page 34 - 3D, 3E, 3F: Code

Item 1 and 2 should be kept (protected from overwrite),
item 3 is overwritable.

I didn't mean to select inside EEPROM or Flash ROM Page,
where to overwrite and where to protect.

I am reading the "Reference Guide for Serial BDM Programmer" written
by you, is it possible for me to use LF *** to load S-Record to my
desired Flash Address, and leave the protected area untouched?

Thanks.

Chengrong Lu
--- In , Gordon Doughman <g.doughman@m...>
wrote:
> Chengrong,
>
> The SCBDMPGMR12 is designed for high speed programming in a
production
> environment (the MC9S12DP256B can be programmed in under 10
seconds) and
> does not have the capability to selectively erase and program
portions of
> the target Flash or EEPROM.
>
> Regards,
> Gordon
>
> Chengrong Lu wrote:
>
> > Hi All,
> >
> > I am looking for a flash programmer for Motorola
> > MC9S12DP256B with the following functions:
> >
> > It can load a firmware image (say S-Record) into
> > MCU and overwrite the existing (crashed) firmware
> > inside the MCU.
> >
> > We also have to keep some calibration data
> > that were saved in EEPROM and Flash ROM on MCU,
> > i.e., we can select which area to overwrite
> > and which area to keep (protect).
> >
> > Can anybody confirm that SCBDMPGMR12 is such a
> > device that fits my need? I contacted vendors,
> > but they don't have technical person that can
> > answer my question.
> >
> > Thanks in advance.
> >
> >
> > --------------------
> >
> >
> >
> > ">http://docs.yahoo.com/info/terms/
>
> --
> ===============================================================
> Gordon Doughman Ph: 937-438-6811
> Motorola Semiconductor Fax: 937-434-7457
> Field Applications Engineer Pager: 800-759-8352 Pin: 1304089
> Suite 175
> 3131 Newmark Drive
> Miamisburg, OH 45342
>
> Check out my HC12 book at:
> http://www.rtcbooks.com/programming.php




Chengrong,

>..is it possible for me to use LF *** to load S-Record to my
>desired Flash Address, and leave the protected area untouched?

The LF command is capable of loading multiple S-Record files into the BDM
Programmer's Data Flash, however, before you can load new data into the BDM
Programmer's Data Flash, it must be erased. This means that you would have
to reload all of the Flash and EEPROM data (including the code for pages 34
- 3D and 3E & 3F) for each unit programmed. While it's possible to use the
BDM Programmer in this manner, it's probably not the most efficient way to
program a target device since all of the code & data must first be loaded
into the programmer before the target can be programmed.

The BDM Programmer was really designed to program multiple target devices
with the same Flash & EEPROM data as quickly as possible. For your
application, you would probably be better off using the P&E Multilink cable
along with their programming software.

Regards,
Gordon

Chengrong Lu wrote:

> Thank you Gordon for your quick response.
>
> I may have described my problem not so clearly,
> the actual memory map for our firmware is:
>
> 1. EEPROM (0x0400 - 0x0FFF): Calibration data
> (different for each unit).
> 2. Page 30 - 33: Look-Up-Table: (different for each unit).
> 3. Page 34 - 3D, 3E, 3F: Code
>
> Item 1 and 2 should be kept (protected from overwrite),
> item 3 is overwritable.
>
> I didn't mean to select inside EEPROM or Flash ROM Page,
> where to overwrite and where to protect.
>
> I am reading the "Reference Guide for Serial BDM Programmer" written
> by you, is it possible for me to use LF *** to load S-Record to my
> desired Flash Address, and leave the protected area untouched?
>
> Thanks.
>
> Chengrong Lu > --- In , Gordon Doughman <g.doughman@m...>
> wrote:
> > Chengrong,
> >
> > The SCBDMPGMR12 is designed for high speed programming in a
> production
> > environment (the MC9S12DP256B can be programmed in under 10
> seconds) and
> > does not have the capability to selectively erase and program
> portions of
> > the target Flash or EEPROM.
> >
> > Regards,
> > Gordon
> >
> > Chengrong Lu wrote:
> >
> > > Hi All,
> > >
> > > I am looking for a flash programmer for Motorola
> > > MC9S12DP256B with the following functions:
> > >
> > > It can load a firmware image (say S-Record) into
> > > MCU and overwrite the existing (crashed) firmware
> > > inside the MCU.
> > >
> > > We also have to keep some calibration data
> > > that were saved in EEPROM and Flash ROM on MCU,
> > > i.e., we can select which area to overwrite
> > > and which area to keep (protect).
> > >
> > > Can anybody confirm that SCBDMPGMR12 is such a
> > > device that fits my need? I contacted vendors,
> > > but they don't have technical person that can
> > > answer my question.
> > >
> > > Thanks in advance.
> > >
> > >
> > > --------------------
> > >
> > >
> > >
> > > ">http://docs.yahoo.com/info/terms/
> >
> > --
> > ===============================================================
> > Gordon Doughman Ph: 937-438-6811
> > Motorola Semiconductor Fax: 937-434-7457
> > Field Applications Engineer Pager: 800-759-8352 Pin: 1304089
> > Suite 175
> > 3131 Newmark Drive
> > Miamisburg, OH 45342
> >
> > Check out my HC12 book at:
> > http://www.rtcbooks.com/programming.php > -------------------- >
> ">http://docs.yahoo.com/info/terms/

--
===============================================================
Gordon Doughman Ph: 937-438-6811
Motorola Semiconductor Fax: 937-434-7457
Field Applications Engineer Pager: 800-759-8352 Pin: 1304089
Suite 175
3131 Newmark Drive
Miamisburg, OH 45342

Check out my HC12 book at:
http://www.rtcbooks.com/programming.php