Is the line finished with "resp=0x00"? Maybe you tried to upload the sketch to Arduino Nano and selected "nanoatmega328new" as the processor, but your board uses the old "nanoatmega328P" processor.
Please try to change the processor, and it should upload without error.