I encountered a problem with the compiler the other day. My SF project files seem corrupted. I am not sure if this is a Windows XP or hardware laptop problem or SF issue. So I am reporting it to share it with everyone.
My file starts with this:
Code: Select all
{
**********************************************************
* File Description: ---------------------------------------------------------- *
**********************************************************
}
Device = 18f2525
Clock = 20 'speed of HS
Config MCLRE = off
Config CP0 = On
Config CP1 = on
Config CP2 = on
#option USE_SOFTWARE_SPI = true
#option SSPI_SCK = PORTC.3
#option SSPI_SDI = PORTC.0
#option SSPI_SDO = PORTC.1
[Error] ****.bas(1): Invalid number
Line 1 is the beginning of the remark statement block. Why is the compiler issuing such error message?
Resulting from this, I suspect my other project modules were also compiled wrongly given to the recent failure of my project. I had to run back to my backup files (luckily I have them) and debug step by step. Finally, I found everything works!
BTW, I am still sticking to the SF version 2.0.0.2. A bit cautious to move on to the new version, as the old one seems to serve me well all this while.
So I advise everyone, back up your project files.
Regards,
Liak