Join our technical discussions about Freescale Microcontrollers: M68HC12. (Freescale Semiconductor is a Subsidiary of Motorola).
Program Flash on DG128B - Jefferson Smith - Sep 19 13:10:40 2006
I have trouble with the latest D-Bug12 writing Flash on the
MC9S12DG128B (mask set 0L85D).
Was there some magical moment when this flash memory banks relocated
themselves from PPAGE [0x00..0x07] to [0x38..0x3f] ?
Of course neither assumption works, and D-Bug12 4.0.0b32 seems to not
properly suppord several commands that should be able to handle PPAGEd
addresses as parameters.

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )
Re: Program Flash on DG128B - Steve Russell - Sep 19 13:35:58 2006
At 09:59 AM 9/19/2006, Jefferson Smith wrote:
>Was there some magical moment when this flash memory banks relocated
>themselves from PPAGE [0x00..0x07] to [0x38..0x3f] ?
In the documentation, it happened with the HCS-12 parts.
In practice, some HCS-12 parts will take either. I don't know the rule, if
any.
HCS-12 software would only take 0x38..0x3F if its going by the book.
Steve Russell
Nohau Emulators
______________________________
controlSUITE software. Comprehensive. Intuitive. Optimized.
Real-world software for real-time control. Details Here!

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )Re: Program Flash on DG128B - Juergen Krummsdorf - Sep 19 13:39:10 2006
Hi Jefferson,
I am not working with DBUG12, but it is the correct PPAGE value
[0x38..0x3f] for the MC9S12DG128.
Take a look into my overview :
http://www.krummsdorf.de/hc12icd/downlo_e.html
http://www.krummsdorf.de/files/icc12_cpu_overview.pdf
The PPAGE values 0x00..0x07 are wrong for this MCU.
Juergen
-------------------------------
WEB : www.krummsdorf.de/hc12icd/
--------------------------------
email: info at krummsdorf.de
--------------------------------
On Tue, 19 Sep 2006 18:59:45 +0200, Jefferson Smith
wrote:
> I have trouble with the latest D-Bug12 writing Flash on the
> MC9S12DG128B (mask set 0L85D).
>
> Was there some magical moment when this flash memory banks relocated
> themselves from PPAGE [0x00..0x07] to [0x38..0x3f] ?
>
> Of course neither assumption works, and D-Bug12 4.0.0b32 seems to not
> properly suppord several commands that should be able to handle PPAGEd
> addresses as parameters.

(You need to be a member of 68hc12 -- send a blank email to 68hc12-subscribe@yahoogroups.com )Re: Program Flash on DG128B - Jefferson Smith - Sep 21 16:35:22 2006
--- In 6...@yahoogroups.com, "Juergen Krummsdorf"
wrote:
> I am not working with DBUG12, but it is the correct PPAGE value
> [0x38..0x3f] for the MC9S12DG128.
Thanks to all who replied, I've got it going now.
It was throwing me off when I looked in D-Bug12 Appendix A. They
specifically explained the two devices: DP256 and DG128. They didn't
emphasize that while the DP256 is S12, the DG128 was HC12DG128! I had
forgot that there even was two DG128, and they are as different as
HC12 and S12.
I had tried to test to see if memory was at ppage 0x38, but I had
mistakenly assumed 0x30 (because I'm used to DP256) and so it had not
worked there either.
After asking what's going on, I happened to try `asm 3e:8000` and it
worked. Thank you also for your references.

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