Replies: 11 comments 3 replies
-
I have follow the instructions in https://docs.nanoframework.net/content/getting-started-guides/troubleshooting-device-connection.html#finding-ports-on-windows I have got ; and : So now, i do not know if the problem come from nanoff or from the nano framework image which is not compatible with the board or something else. |
Beta Was this translation helpful? Give feedback.
-
@regis1512 in the first screen capture, does the message run till the end. On the same image is this the with a different baud rate? |
Beta Was this translation helpful? Give feedback.
-
The first screen capture is Putty with a baud rate of 115200 (like indicated at https://docs.nanoframework.net/content/getting-started-guides/troubleshooting-device-connection.html#special-esp32). The message run till the end : when i do the screen capture there is no more information which appear in Putty since many seconds. The second screen capture is Putty with the baud rate of 921600 (like indicated at https://docs.nanoframework.net/content/getting-started-guides/troubleshooting-device-connection.html#finding-if-nanoframework-booted). The message run till the end too. |
Beta Was this translation helpful? Give feedback.
-
I have unplugged and plugged the cable many times. |
Beta Was this translation helpful? Give feedback.
-
Does it work when you flash the non BLE firmware? One more question, If you flash the using the USB on the right. Unplug and plug in to the USB on the left and then VS should be able to view the device. |
Beta Was this translation helpful? Give feedback.
-
This is most likely the common situation of having it connected on the "wrong" USB connector. |
Beta Was this translation helpful? Give feedback.
-
Moving this to a discussion as we don't use issues to answer questions and this is not a bug report, as noted in the issue notes. 😉 |
Beta Was this translation helpful? Give feedback.
-
Hi, I was wondering if this problem was ever sorted. I have the same issue. I managed to download code a couple of times and then it went into a state where I can no longer see the device. I've tries --masserase, I've also reload Arduino scetches to it and then tried nanoff again and it still does not appear. Any advice much appreciated. Martin |
Beta Was this translation helpful? Give feedback.
-
Try this I think it could be issue of partition size change that is causing the problem. go to this directory then
|
Beta Was this translation helpful? Give feedback.
-
I have the same exact problem but with ESP32-DevKitC (ESP32-WROOM-32U). In fact, everything was working fine, until leaving the board running and plugged into USB overnight, then it disappeared from VS Device Explorer and would no longer appear with nanoff --listdevices. So I tried reflashing the board with nanoff as I did originally. It flashes successfully, proving that the physical USB port, COM port, and Windows driver are working, but then neither nanoff nor VS Device Explorer will recognize it. The board still works, because it's still running my code and performing as expected. I tried reinstalling the Silicon Labs USB to UART driver, reinstalling Visual Studio 2022 Community Edition, reinstalling nanoFramework, updating all the nanoFramework libraries with NuGet, creating a new nanoFramework project from scratch, switching to a virgin Windows 11 PC and installing everything from scratch, using various different USB cables and physical USB ports, and switching out the ESP32 board for an identical one. The only thing that worked was switching boards... for about a day. Then the new board was no longer recognized the following day after leaving it running overnight. I didn't change anything. Didn't unplug or reset, just wanted to change code and deploy it, but it disappeared from Device Explorer. So I tried nanoff --listdevices from a command prompt. Nope. Tried reflashing the firmware again (after updating nanoff again), which succeeds, but nanoff --listdevices and VS Device Explorer both still fail. I tried flashing 2 other virgin boards, different models but both based on ESP32-C3, which succeeded in flashing but aren't recognized thereafter by nanoff or Device Explorer. I know how to enter boot mode to flash and reset afterward to enter run mode. I know how to unplug and replug for hard reset. I read all the tutorials and troubleshooting guides. I used PuTTY to check the serial ports. I can read device details from the chips. There is definitely some type of bug or design flaw in both nanoff and nanoFramework Device Explorer. No user should have to suffer through this nonsense. I've been a loyal .NET C# developer professionally for 15 years, and I really want to make nanoFramework work, so I can do all kinds of cool stuff using .NET on various MCUs (lots of projects in mind like aircraft instruments, avionics, Bitcoin Lightning nodes, decentralized social media mesh networks, etc), but the way things are going, I'm ready to throw it all in the trash, walk away, and never come back. If I don't get a satisfactory answer or fix to this problem soon, I'm out. |
Beta Was this translation helpful? Give feedback.
-
Hi Folks, The command: C:\Users\marti.dotnet\tools.store\nanoff\2.5.90\nanoff\2.5.90\tools\net8.0\any\esptool\esptoolWin>esptool --chip esp32 erase_flash did it for me too. It's now working as expected. Many thanks Martin |
Beta Was this translation helpful? Give feedback.
-
Tool
nanoff
Description
My device from "Freenove Super Starter Kit for ESP32-S3" is not found in the list of devices
How to reproduce
nanoff --target ESP32_S3_BLE --serialport COM5 --update --reset --masserase
nanoff --listdevices
Expected behaviour
I expect that the device is in the list
(I suppose it is why the device do no appear in the devices list in Visual Studio)
Screenshots
No response
Aditional context
I use :
Beta Was this translation helpful? Give feedback.
All reactions