Netduino home hardware projects downloads community

Jump to content


The Netduino forums have been replaced by new forums at community.wildernesslabs.co. This site has been preserved for archival purposes only and the ability to make new accounts or posts has been turned off.
Photo

.Net Micro 4.2: Add existing project --> deploying failed


  • Please log in to reply
3 replies to this topic

#1 habakuk

habakuk

    New Member

  • Members
  • Pip
  • 8 posts

Posted 03 September 2012 - 12:35 PM

I am trying to add an existing project (this ServiceBus example) to a .net micro 4.2 application. Visual Studio doesn't show any errors or relevant warnings, but if I try to deploy the app to my netduino I get an error message:

Incrementally deploying assemblies to device
Deploying assemblies for a total size of 71024 bytes
Assemblies not successfully deployed to device.
Deployment to the device was not successful.


and

An error has occurred. Please check your hardware



Any idea how I can get more information about this error?

Thanks!
Stefan

#2 Stefan

Stefan

    Moderator

  • Members
  • PipPipPip
  • 1965 posts
  • LocationBreda, the Netherlands

Posted 03 September 2012 - 01:20 PM

Hi!

Deploying assemblies for a total size of 71024 bytes

I'm afraid your app is too big for the code memory. Could you try to remove unused classes?
"Fact that I'm a moderator doesn't make me an expert in things." Stefan, the eternal newb!
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs

#3 habakuk

habakuk

    New Member

  • Members
  • Pip
  • 8 posts

Posted 03 September 2012 - 02:35 PM

Hi Stefan,

thanks for your answer!

I'm afraid your app is too big for the code memory. Could you try to remove unused classes?


That's a bit disappointing... as I am first at the beginning of my project ;-(

How can I get my project small? What helps, what does the compiler automatically, to reduce the size?

And my other question: I deleted some methods and classes an I now have 62296 bytes, but I still get the error. On http://www.netduino....oplus/specs.htm it says I have 64 KB Code storage - shouldn't that fit there? ((62296 / 1024 = 60,83) < 64 KB)

And can I increase the space by adding a microSD card? Or is this only for data?

Thanks for your answers (Or your hint to the relevant docs)!

Ciao!
Stefan

#4 habakuk

habakuk

    New Member

  • Members
  • Pip
  • 8 posts

Posted 04 September 2012 - 08:52 AM

And my other question: I deleted some methods and classes an I now have 62296 bytes, but I still get the error. On http://www.netduino....oplus/specs.htm it says I have 64 KB Code storage - shouldn't that fit there? ((62296 / 1024 = 60,83) < 64 KB)


I updated my firmware to version 4.2.0.0 and now i can deploy my package with 62316 bytes.

Incrementally deploying assemblies to device
Deploying assemblies for a total size of 62316 bytes
Assemblies successfully deployed to device.

The other question, how to get a small package, is still a question. Are there any docs about that?

Ciao!
Stefan




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

home    hardware    projects    downloads    community    where to buy    contact Copyright © 2016 Wilderness Labs Inc.  |  Legal   |   CC BY-SA
This webpage is licensed under a Creative Commons Attribution-ShareAlike License.