UTMonkey
Member
Dear All,
Sorry for the lack of information but I am not even sure where to start looking.
I coded an 18F2550 to use SPI + DS1306 in assembler (via a JuneBug) and it worked fine.
After a break in ASM to do a bit of C I thought I would revisit the previous code and convert it to C.
Running the original code (which used to worked fine) it is starting to demonstrate strange behaviour.
If I just Compile + Program + Run the code it halts at the same location every time ($13A), if I pad that area of code with NOP's and do the same again it still stops at the same location.
I have confirmed that there are no breakpoints in the code.
I can only assume that there may have been something in my previous C projects that have messed up the IDE?
Any ideas or suggestions?
Regards
Mark
Sorry for the lack of information but I am not even sure where to start looking.
I coded an 18F2550 to use SPI + DS1306 in assembler (via a JuneBug) and it worked fine.
After a break in ASM to do a bit of C I thought I would revisit the previous code and convert it to C.
Running the original code (which used to worked fine) it is starting to demonstrate strange behaviour.
If I just Compile + Program + Run the code it halts at the same location every time ($13A), if I pad that area of code with NOP's and do the same again it still stops at the same location.
I have confirmed that there are no breakpoints in the code.
I can only assume that there may have been something in my previous C projects that have messed up the IDE?
Any ideas or suggestions?
Regards
Mark