Why does the PIN 13 LED of Uno R3 blink every time I upload some code?
See What happens when code is uploaded using the bootloader? - the flashing is by design.



Probably the reason is to confirm that the bootloader has started.