Thanks Tom...
I brought it to their attention Friday via the web form. When they respond,
I'll be sure and followup in the forum with their insight so that others can
enjoy the fruit of this level of abstration, especially since the compelling/intuitive code is in
the initial posting for all to learn from and take advantage of in their rapid prototyping.
Lastly, one new nugget of info has surfaced that may be meaningful in troubleshooting for you
fellow headscratchers. When using this code, the simulator for the QG8 gets stuck** at a little
different spot than the AW does. Namely in PWM1.c at:
clrSetReg8Bits(TPMSC, 0x80, 0x40); /* Clear Overflow interrupt flag and enable Overflow interrupt */
which breaks down into assembly as:
E23D AND #0x7F
To paraphrase, one or more of these symtoms occurs in both CW 5.0 and 5.1, for the real AW and the
simulator for the AW and QG8; whereas the real QG8, in contrast, works as expected.
Thank you for your time and efforts.
Best,
Davy
** = when running or trying to step out of, it halts, and when single stepping into or over it gives error
message mentioned before of:
Error: Attempt to use uninitialized (uu) Accumulator