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

BSOD


  • Please log in to reply
3 replies to this topic

#1 blackt1ger

blackt1ger

    Member

  • Members
  • PipPip
  • 14 posts

Posted 05 December 2013 - 03:49 AM

Well, I've got a pretty darn repeatable BSOD situation.  I remember earlier reading that they wished they could get a repeatable case.

 

Essentially it occurred when I deadlocked the STM in the HAL layer while debugging or attached via MFDeploy.  First, the system disconnects me saying it lost connection.  Then Netduino is dead.  I push-button restart it, and BLAMO - the BSOD.

 

I could probably tighten up the steps a bit, but a) my computer doesn't like the BSOD, B) it takes a reeaaaalllly long time to stabilize after rebooting, c) I keep losing points on my "system reliability", d) I'm afraid the WER is gonna tattle to Microsoft and they will revoke my Operating System license.

 

--Ken

 

 



#2 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 05 December 2013 - 06:25 AM

Hi Ken, This is a bug in the legacy NETMF drivers (SpotUSB/MFUSB). Netduino gen1 boards have moved to WinUSB which, in theory, cures this issue. Netduino gen2 boards will be moving to WinUSB after the release of .NET MF 4.3 QFE1. In the meantime, how is the STM getting deadlocked? If there's a bug down there in the HAL, we'd like to fix it :) Chris

#3 blackt1ger

blackt1ger

    Member

  • Members
  • PipPip
  • 14 posts

Posted 05 December 2013 - 02:57 PM

The bug is me, doing stupid things...

 

Actually, I'm fiddling with the A2D.  For some reason, I can only change the acquisition resolution on the first pin.  Well, I accidently deadlocked the Read..... :)

 

Is there some way to debug the HAL?

 

--Ken



#4 Chris Walker

Chris Walker

    Secret Labs Staff

  • Moderators
  • 7767 posts
  • LocationNew York, NY

Posted 05 December 2013 - 07:51 PM

Hi Ken, You can debug the HAL, but it's native code. So to debug it, you'll need to grab a copy of IAR workbench for ARM (or Keil MDK or your favorite ARM debugger) and attach to it via MiniJTAG. That's how we debug the core of NETMF here. It's not "Visual Studio easy", but it works :) Chris




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.