Skip to content

STM32F429I Discovery board rev changes #1349

@ThePatrickMartin

Description

@ThePatrickMartin

Tool

Visual Studio extension

Description

Unable to debug in VS2022 using nanoFramework per the instructions here: Getting Started Guide for managed code (C#) | .NET nanoFramework Documentation

I am able to use nanoff to flash the board so that it shows up on the Devices window, but unable to debug on the board, even using the template console app which doesn't talk to the hardware itself. More specifically, when I start the debugging session in VS 2022, the output log indicates that the assemblies are deployed to the board but afterward the debugging session immediately ends - no breakpoints are hit. After that, the board no longer appears in the nanoFramework Extension's Devices list.

How to reproduce

  1. Verify that both of the board's USB ports are connected to the computer and that the board is visible in the Windows Device Manager on one of the COM ports.
  2. In the developer command prompt, flash the board using nanoff, specifying the appropriate target for STM32F429I Discovery.
  3. Create a new console application from nanoFramework Extension template.
  4. Verify that the board is listed in the Devices window in VS2022.
  5. Set a breakpoint on the first line of code in the Main routine and click the green button to start a debugging session.
  6. Problematic behavior is that the breakpoint is not hit and the debugging session thread ends
  7. Further, the board is no longer visible in the Devices list in VS2022 and needs to be re-flashed.

Expected behaviour

Breakpoint should have been hit.

Screenshots

No response

Aditional context

Windows 10
Visual Studio 2022
nanoFramework extension
Target STM32F429I Discovery

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions