.hex files transfer between windows 7 X64 and windows xp

Programmer, In-Circuit Debugger, PIC Start-Up Kit, Memory Interface...

.hex files transfer between windows 7 X64 and windows xp

Postby compass1982 » Sat Apr 14, 2012 5:44 pm

hi all,
i am really stuck here. finally i got my microcode studio plus 3.0.0.5 installed in my windows xp (virtual pc mode). but due to in virtual pc mode the UIC00B could not be detected. so i copy the .hex file which compiled in xp mode to windows 7 to burn it into PIC using pickit2. but the code seems not to be working. may i know is it the pickit2 unable to recognize the .hex file generated by microcode studio (im using PICbasic pro as compiler)? or is there any changes while copying from xp mode to windows 7 environment?

help is much appreciated~! thanks~! :D
compass1982
Newbie
 
Posts: 9
Joined: Thu Mar 01, 2012 10:13 am

Re: .hex files transfer between windows 7 X64 and windows xp

Postby ABSF » Sat Apr 14, 2012 6:48 pm

Did you try with a code which was confirmed working?

Allen
The next war will determine NOT who is right BUT what is left.
User avatar
ABSF
Professional
 
Posts: 810
Joined: Wed Nov 10, 2010 9:32 am
Location: E Malaysia

Re: .hex files transfer between windows 7 X64 and windows xp

Postby compass1982 » Mon Apr 16, 2012 10:54 pm

i am not sure about my code. this is a sample code written by myself.

define osc 20
CMCON = 7
ADCON1 = 7
CVRCON = 0

trisb = %0000000
portb = 0
led var portb.6

Start:
led = 1
pause 50000
led = 0
pause 500
goto Start
compass1982
Newbie
 
Posts: 9
Joined: Thu Mar 01, 2012 10:13 am

Re: .hex files transfer between windows 7 X64 and windows xp

Postby ABSF » Tue Apr 17, 2012 8:17 am

Are you using 16F88?

Your code should work but you are switching on the LED for 50 seconds and off for 0.5 second. Are you able to see the blinking?

Allen
The next war will determine NOT who is right BUT what is left.
User avatar
ABSF
Professional
 
Posts: 810
Joined: Wed Nov 10, 2010 9:32 am
Location: E Malaysia

Re: .hex files transfer between windows 7 X64 and windows xp

Postby compass1982 » Tue Apr 17, 2012 9:18 am

hi Allen,

im using 16f877a. im using UIC00B and sk40c and pickit2 to download the program into pic. may i know is there any setting need to be made in pickit2?
compass1982
Newbie
 
Posts: 9
Joined: Thu Mar 01, 2012 10:13 am


Return to PIC Development Tool

Who is online

Users browsing this forum: No registered users and 23 guests