I was trying to update the firmware and I could not get the Bootloader serial port to show
up by following the instructions found at https://www.ghielectronics.com/docs/112/g400
Beta Firmware Update Procedure:
The following steps are necessary to update the G400 Beta firmware:
Copy the newest firmware into the G400 Beta Programmer folder.
Put the G400 into bootloader mode by grounding PA11 (do not hold pin PA11 to ground no
longer than 3 seconds or damage may result to the mainboard). You will see the bootloader in “Devices and Printers” or “Device Manager”. From there, you will need to locate the COM port number.
Double click on the CommandPrompt file to load the command prompt (you can manually run the command prompt and navigate to the G400 Beta Programmer folder if you wish).
At the command prompt, type ProgramG400 COMx (x being the COM port that the bootloader selected; NOTE - COM needs to be typed in all caps) and press enter.
Wait till the process is complete. A log file will appear when the process is complete.
I was getting nowhere fast, so I had to begin thinking about what I was doing…
All I ever saw was:
Debuggable .Net Micro Framework Device
GHI.NET Micro Framework USB Debugging Interface
in the Windows Device Manager and the G400 in Devices and Printers.
So then I read ‘How to Use Programmer.txt’ in the G400 Beta Programmer folder created when unzipping G400 Beta Programmer.zip downloaded from GHI. This contains Sam-Ba and all the files needed. How to Use Programmer.txt is worded a bit differently than the text shown on the GHI web page instructions.
I initially had the USB ‘AND’ a auxillary power supply connected to my ChipworkX Developer System. (Big mistake!)
I removed the Auxillary power supply, unplugged the USB cable and held a jumper to PA11. I reconnected the USB cable while still holding the jumper and then quickly removed the jumper.
BINGO! I had the serial port!
By the way… The ChipworkX pin that connects to the G400 J11 is SPI1/PA0/MISO (Third header pin up from the bottom, right hand side row)
I also noticed that the bootloader Serial Port showed up as GPS Camera Detect (COM36). This seems to be the same port my Nicon camera uses?
All in all it boiled down to jumper PA11 to ground from a POWER REMOVED STATE and THEN connect the USB cable (And Of course, quickly remover the grounding jumper)!
Now if I only had a bit of sample code for the G400 I’d be in good shape!
EDIT: I have to state that I received the G400 and the firmware was already loaded. I just wanted to go through the procedure myself.
After the firmware update and reset the display shows:
May 6 2013
15:12:21 << This number changed from ‘as received from GHI’
Waiting for debug commands…
Have a great day!