Raspberry Pi issue

Hi, Everyone. I am using raspberry pi 3 model B operating system.In this while I am uploading my arduino sketch every time my pc gets strucks. I have to unplug my power and plug it to work. Can any one help me plzz....

Are you are using the “MY DEVICES” and "CREATE " ?

If so you need to add a lot more detail.