Whenever i try to upload code into my Arduino Mega it cannot find the port,it does show a port called COM1 but if i try uploading with that one it doesnt work and just shows errors,the problem might be a driver issue but i tried everything and nothing works,in device manager whenever i connect my arduino mega it just shows some Unknown USB Device(Device Descriptor Request Failed) am not entirely sure what that means but its like the firmware is corrupted or something.
ATmega 16U2,but this board is working i used it in school and everything worked perfectly it connected to the software and could upload its just a driver issue probably
Your screen shot is not readable, read the forum guidelines and post it properly. Are you trying to program with two different computers where one works and one does not? Do these happen to be Windoz machines? If Windoz you probably have a driver problem possible you have a CH340 on the board but not the driver in your non working machine. Also did you pick the correct Arduino in the tools menu?
I might try reinstalling windows if it will fix it, i did download like tons of drivers but the board is still not working, maybe the drivers are interfering with each other
There only is one driver active; so they can't interfere. But Windows might pick the wrong one.
The driver for the 16U2 is available in C:\Users\yourUsername\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\drivers; right click arduino.inf and click Install.
They will also be installed if you downgrade the AVR platform using the board manager (and (advisable) next upgrade again).