I tried to upload my second program to the MSP-430EXPG2 emulation board running MSP430G2452 micro-controller (the 553 one's pin broke). My first program was a distance sensor to LCD screen program that worked properly. after some trouble with the male headers i decided to replace them with the female headers and tried to run the same program again, it still worked. after this i tried to modify the code a little so connected it back to my computer (windows 8.1, no USB hub) where device manager detected it, and showed its working properly, after which i tried to upload the new program to the board but get the following error:-
tilib: MSP430_OpenDevice: Could not find device (or device not supported) (error = 4)
tilib: device initialization failed
here i decided to check if this problem was with my computer by first connecting a duplicate board, first with the 553 then with the same 452, worked both times. why am i getting this error, if my original code is still working on the board?