Why are you giving 5V to pin 4?
Usually you should follow this procedure:
1) Start flash magic
2) Reset the board or switch power off then to on again.
3) Download the HEX file.
Have you read the flash magic manual?
Usually you should follow this procedure:
1) Start flash magic
2) Reset the board or switch power off then to on again.
3) Download the HEX file.
Have you read the flash magic manual?