Flash DP256, Debug 12

Started by Lewis, Bob August 9, 2002
I have no experience with Debug 12 so I appologize if these are obvious
questions;

I have been using NOICE and starprog to flash my dg128a and they work great,
but these programs do not support the dp256 as yet (but will in the future).

* Can I use debug 12 to flash the EEPROM for the vector table at
least?
* Does Debug 12 come on the ROM and is activated through the serial
port (I have the
EVB for the 256 from Motorola), or do I load Debug 12 from a file somehow?
Is debug 12 for older processors and the BDM functions on the dg128a is the
newer, or is that just a misunderstanding on my part? Or does BDM use some
of the functions in Debug 12?

If someone could point me in the right direction, it would be very much
appreciated. I am not sure where to begin on this and am at a dead end
until I can at least flash the vector table. Then it would be possible to
work out of RAM for debugging the code. Thanks for the help.

Bob Lewis




Bob,

D-Bug12 v3 and D-Bug12 v4 both support Flash & EEPROM programming of the 'A'
suffix HC12 devices. D-Bug12 v3 runs on the D60(A) and v4 runs on the
9S12DP256. The distribution files for D-Bug12 v4 can be found on the following
web page under the 'Firmware' category:

http://e-www.motorola.com/webapp/sps/site/prod_summary.jsp?code=MC9S12DP256B&nodeIdM0ym4t3ZGM0zGQK100

D-Bug12 comes in 2 S-Record files, a bootloader and the D-Bug12 program that
both need to be programmed in to the Flash. You will need a BDM tool to program
the S-Record files into the DP256. Instructions for running D-Bug12 on the
DP256 EVB are included with the distribution files.

Regards,
Gordon

"Lewis, Bob" wrote:

> I have no experience with Debug 12 so I appologize if these are obvious
> questions;
>
> I have been using NOICE and starprog to flash my dg128a and they work great,
> but these programs do not support the dp256 as yet (but will in the future).
>
> * Can I use debug 12 to flash the EEPROM for the vector table at
> least?
> * Does Debug 12 come on the ROM and is activated through the serial
> port (I have the
> EVB for the 256 from Motorola), or do I load Debug 12 from a file somehow?
> Is debug 12 for older processors and the BDM functions on the dg128a is the
> newer, or is that just a misunderstanding on my part? Or does BDM use some
> of the functions in Debug 12?
>
> If someone could point me in the right direction, it would be very much
> appreciated. I am not sure where to begin on this and am at a dead end
> until I can at least flash the vector table. Then it would be possible to
> work out of RAM for debugging the code. Thanks for the help.
>
> Bob Lewis > -------------------- >
> ">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.annatechnology.com/annatech/bookBrowseByMicroF.asp