issue with redboard upload of modified code

This might be the most basic question but I just got a Redboard kit. I usually use Arduino boards and have not had that issue in the past but this is for a school program and money was an issue so we bought the Redboards.

The board are connected to macbook air. They upload the code well and everything work but if I make any modification of the uploaded code although it verifies properly it does not upload the code to the board.

I get the following error message and the only way is for me to unplug the usb cable and pug it back again and upload again and it works.

Any thoughts would be much appreciated!!!

Arduino: 1.8.2 (Mac OS X), Board: “Arduino/Genuino Uno”

Sketch uses 1410 bytes (4%) of program storage space. Maximum is 32256 bytes.

Global variables use 29 bytes (1%) of dynamic memory, leaving 2019 bytes for local variables. Maximum is 2048 bytes.

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00

avrdude: stk500_recv(): programmer is not responding

avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00

Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.

This report would have more information with

“Show verbose output during compilation”

option enabled in File → Preferences.

I don’t know- the same thing happens to me occasionally no matter what board I use. Sometimes the Com Port just doesn’t appear as it should, and your method for fixing it is the same as what I use. Sometimes it resists even that, and I have to use a different USB port and try again, to get it to recognize the com port.