Main Site Documentation

Cobra 2 now won't deploy


#1

I am getting the following in the output window when I try to deploy an updated app.

The only change is the inclusion of a 1MB bitmap file in the resources but the final size is still well within the G120’s capability.

I have the module programmed with the latest firmware so not sure what to make of the messages below.


Found debugger!

Create TS.

 Loading start at a0e85768, end a0e9cec4

   Assembly: mscorlib (4.2.0.0)     Assembly: Microsoft.SPOT.Native (4.2.0.0)     Assembly: Microsoft.SPOT.Hardware (4.2.0.0)  
   Assembly: Microsoft.SPOT.Hardware.PWM (4.2.0.1)     Assembly: Microsoft.SPOT.Security.PKCS11 (4.2.0.0)  
   Assembly: System.Security (4.2.0.0)  Loading Deployment Assemblies.

Attaching deployed file.

   Assembly: GHI.Hardware.G120 (4.2.10.0)  Attaching deployed file.

   Assembly: Microsoft.SPOT.Net.Security (4.2.0.0)  Attaching deployed file.

   Assembly: Microsoft.SPOT.Touch (4.2.0.0)  Attaching deployed file.

   Assembly: GHIElectronics.NETMF.Glide (0.1.0.6)  Attaching deployed file.

   Assembly: GHI.Premium.Net (4.2.10.0)  Attaching deployed file.

   Assembly: MicroXBee (10.11.8.1)  Attaching deployed file.

   Assembly: GTM.GHIElectronics.Display_T43 (1.0.1.0)  Attaching deployed file.

   Assembly: Microsoft.SPOT.Net (4.2.0.0)  Attaching deployed file.

   Assembly: System.Net.Security (4.2.0.0)  Resolving.

Link failure: some assembly references cannot be resolved!!


Assembly: Microsoft.SPOT.Touch (4.2.0.0) needs assembly 'Microsoft.SPOT.Graphics' (4.2.0.0)

Assembly: GHIElectronics.NETMF.Glide (0.1.0.6) needs assembly 'Microsoft.SPOT.Graphics' (4.2.0.0)

Assembly: GHIElectronics.NETMF.Glide (0.1.0.6) needs assembly 'System.Xml' (4.2.0.0)

Assembly: GHIElectronics.NETMF.Glide (0.1.0.6) needs assembly 'Microsoft.SPOT.Touch' (4.2.0.0)

Assembly: GHIElectronics.NETMF.Glide (0.1.0.6) needs assembly 'System.IO' (4.2.0.0)

Assembly: MicroXBee (10.11.8.1) needs assembly 'MicroIO' (10.11.8.1)

Assembly: MicroXBee (10.11.8.1) needs assembly 'Microsoft.SPOT.Hardware.SerialPort' (4.2.0.0)

Assembly: MicroXBee (10.11.8.1) needs assembly 'System.IO' (4.2.0.0)

Assembly: GTM.GHIElectronics.Display_T43 (1.0.1.0) needs assembly 'Gadgeteer' (2.42.0.0)

Assembly: GTM.GHIElectronics.Display_T43 (1.0.1.0) needs assembly 'Microsoft.SPOT.Graphics' (4.2.0.0)

Assembly: GTM.GHIElectronics.Display_T43 (1.0.1.0) needs assembly 'Microsoft.SPOT.TinyCore' (4.2.0.0)

Assembly: GTM.GHIElectronics.Display_T43 (1.0.1.0) needs assembly 'Microsoft.SPOT.Touch' (4.2.0.0)

Assembly: System.Net.Security (4.2.0.0) needs assembly 'System' (4.2.0.0)

Error: a3000000

The program '[17] Micro Framework application: Managed' has exited with code 0 (0x0).
Waiting for debug commands...



#2

OK. It seems to be something to do with the bitmap size as I removed the bitmap and he reference to in the code and now it deploys.

I’ll see if a small bitmap will work?


#3

When you removed your bitmap, did you do it by starting a new project or did you just edit your exisiting project? Do you have more than one Cobra, and switched which one you were deploying to? The errors point more to a mismatch in assemblies and firmware due to target version (like. trying to build/deploy a 4.2 project on 4.1 firmware)


#4

Hi Jeff,

No, I just removed it from the resources file (right click the image and remove) and commented out the line that initialised the bitmap and then rebuilt it.

I then created a new bitmap that was 75% of the size and it loads and runs.

I’ll try again this weekend with the original large (1.2MB) bitmap just to confirm this issue.