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.

jdouglas18's Content

There have been 5 items by jdouglas18 (Search limited from 20-April 23)


By content type

See this member's

Sort by                Order  

#62760 Cannot find any entrypoint! - The program '[16] Micro Framework appli...

Posted by jdouglas18 on 20 May 2015 - 08:01 PM in Netduino Plus 2 (and Netduino Plus 1)

Hi Chris,

 

Sorry for the late reply, here are my findings:

 

#1) I wasn't able to run DfuSe Demonstration on my laptop(As it would just crash everytime I hit "Upload"), so I installed everything on a fresh desktop and still ran into the errors above. I then was able to run DfuSe Demonstration from my desktop to produce a dump.

 

#2) Attached is my full solution with the dump.dfu inside:

 

https://www.dropbox....tduino.zip?dl=0

 

To run this project, open the Monkey.Robotics-master folder and then navigate to "Sample Apps/Robotroller/Robotroller.sln"

 

Please note for the Netduino specific items, you will find two projects:

 

* - Robotics.Micro.Core

 

* - Robotics.Micro.Robotroller.Netduino (References Robotics.Micro.Core)

 

These can be found under the "NetduinoRobot" folder and you can simply exclude all the "MobileApp" solution items.

 

Once again, I really appreciate all your help with me getting this code deployed to my Netduino 2 Plus!




#62470 Cannot find any entrypoint! - The program '[16] Micro Framework appli...

Posted by jdouglas18 on 06 May 2015 - 07:15 AM in Netduino Plus 2 (and Netduino Plus 1)

Hi Chris,

 

Unfortunately that did not resolve the issue. I still get the same error:

 

The program '[2] Micro Framework application: Managed' has exited with code 0 (0x0).

 

I also changed my MSBuild output verbosity to diagnostic to see if I might be able to dig deeper, but it doesn't seem to provide anything ontop of the minimal.

 

Onto the next item!




#62466 Cannot find any entrypoint! - The program '[16] Micro Framework appli...

Posted by jdouglas18 on 06 May 2015 - 03:53 AM in Netduino Plus 2 (and Netduino Plus 1)

Hi Chris and JoopC!

 

I tried this out last night and no cigar.

 

1) The solution can be downloaded here: https://github.com/x...cro.Robotroller

 

(Full Sample in case a missing project reference - https://github.com/x...ps/Robotroller)

 

Please note that I did some small refactoring for my specific board:

 

Changed Reference: SecretLabs.NETMF.Hardware.Netduino -> SecretLabs.NETMF.Hardware.NetduinoPlus

 

Changed Pins.ONBOARD_BTN  to Pins.ONBOARD_SW1(As I believe that is the Netduino 2 Plus equivalent from peeking in a decompiler)

 

Netduino:

 

   [EditorBrowsable(EditorBrowsableState.Never)]
    public static Cpu.Pin ONBOARD_SW1
    {
      get
      {
        return (Cpu.Pin) 29;
      }
    }
 
    public static Cpu.Pin ONBOARD_BTN
    {
      get
      {
        return (Cpu.Pin) 29;
      }
    }

 

Netduino 2 Plus:

 

public static Cpu.Pin ONBOARD_SW1
    {
      get
      {
        return SecretLabs.NETMF.Hardware.Netduino.Pins.ONBOARD_SW1;
      }
    }
 

2) Do you have a guide on this topic so I can provide this image? I'd really be interested in how I can figure out if this is an issue between VS deploying or runtime

 

3) I've tried various combinations, and all seem to have the same result. What can I provide here that isn't in my MFDeploy / etc?

 

One of my sneaking suspicions is that this code might not work as "nicely" as on a regular Netduino 2. I decided to go with the Plus as I wanted to do a bit more tinkering and it seemed like the best option at the time. I know that the Netduino 3 is coming out soon and that looks quite awesome as well! Is it possible that this could be a Netduino 2 vs Netduino 2 Plus issue?

 

Finally, I really appreciate you both helping me out and looking into this specific problem. I know each of you are taking time out of your day to help me, so thanks!




#62443 Cannot find any entrypoint! - The program '[16] Micro Framework appli...

Posted by jdouglas18 on 05 May 2015 - 04:01 PM in Netduino Plus 2 (and Netduino Plus 1)

@Chris

 

The redeployment of the app just does the same thing, which is the respective errors in the first post. Do you perhaps have any troubleshooting ideas that I might have overlooked? I'm targeting 4.3 in my projects, so I don't suppose an issue is the target framework?

 

@JoopC

 

I started with the following post: http://forums.netdui...showtopic=10479

 

To which I updated my firmware to 4.3.1.

 

I had the following versions installed:
 

.NET Microframework v4.3 QFE1 SDK

Netduino 4.3.1 SDK

 

This wouldn't let me deploy anything to my board, so I then looked around for the latest version of Microframework:

 

https://netmf.codepl...ads/get/1423115- (Dated Jan 26 2015)

 

After installing this, I was able to install and debug my simple LED program.

 

I had the following versions installed:

 

.NET Microframework v4.3 QFE2-RTM SDK

Netduino 4.3.1 SDK

 

Out of curiosity yesterday, I saw a very recent firmware release for 4.3.2(http://forums.netdui...-firmware-v432/), so I decided to update to that. It still lets me deploy my LED program, but not the Digital I/O program.

 

I would go ahead and try .NET MF 4.4, but I believe Netduino needs a 4.4 SDK for this to work:

 

https://github.com/N...Getting Started

 

I will try your suggestion tonight and report back!




#62436 Cannot find any entrypoint! - The program '[16] Micro Framework appli...

Posted by jdouglas18 on 05 May 2015 - 05:00 AM in Netduino Plus 2 (and Netduino Plus 1)

Hi Netduino Forums!

 

I'm fairly new to Netduino, but have been using Arduino for awhile. I'm using a Netduino Plus 2 and after trying quite a bit with v4.3.1 firmware, I decided I'd try v4.3.2. I can confirm that simple programs that include the LED blinking will indeed work and attach to the debugger(https://gist.github....20a8667d975a41d), but it seems anything that has to do with Digital I/O(Pins) seems to crash well before it can even invoke the main program and thus the debugger never gets connected. Currently I'm unable to get past an error stating:

 

Cannot find any entrypoint!

 

Which then leads to the following in the Microframework Logs:

 

The program '[16] Micro Framework application: Managed' has exited with code 0 (0x0).

 

I do have a fairly simple Program.cs:

 

public static void Main()
        {
            using (var led = new Microsoft.SPOT.Hardware.OutputPort (Pins.ONBOARD_LED, false)) {

                for (var i = 0; i < 3; i++) {
                    led.Write (true);
                    Thread.Sleep (250);
                    led.Write (false);
                    Thread.Sleep (250);
                }
            }

         }

 

Debug Output:

 

https://gist.github....69f7c0f24cf63d1

 

MFDeploy Version Information:

 

https://gist.github....7e8e7aa468b9d53

 

.NET Microframework Device Deployment:

 

https://gist.github....49cff321828efe6

 

I have tried to re-flash this board multiple times now just in case I missed something in terms of versions. I've also tried to get the board to a "fresh" state by either using the Updater and clearing the applications, or using MFDeploy -> Clear.

 

Any help would be appreciated!





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.