What does the GPIO use for a bootloader?

A forum for discussing the applications and implementations of the DIY general code template for the GPIO and its 25 user inputs and outputs (+ serial & CAN). The code is 99% complete, the user just has to add their own conditional I/O logic and compile (with a free special Edition of CodeWarrior).
Post Reply
427v8
Posts: 18
Joined: Sun Oct 05, 2008 6:03 pm

What does the GPIO use for a bootloader?

Post 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
Bernard Fife
Posts: 1696
Joined: Fri Apr 04, 2008 1:28 pm

Re: What does the GPIO use for a bootloader?

Post 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.
"Never wrestle with pigs. You both get dirty and the pig likes it." - George Bernard Shaw
427v8
Posts: 18
Joined: Sun Oct 05, 2008 6:03 pm

Re: What does the GPIO use for a bootloader?

Post 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...
Bernard Fife
Posts: 1696
Joined: Fri Apr 04, 2008 1:28 pm

Re: What does the GPIO use for a bootloader?

Post 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.
"Never wrestle with pigs. You both get dirty and the pig likes it." - George Bernard Shaw
427v8
Posts: 18
Joined: Sun Oct 05, 2008 6:03 pm

Re: What does the GPIO use for a bootloader?

Post 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.
GordonP
Posts: 5
Joined: Sun Dec 02, 2012 1:46 pm

Re: What does the GPIO use for a bootloader?

Post 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?
Bernard Fife
Posts: 1696
Joined: Fri Apr 04, 2008 1:28 pm

Re: What does the GPIO use for a bootloader?

Post 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.
"Never wrestle with pigs. You both get dirty and the pig likes it." - George Bernard Shaw
GordonP
Posts: 5
Joined: Sun Dec 02, 2012 1:46 pm

Re: What does the GPIO use for a bootloader?

Post by GordonP »

Thanks Lance.
Post Reply