Help! Cannot upload code on mac

Hey so I am on macOS Montery 12.4 (21F79) and I am trying to upload some code onto a bootleg board and the board is called Elegoo Mega 2560 Controller Board. here is a picture of my IDE view and ports.

Global variables use 965 bytes (11%) of dynamic memory, leaving 7227 bytes for local variables. Maximum is 8192 bytes.
avrdude: ser_open(): can't open device "/dev/cu.wlan-debug": Resource busy
ioctl("TIOCMGET"): Inappropriate ioctl for device
ioctl("TIOCMGET"): Inappropriate ioctl for device
User abort```

I aborted because it was taking too long. I have tried two cables and it has not solved the issue. Please help, Mac is so confusing to me.

maurice, welcome to the forum!

That doesn't look like a valid Arduino serial port. As its a clone (bootleg) board, you may need to install the CH340 driver:

Once you have done that and selected the board in the IDE, make sure to also select the correct serial port. It may look something like this:

/dev/tty.usbserial-A6004byf 9600

or simply:

/dev/tty.usbmodem

or

/dev/cu.usbmodem

Ok so it turned out that it wasn't working because my board was broken. i had previously short circuited my board and that's why it wouldn't work. so i bought a new $10 board off of amazon and everything worked swimmingly!
Thanks for your help!
Maurice

Next time that you break a board and ask for help, please provide that type of details :rofl: