Page 1 of 1

What does the GPIO use for a bootloader?

Posted: Sat Dec 18, 2010 9:29 am
by 427v8
I've looked everywhere, I see no mention of the boot loader code.

I'd like to find the source if at all possible.

Thanks
Keith

Re: What does the GPIO use for a bootloader?

Posted: Sat Dec 18, 2010 1:31 pm
by Bernard Fife
Keith,

The GPIO boards use the same bootloader as MS-II. If you buy a GPIO board, the bootloader will already be on it.

Lance.

Re: What does the GPIO use for a bootloader?

Posted: Sat Dec 18, 2010 9:02 pm
by 427v8
Lance,
I know the boot loader is already on my board, I've been using it ;-D
I just want to see the source code for it, to see how it loads and stuff you know...

Re: What does the GPIO use for a bootloader?

Posted: Sat Dec 18, 2010 9:18 pm
by Bernard Fife
427v8,

The linked PDF tells how the serial monitor (aka. "bootloader") works:

http://www.freescale.com/files/microcon ... AN2548.pdf

Near the end is a link for typical source code for the HSC12.

Lance.

Re: What does the GPIO use for a bootloader?

Posted: Sat Dec 25, 2010 10:35 am
by 427v8
Thanks Lance.
Everything seems to be working as advertised and I now have a downloader that can program my 64k part, using a flat memory map from 4000 to F780, in one fell swoop.

Re: What does the GPIO use for a bootloader?

Posted: Sun Mar 17, 2013 1:10 pm
by GordonP
I would like to make some minor changes to the bootloader to ensure that certain port pins are set to a known "safe" state during code download. I would like to be able to reprogram without worrying about having to remember to unplug a couple of high current solenoids. Is the actual bootloader source available anywhere for the MS-II HSC12C64 processor? If not, and I have to create my own from the Freescale CW project, is it just a matter of using the normal MS Download program to send the S19 file to the GPIO board?

Re: What does the GPIO use for a bootloader?

Posted: Sun Mar 17, 2013 4:39 pm
by Bernard Fife
GordonP,

The bootloader source is not available, you will have to create your own, as you say. You will need a BDM cable to burn it to the processor.

Lance.

Re: What does the GPIO use for a bootloader?

Posted: Mon Mar 18, 2013 4:24 am
by GordonP
Thanks Lance.