Page 1 of 1

Board bringup procedure

Posted: Sun Dec 27, 2009 7:08 pm
by 427v8
So I have a GPIO board, what is the minimum required to bring it to life??

It looks like I just need to add the regulator, and a serial port right?

If so the next dumb question is how do I talk to it?
what software is loaded as is? Just the boot loader, or do I need to load that too?
I have a P&E programmer if necessary, but I expected more life I guess.

None of the MS tools seem to know anything about the GPIO board.

And if this has been discussed anywhere on the forums, I can't find it!

Thanks so far.
Keith

Re: Board bringup procedure

Posted: Mon Dec 28, 2009 3:30 am
by devojet
The new GPIO should a least have the bootloader installed, so you should be able to load the firmware using the standard downloader tool.

Cheers

Daniel.

Re: Board bringup procedure

Posted: Mon Dec 28, 2009 8:28 pm
by 427v8
OK I have the boot loader jumper jumpered, tera term set to 115200, 8n1.
the gpio echos when I type but echos garbage.

Is the baud rate right?
Yes I've tried a few others...

Where can I find the boot loader code?

Re: Board bringup procedure

Posted: Mon Dec 28, 2009 10:22 pm
by turbo355
Monitor code should be loaded on it already , so you need to load a S19, and use the ini for MT, and you should be able to talk to the board.

115200 baud should be correct.

Re: Board bringup procedure

Posted: Wed Dec 30, 2009 5:35 am
by 427v8
OK I
Im convinced that the bootloader is messed up.
I brought it to work to use my good power supply and computer that has a good serial port.
Same thing.
It boots and echos garbage. No what I type it returns '>B'

So where is the boot loader code?
Or is that not for public consumption?

Matt I sent you an email
Keith

Re: Board bringup procedure

Posted: Wed Dec 30, 2009 5:37 pm
by 427v8
OK, so maybe this is obvious to everyone here but it wasn't to me.
I read that the GPIO board used the same upload mechanism as the Megasquirt.
It actually uses the same mechanism as the MSII

The bootloader has no UI, it does not talk to people. So don't type anything into it and expect an intelligent response.
It's only ment to talk to the MegaSquirt-II Downloader 2.00

Here's the minimum board bring up requirements for those other newbies who maybe can learn from my mistakes;

*Solder in the 5v regulator
*Connect the serial line from the board to the computer. ( that is well documented)
*Jump the boot pins JP5(?) (short them together)
*Power up the board
*start the 'MegaSquirt-II Downloader 2.00'
*Under File/Settings setup the serial port; 115200 baud and select the COM port
*Under File/Open select the *.S19 file you want to load. Loading will begin automatically.
*Power down the board
*Exit MegaSquirt-II Downloader 2.00
*Start TeraTerm or some other terminal program
*Type an upper case S. It should reply with ** V1.006 MegaShift by B&G ** or something similar.
*Your Eiffel tower is now done. (apologies to Mad Magazine)