How to check whether program was uploaded to MCU

Hello-

I used my Arduino to program a separate MCU (ATMEGA328P) with minimal configuration. The program I uploaded I tested out on my Arduino and it worked fine in combination with a h-bridge and two motors and a HC-05 bluetooth module. The Arduino software said the upload was complete and that it uploaded to the separate MCU but when I configure the MCU into a breadboard with all necessary components and attempt to run my motors nothing happens. So I was wondering if it is possible to check whether the program actually transferred over to the desired MCU?

Thank you in advance for your response.

The Arduino IDE reads back the contents of the flash after writing them, and will show an error if the data in the flash doesn't match what it uploaded. ("verification error")

The problem is something else - probably a wiring issue.

immanueldoctor:
with all necessary components

Sure about that?

I normaly use i version no that I increase every time I compule/upload. One of my first line is alwayes

#define VERSION "0.50"
Serial.print(F("Version: ")); Serial.println(VERSION);.

Or you can use predefines macros:
Serial.print(DATE); Serial.println(TIME);.

Did you remember to check the fuses? Normally, you would use the IDE to flash the bootloader (fuses get set here.) Then you would upload your sketch. Then you would test, remove the uC, and put it in your bareboard.

You may find this useful:
Windiws script to duplicate firmware + fuses

Ray