Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 8 Replies) DFR0282 (Beetle, Arduino Lenonardo) (Read 553 times)
andy007
Junior Member
**
Offline


Posts: 14
Joined: Jun 4th, 2018
DFR0282 (Beetle, Arduino Lenonardo)
Mar 3rd, 2025 at 9:03am
Print Post  
There is a problem with uploading.

After many uploads, the upload no longer works.
Comport does not recognize the Beetle and resets it.
The port shows "Com6 - Arduino Leonardo (Arduino Leonardo)".
Data is sent to the terminal.

Then I go to IDE 2.x and program Blink at Beetle.
This only works if I press RESET when uploading (ICSP pins).

Then I go back to vs2022 and the next upload works.
The second upload does not work again.
Reset on ISP when uploading does not work on vs2022, why?

Where is the problem?
What is different on vs2022?
Regards
« Last Edit: Mar 4th, 2025 at 2:56pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12181
Location: United Kingdom
Joined: Apr 10th, 2010
Re: DFR0282 (Beetle, Arduino Lenonardo)
Reply #1 - Mar 4th, 2025 at 2:58pm
Print Post  
It will be related to a setting that you have changed. 

What are the states of the Dtr/Rts buttons on the serial monitor?

Please provide the information requested in the yellow box near the top of the page.
  
Back to top
IP Logged
 
andy007
Junior Member
**
Offline


Posts: 14
Joined: Jun 4th, 2018
Re: DFR0282 (Beetle, Arduino Lenonardo)
Reply #2 - Mar 4th, 2025 at 7:20pm
Print Post  
ON VS2022: DTR and RTS are ON on first tray put on the DFR0282 to USB, than the Data ist displayed on Monitor.
Program will not work. Reset joke on the Chip manual will not work. Messages are displayed Serial not available. COM6 is locket.

I try with Arduino IDE 2.x. DFR0282 will be program with blink, i must be use manual reset joke. after i can reprogram any time.

back to the vs2022: first i can program code and after reset montitor will displayed data. program again will not wotk (see above). im on loop...

VS2022 wil no more worket with the DFR0282 Beetle (Leonardo). All other UNO MEGA ESPxxxx NANO works fine.

I have testet 4 DFR0282, all have the same problem.
I think is a bug on VisualMicro or VS2022.  Undecided

regards
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12181
Location: United Kingdom
Joined: Apr 10th, 2010
Re: DFR0282 (Beetle, Arduino Lenonardo)
Reply #3 - Mar 4th, 2025 at 9:14pm
Print Post  
A leonardo upload has existed for many years. There are many settings that can be changed in Visual Micro that will cause a difference such as optimization, rts, board menu properties and other properties. 

The arduino ide doesn't provide most of them but it does provide the board menu properties. Reviewing your configuration might show that some of your defaults have been changed but will certainly show other valuable information. That's why we always ask for it.

If you have not already provided it then please follow the guide in yellow at the top of the page. In your case also enable vMicro>Uploader>verbose. Then build and upload after resetting the board. 

It's important to provide the information so that we can help you.
  
Back to top
IP Logged
 
andy007
Junior Member
**
Offline


Posts: 14
Joined: Jun 4th, 2018
Re: DFR0282 (Beetle, Arduino Lenonardo)
Reply #4 - Mar 5th, 2025 at 7:20am
Print Post  
Hello
I have uploaded via email the Text File.
But i see: DTR has no funktion on this chip.
re open Comport will not restart the chip.

Only when i connect to USB, the data will be displayed on monitor. Same as IDE 2 and VS2022.
The different is from VS2022 and IDE2 is:
IDE2 can reprogram, VS2022 not.
I think ther is a problem with com handling on vs2022 with die special chip version dfr0282 (alias beetle compatieble with Leonardo) i have no Arduino Leonardo at this time to test.
But i think Beetle has new bootloader type ther is not implemented on vs2022.

regards
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12181
Location: United Kingdom
Joined: Apr 10th, 2010
Re: DFR0282 (Beetle, Arduino Lenonardo)
Reply #5 - Mar 5th, 2025 at 4:17pm
Print Post  
Thanks for the upload output. We also need the info requested in the yellow box at the top of the page it shows the version of visual micro ans your build settings. Its important. 

Yes we extrended the leonardo upload a few months ago to cater for the updated spec.
  
Back to top
IP Logged
 
andy007
Junior Member
**
Offline


Posts: 14
Joined: Jun 4th, 2018
Re: DFR0282 (Beetle, Arduino Lenonardo)
Reply #6 - Mar 5th, 2025 at 6:46pm
Print Post  
Uploaded again via Email (Compile and Burning)
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12181
Location: United Kingdom
Joined: Apr 10th, 2010
Re: DFR0282 (Beetle, Arduino Lenonardo)
Reply #7 - Mar 5th, 2025 at 8:46pm
Print Post  
You have not enabled this

Enabled vMicro > Compiler > Show Build Properties

Please enable it and click Build>rebuild then email the output
  
Back to top
IP Logged
 
andy007
Junior Member
**
Offline


Posts: 14
Joined: Jun 4th, 2018
Re: DFR0282 (Beetle, Arduino Lenonardo)
Reply #8 - Mar 6th, 2025 at 9:59am
Print Post  
Sorry my fault!
upload again...
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12181
Location: United Kingdom
Joined: Apr 10th, 2010
Re: DFR0282 (Beetle, Arduino Lenonardo)
Reply #9 - Mar 7th, 2025 at 12:04am
Print Post  
Thanks for the info. We will test it next week and produce any required fix.

  
Back to top
IP Logged
 
andy007
Junior Member
**
Offline


