makerbase-mks / MKS-TinyBee

MKS TinyBee is a mainboard for 3d printing, based on ESP32 module
GNU General Public License v3.0
110 stars 112 forks source link

Unable to upload to Tinybee, Access is denied #30

Open Wallnutts opened 2 years ago

Wallnutts commented 2 years ago

Hi, im unable to flash and upload to my tinybee board using usb C cable as it gives me the error below. Tiny bee does show up and is detected in device manager.

image

I can only update firmware through access point + esp3d interface using OTA update.

Any idea how to fix?

MKS-hosiey commented 2 years ago

This is that the motherboard cannot connect to VScode, you can troubleshoot by doing the following:

  1. Use the switching power supply to supply power to the motherboard
  2. Do not open other software that can occupy the serial port on the computer
  3. Check whether the com port is com6 in the computer device manager
Wallnutts commented 2 years ago
  1. Tried plugging 24v power input but same result
  2. No other software is using my serial ports
  3. Vscode detects the correct com port as checked in device manager
MKS-hosiey commented 2 years ago

Restart the computer and try to connect several times but still can't connect?Try unplugging other wiring on the motherboard, including lcd, driver, enstop, etc.

Fbn-lab commented 2 years ago

你可以使用esp32量产工具进行擦除芯片数据,以挽救网络设置,程序的问题

ForOfJaime commented 1 year ago

Hello, I have a very similar problem, everything compiles fine but when uploading it can't connect to the board

Fbn-lab commented 1 year ago

@ForOfJaime try to delete the package all about esp32 in (pio home/platforms ) or (C:\Users\Administrator.platformio\packages) and rebuid your project

ForOfJaime commented 1 year ago

@Fbn-lab > @ForOfJaime try to delete the package all about esp32 in (pio home/platforms ) or (C:\Users\Administrator.platformio\packages) and rebuid your project I have tried what you say to delete those folders and still the same image

Fbn-lab commented 1 year ago

@ForOfJaime may be it is a err from hardware or serial driver。try download flash tool to clean the memory (https://www.espressif.com.cn/sites/default/files/tools/flash_download_tool_3.9.3.zip).and make true link the motherboard correctly。I have a similar Mistake before . But after reset memory everything is ok .I think (#ESPWIFI SUPPORT)is the cause of the problem

ForOfJaime commented 1 year ago

@Fbn-lab > @ForOfJaime may be it is a err from hardware or serial driver。try download flash tool to clean the memory (https://www.espressif.com.cn/sites/default/files/tools/flash_download_tool_3.9.3.zip).and make true link the motherboard correctly。I have a similar Mistake before . But after reset memory everything is ok .I think (#ESPWIFI SUPPORT)is the cause of the problem i try to make a clean flash image

image But this is the results. Nothing: image

Fbn-lab commented 1 year ago

@ForOfJaime will your board download normally at first?try change a usb cable?update driver(https://www.wch.cn/downloads/CH341SER_EXE.html)?I'm sorry.I don't have any better idea

L-student commented 10 months ago

@ForOfJaime Did your problem was solve? I'm having the same error trying to dowload my code to tinybee.

mlewis-everley commented 7 months ago

@ForOfJaime Did your problem was solve? I'm having the same error trying to dowload my code to tinybee.

I am seeing this issue as well. @ForOfJaime any news?