G120 Exception

On one of my custom boards I assembled
I soldered the G120 module and it keeps spitting out this below exception on the debug serial port.
The USB is not detected. So I do not know how to proceed
Any help is appreciated

EXCEPTION 0x06:
cpsr=0x1000ff84
pc =0x1000ff60
lr =0x00005001
sp =0x1000dea0
r00 =0x1000de58
r01 =0x00000000
r02 =0x00000001
r03 =0x00001000
r04 =0xa00003d8
r05 =0x00005001
r06 =0x1000ff60
r07 =0x1000ff84
r08 =0xa01390d0
r09 =0x00000020
r10 =0x52b08514
r11 =0x6f146508
r12 =0xa00003d8

@ microt - I imagine you are unable to even get a program on the device? Are you able to put it in loader mode with LDR0 and LDR1?

I grounded MODE AND LDR0 and LDR1

and through teraterm loaded tinybooter again.
made LDR0 high
Tinybooter runs.

Then I try to deploy using Visual studio …it fails like below
If I connect termterm. I can see that the exception is coming again

Iteration 0
Opening port \.\COM13
Attaching debugger engine…
… debugger engine attached!
Querying device assemblies…
Adding pe file C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.IO.pe to deployment bundle
Adding pe file C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Hardware.SerialPort.pe to deployment bundle
Adding pe file C:\RemoteDrive\Dropbox\Mic-Share\Software\FirmwareSourceCode\Mainboard\G120-1\TouchLogger - AutoClave\TouchLogger\bin\Debug\le\TouchLogger.pe to deployment bundle
Adding pe file C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Graphics.pe to deployment bundle
Adding pe file C:\Program Files (x86)\GHI Electronics\NETMF v4.3 SDK\Libraries\le\ghi.hardware.pe to deployment bundle
Adding pe file C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.TinyCore.pe to deployment bundle
Adding pe file C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Hardware.pe to deployment bundle
Adding pe file C:\RemoteDrive\Dropbox\Mic-Share\Software\FirmwareSourceCode\Mainboard\G120-1\TouchLogger - AutoClave\ghi_elect-glide\bin\Debug\le\ghi.glide.pe to deployment bundle
Adding pe file C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\mscorlib.pe to deployment bundle
Adding pe file C:\Program Files (x86)\GHI Electronics.NET Gadgeteer SDK\Modules\DisplayT43\NETMF 4.3\le\gtm.ghielectronics.displayt43.pe to deployment bundle
Adding pe file C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Touch.pe to deployment bundle
Adding pe file C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\System.Xml.pe to deployment bundle
Adding pe file C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\System.pe to deployment bundle
Adding pe file C:\Program Files (x86)\Microsoft .NET Gadgeteer\Core\Assemblies.NET Micro Framework 4.3\le\gadgeteer.pe to deployment bundle
Adding pe file C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Hardware.Usb.pe to deployment bundle
Adding pe file C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\System.IO.pe to deployment bundle
Adding pe file C:\Program Files (x86)\GHI Electronics\NETMF v4.3 SDK\Libraries\le\ghi.sqlite.pe to deployment bundle
Adding pe file C:\Program Files (x86)\GHI Electronics\NETMF v4.3 SDK\Libraries\le\ghi.usb.pe to deployment bundle
Adding pe file C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Native.pe to deployment bundle
Adding pe file C:\Program Files (x86)\GHI Electronics\NETMF v4.3 SDK\Libraries\le\ghi.pins.pe to deployment bundle
Adding pe file C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Net.pe to deployment bundle
Adding pe file C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\MFDpwsExtensions.pe to deployment bundle
Adding pe file C:\Program Files (x86)\Microsoft .NET Micro Framework\v4.3\Assemblies\le\Microsoft.SPOT.Hardware.PWM.pe to deployment bundle
Attempting deployment…
Deployment to the device was not successful.

What do you see back when you click the ping button? I have a feeling your device is missing the firmware.

I updated with FEZ. The update goes ok.

but at the end it is not able to read the version.
And then the exception comes on the serial port

Right now I have the latest

G120

Version

  • 4.3.7.10 Firmware
  • 4.3.7.7 Loader

    And it tells bad firmware after loader update

    But I remember a good board having 4.3.1.0.
    Is it a version mismatch

@ microt - It looks like your program is pretty big. Can you try to deploy a simple blink LED program?