Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).
2 questions - nixknacks - Jul 25 11:32:17 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.
------------------------------------

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )
Re: 2 questions - mculater12 - Jul 28 12:30:43 2008
--- In 6...@yahoogroups.com, "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
------------------------------------

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )