USB Host shield attached to arduino mega does not upload the code

There are some bad USB host shields floating around. The following may help.