ooooh aaaaaai seeeee,
This was hard to solve because I was focusing on the presumption that PPAGE [00..07] was Flash as documented previous, but it is hex [38..3f] good, I like that better.
Originally I was asking why was all original documentation wrong... It looks like there was some
S12 DP256 and
HC912 DG128 side-by-side in D-Bug12 appendix (but no 9S12DG128 mentioned). I wonder how many times I've misread because they were sly enough to make different DG128 devices in two almost alike but different families. I guess Freescale was not thinking straight. I won't go into that again, though.
So the only reason I think that commands (fload, asm, bs) didn't work is because when I guessed the alternate PPAGE locations, I used 0x30 instead of 0x38 because I'm so used to DP256. Then I think I had a S19 format problem when I couldn't fload to the DP256. It was strange that as soon as I set FCLKDIV for the DP256 manually, everything else started working. But now I can do it without initializing that.
I have no clue why the BDM debugger can fload to Flash yet FCLKDIV on the target is still not initialized ?!
Well, all my problems had to do with knowing the right address ranges.
DG128B
PPAGE ranges [0x38..0x3f]
linear address range [0x0e0000..0x0fffff]
Thanks for all your help (well, at least if someone does add a comment)
Message Edited by imajeff on 2006-09-19 05:02 PM