G120HDR 2,0 Firmware problems?

Hello everyone

I have worked with G120HDR 2,0 board for a while, and with good experience. This morning I unfortunately got some problems, which I have been unable to solve.

I have tried to reinstall the Firmware(“sucess” according FEZ config)

But still can not program the G120HDR.

FEZ config:

[quote] Connecting to device G120_g120.
Please wait, this may take a few moments
Failure - Device is not connected or not responding.[/quote]

I can only connect to boadet in

[quote]LDR0 LDR1 Boot Access
X High Firmware (TinyCLR) [/quote]

It seems like it loses its configuration:

[quote] Loader (TinyBooter) version information:
4.2.11.1 on this computer.
4.2.11.0 on this device.
The >>> Loader (TinyBooter) not up to date. <<<

Firmware (TinyCLR) version information:
4.2.11.1 on this computer.
Firmware (TinyCLR) Version: Not available.
The device is in Loader mode.
Click on ‘Reboot CLR’ under the Advanced menu two reboot the device.[/quote]

I use win7x64 but this is not the problem. This G120 board has the same problem on other PCs. I can program other G120 on my pc :think:

Is this a raw G120HDR board or is it connected into a circuit?

@ hagster

It is a raw G120HDR board nothing connected

G120 was updated successfully.

but this is not correct?

[quote]
Loader (TinyBooter) version information:
4.2.11.1 on this computer.
4.2.11.0 on this device.

The Loader (TinyBooter) not up to date. <<<

Firmware (TinyCLR) version information:
4.2.11.1 on this computer.
Firmware (TinyCLR) Version: Not available.
The device is in Loader mode.
Click on ‘Reboot CLR’ under the Advanced menu to reboot the device.[/quote]

Sounds like it might be a duff board.

Presuming it’s being powered adequately.

@ hagster thanks for reply

[quote]Sounds like it might be a duff board.
Presuming it’s being powered adequately.[/quote]

supply is not a problem (pic) ???

Check your power supply anyway.
I had a Cobra II that was booting extremely slow and acted wired sometimes.
Then I changed my extra power supply and now it’s back to normal.
The ‘bad’ power supply worked without problems on a different Cobra II before.
But I was to lazy to do the counter check so far.

@ Larsc -

Try to update TinyBooter + Firmware, on FEZ Config, Advanced -> Loader -> G120

Power supply is indeed the first thing to look at, i had some incredibly strange issues in the past that where 100% reproducible but at the end where related to power issues.

Next thing to keep in mind is, is this issue related to deploying a new version off your software? i had problems like a 100 times after deploying new software changes and had to get back to reflashing everything to get up and running again.

Or at least deploying software during a hard reset to get the board responsive for deployment.

Thanks for your reply

@ Reinhard Ostermeier

I have measured with oscilloscope and the supply is 3v3 + / - 100mV_pp at 3v3 pin

@ Dat

[quote]@ Larsc -
Try to update TinyBooter + Firmware, on FEZ Config, Advanced -> Loader -> G120[/quote]

There are comming an error when using “loader” (pic1) I only have 1 device connected.

@ David@ Emrol

[quote]… had to get back to reflashing everything to get up and running again.
Or at least deploying software during a hard reset to get the board responsive for deployment.[/quote]

Reflashing… how is this done?

I worked with PWM driver and setup of PWM 8 when the error occurred. I think the pwm driver are causing the Error. Are there anyway to make a complete reboot and re-install the G120hdr board?

“complete reboot” is just to reflash it - the process you’re partially getting into. To do this you just need to boot into bootloader mode, reapply the bootloader and then firmware (will wipe your app). Then you’ll have a fresh device.

Check out the “special pins” section on https://www.ghielectronics.com/docs/38/g120hdr-developer for how to get into the different bootloader modes, and then the firmware update section on https://www.ghielectronics.com/docs/54/loader-tinybooter-g120-and-emx-families

1 Like

I have the feeling you board hangs after deploying a new sofware version from visual studio?

Try this:

-Make sure the G120 is showing in the device manager.
-deploy you software from VS F5
-at the same time reset the G120

If it what i think you get somthing like this:

Looking for a device on transport 'USB’
Starting device deployment…
Iteration 0
Iteration 1
Iteration 2

Iteration 26
Iteration 27
Iteration 28
Opening port \?\USB#VID_1B9F&PID_0102#6&1ba46697&0&3#{09343630-a794-10ef-334f-82ea332c49f3}\Operations
Attaching debugger engine…
… debugger engine attached!
Querying device assemblies…

@ Brett Thanks you very much it WORKS! :dance:

[quote]“complete reboot” is just to reflash it - the process you’re partially getting into. To do this you just need to boot into bootloader mode, reapply the bootloader and then firmware (will wipe your app). Then you’ll have a fresh device.

Check out the “special pins” section on https://www.ghielectronics.com/docs/38/g120hdr-developer for how to get into the different bootloader modes, and then the firmware update section on https://www.ghielectronics.com/docs/54/loader-tinybooter-g120-and-emx-families[/quote]

Thanks for the reply and help everybody :wink:

1 Like