OK, I got another problem now..
When I compile my code withit doesnt update the .hex file so I cant transfer my new program..
Whats wrong?
OK, I got another problem now..
When I compile my code withit doesnt update the .hex file so I cant transfer my new program..
Whats wrong?
Probably updating the wrong .hex file in the wrong directory...unless it's not fully compiling in the first place (i.e. errors).
Check the date/time on your file, compare it to the current (last compiled) date/time, then go searching for where you file was saved.
If you're talking about the programmer itself...you're on your own there...
Hmm, if I take "save as" and save it to another name and then taking compile again..
I see a new hex file appear with the new name but it still the same as the old code..
:/
Thats what im doing..
Casue this the source code, right?
http://img529.imageshack.us/img529/6991/coderm3.jpg
What?
I first made a easy program that only made RB1 "blink" and I compiled it and transfered it over..
Then I made this code and when I compiled it the hex file still had the old easy program.
Code:@ device pic16F648A, hs_osc, wdt_on, mclr_on, lvp_off, protect_off DEFINE OSC 20 loop: high portb.0 pause 250 High portb.1 pause 250 high portb.2 pause 250 low portb.0 pause 250 low portb.1 pause 250 low portb.2 pause 250 goto loop end
So the Problem is: if I change the source code and compile it doesnt update the hex file.
Bookmarks