2 questions

Started by nixknacks July 25, 2008
MC9S12DP256

using CodeWarrior

DRAGON12+ development board /w d-bug 12

A. Does anyone know how to write to flash with d-bug 12?

B. I'm having trouble with .s19 files larger than 4KB in EVB mode. Is
there a size limit in codewarrior that's getting me? How do I get
around it.
--- In 6..., "nixknacks" wrote:
>
> MC9S12DP256
>
> using CodeWarrior
>
> DRAGON12+ development board /w d-bug 12
>
> A. Does anyone know how to write to flash with d-bug 12?
>
> B. I'm having trouble with .s19 files larger than 4KB in EVB mode. Is
> there a size limit in codewarrior that's getting me? How do I get
> around it.
>
A. D-Bug12 has 4 modes. You can only write to Flash in Bootload Mode
(or to a target board's Flash, in Pod Mode).
B. In EVB Mode, you can only load files into user areas of RAM and
EEPROM. Read the D-Bug12 manual for details.

Check the addresses inside the .s19 files generated by CW to confirm
that they are valid for the target memory's address ranges. CW
Special Edition has a 32K C code size limit, but unlimited assembler.

Carl
www.technologicalarts.com
Manufacturing quality HC11, HC12, and HCS12 hardware since 1995