PDA

View Full Version : MaxForth 5.0L for larest HC12 chips?


Harry Winter
07-11-01, 12:09 AM
Max-FORTH V5.0L on the new HC12 Super-chips?

For my "Star Trek Tricorders" designs, high performance GigaHertz DSOs on PDAs, I would like to change from the single chip HC11 to one of the "new" single chip HC12 offerings from Motorola. These would be the 68HC12D60 with 2K Ram and 60K of Flash, or even better the 68HC912DG128 with 8K of internal RAM and 128K of Flash or 12K Ram MC9S12DP256.

Advantages are easy programming of Flash and the much larger internal Ram with power consumption less than that of the HC11 with external RAM. But can MaxForth be re-loaded the same way it is done now? The Cold-reset-location of the 8K of RAM is now at $2000 to $3FFF and the old location at $800 is taken-up by EEPROM. Is this being taken care of by Motorola's serial-boot-loader which copy the code between the labels < BootLoad > and < BootLoadEnd > into on-chip RAM at $2000 and passes CPU control to this code in RAM?

I believe this change is all it takes to make MaxForth 5.0L work with all seven new and powerful HC12 chips. ---- Ok, one more dumb question, what does an "S-Record" look like and do you have a routine in Forth which will generate it?

And lastly, how about a HC12 board with a socket for the CPU such as some of the HC11 boards?

Harry