Posts: 14
Joined: Jun 4th, 2018
Re: DFR0282 (Beetle, Arduino Lenonardo)
Reply #10 - Mar 8th, 2025 at 6:04pm
Print Post  
Hi
I have found an other Problem.
After reinstall i update the CH341 Driver.

On Chinese Site can't download err 404
(Driver are Blocked??)

Then i used my driver 3.8
ESP8266 don't run anymore. Serial not found an other errors.
Then i search on Github for the Driver and found CH341 V3.5
After deinstall 3.8 and new install 3.5 all ESP works.
I used Win11 22H2 newest Updates.

With the V 3.8 Beetle can NOT program to.
But the problems the same with IDE and VS2022.

I have tested this on a NEW / CLEAN installed Win11.
With NEW installed IDE 2. 

Maybe this will help to clarify the Beetle problem?
regards
« Last Edit: Mar 8th, 2025 at 6:05pm by andy007 »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12181
Location: United Kingdom
Joined: Apr 10th, 2010
Re: DFR0282 (Beetle, Arduino Lenonardo)
Reply #11 - Mar 8th, 2025 at 7:15pm
Print Post  
Normally the usb driver install for each platform is prompted to install when you install the board package.

If I recall the point of the leonardo is that it is usb capable and therefore does not need the a sperate mcu on the board to handle usb. Therefore the discussion of alternative/chinese drivers for cloned boards is not applicable.

You are using the standard arduino leonardo board selection so you can probably install the original arduino leonardo usb driver that the arduino cc avr board package installs.

You can find the driver for manual install "dpinst-amd64.exe", below the location of where your board package is installed. probably something like this...

C:\Users\[YOUR NAME]\AppData\Local\arduino15\packages\arduino\hardware\avr\1.8.6\drivers


  
Back to top
IP Logged
 
andy007
Junior Member
**
Offline


Posts: 14
Joined: Jun 4th, 2018
Re: DFR0282 (Beetle, Arduino Lenonardo)
Reply #12 - Mar 8th, 2025 at 7:26pm
Print Post  
I use no chines Boads, only original. 
On install IDE 2, no driver installed on Board added esp8266.


  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12181
Location: United Kingdom
Joined: Apr 10th, 2010
Re: DFR0282 (Beetle, Arduino Lenonardo)
Reply #13 - Mar 8th, 2025 at 7:38pm
Print Post  
Have you installed the arduino driver package i said to install?

Also send your output again because it shows the usb driver info. You have changed things since the last one.
« Last Edit: Mar 8th, 2025 at 7:39pm by Tim@Visual Micro »  
Back to top
IP Logged
 
andy007
Junior Member
**
Offline


Posts: 14
Joined: Jun 4th, 2018
Re: DFR0282 (Beetle, Arduino Lenonardo)
Reply #14 - Mar 9th, 2025 at 8:39am
Print Post  
Yes, same as before. 

Uno, Due, Mega, Nano and ESP8266 (NODEMCU V3, LOLIN d1 mini, ESP01) works fine. All other Serial Devices works without problem.

Beetle (DFR0282) alias Arduino Leonardo, works with IDE2 but NOT with VS2022

Now i have buy a ICSP Adapter from Chinese and will be program this poor beetle with Atmel-ICE programer.

I thin i will switch to d1 mini for the future.
regards

For ESP i must use the driver 3.5, windows update or driver 3.8 not work. after windows update i musst reinstall 3.5 driver again. (poor windows, the time to go is near).
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12181
Location: United Kingdom
Joined: Apr 10th, 2010
Re: DFR0282 (Beetle, Arduino Lenonardo)
Reply #15 - Mar 9th, 2025 at 2:04pm
Print Post  
Thanks for the clarification that usb drivers are working. Dont change anything, we will look at it and resolve issues next few days.
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12181
Location: United Kingdom
Joined: Apr 10th, 2010
Re: DFR0282 (Beetle, Arduino Lenonardo)
Reply #16 - Mar 9th, 2025 at 5:36pm
Print Post  
We have tried this with a DFR0282 and don't get a problem. We have to review your configuration in more depth...

Assuming you still have the "show build properties" enabled. Please follow each of these instructions:-

  • Click "Build>Clean Solution"
  • Click build and upload


Send us the output.

Thanks

info: You are using the official arduino.cc usb drivers. They would have been automatically installed when you enabled the avr code. The official arduino usb driver installs without prompt, silently, because it is a known safe install.

« Last Edit: Mar 9th, 2025 at 5:46pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12181
Location: United Kingdom
Joined: Apr 10th, 2010
Re: DFR0282 (Beetle, Arduino Lenonardo)
Reply #17 - Mar 10th, 2025 at 6:35pm
Print Post  
Also confirm if a simple test project such as blink uploads okay in vs2022 or not. 

Thanks
  
Back to top
IP Logged
 
andy007
Junior Member
**
Offline


Posts: 14
Joined: Jun 4th, 2018
Re: DFR0282 (Beetle, Arduino Lenonardo)
Reply #18 - Mar 21st, 2025 at 10:24am
Print Post  
Hi i have see all chips with CH340 Driver have many problems.
I not will reinstall the 3.5 driver on restart my win11.
ch340 R.I.P. i have buy all new chips with the cp210x serial driver
and now i use a ESP 8266 d1 mini pro and trowh all the beetle to the gully (no future).

i think the arduino ide will not solve the python serial problems an will not update to work with win11.

for beetle i try with pong pin adapter, but only works when not pin are mounted. Sad
for me beetle is dead. esp8266 many times faster and more ports and with 3.3v i can live.

thank you for try to help
regards
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint