version (project module)

Discuss the Integrated Development Environment (IDE)

Moderators: David Barker, Jerry Messina

Post Reply
richardb
Posts: 310
Joined: Tue Oct 03, 2006 8:54 pm

version (project module)

Post by richardb » Tue Dec 08, 2009 12:38 pm

Hi I’m having some issues with the versioning module, in that it seems to reset back to 0 periodically and the rollover value is also resetting to 9. This wouldn’t be such a big deal but I’m using this to allow the user to see which version he has in case we need to update the firmware.

I’m checking my code into SVN periodically but the resetting doesn’t seem to correspond with this.

Does anyone have any ideas why its doing this? Has anyone else had the same problem ?
Hmmm..

richardb
Posts: 310
Joined: Tue Oct 03, 2006 8:54 pm

Post by richardb » Mon Aug 23, 2010 9:41 am

Not wishing to resurrect the dead, has anyone else come across this? And if so did you find any kind of work around ?
Hmmm..

User avatar
David Barker
Swordfish Developer
Posts: 1214
Joined: Tue Oct 03, 2006 7:01 pm
Location: Saltburn by the Sea, UK
Contact:

Post by David Barker » Fri Sep 10, 2010 1:32 pm

Version details are held in a *.sfp file. So if your project is called 'myprogram' the file created in your source root is called 'myprogram.sfp'. If this file is deleted, or the IDE cannot access for any reason, then information may be lost.

richardb
Posts: 310
Joined: Tue Oct 03, 2006 8:54 pm

Post by richardb » Mon Sep 13, 2010 3:19 pm

firstly welcome back and thanks for replying.

i don't open up this file in anything else so i dont know why it sould be blocked, unless svn is doing this but that seems unlikely that i would check in the project while i'm compiling.

Do check this file into SVN along with the other files so from now on i will keep an eye on this file in the future to see if i can work out when it happens.


Richard
Hmmm..

richardb
Posts: 310
Joined: Tue Oct 03, 2006 8:54 pm

Post by richardb » Wed Sep 22, 2010 9:53 am

It Just did it again.

this is the correct version.

[Project]
Filename=C:\sourcecode\HSI-MK2\pic\psu\masterHSIpic.bas
Root=0
[Environment]
CaretX=26
CaretY=18
Topline=1
[Version]
Enable=1
Rollover=9
Major=0
Minor=0
Release=2
Build=3
[Results]
Visible=1
Height=117
View=2
[Status]
Message=Success : 43409 program bytes used, 1081 variable bytes used
Image=0
[COMPILE_SUCCESS]
Device=18F6723
Clock=40
ROM_Used=43409
ROM_Available=131072
RAM_Used=1081
RAM_Available=3936
this is after a minor change in the code



[Project]
Filename=C:\sourcecode\HSI-MK2\pic\psu\masterHSIpic.bas
Root=0
[Environment]
CaretX=31
CaretY=931
Topline=919
[Version]
Enable=1
Rollover=9
Major=0
Minor=0
Release=0
Build=1
[Results]
Visible=0
Height=117
View=2
[Status]
Message=Ready
Image=0
[COMPILE_SUCCESS]
Device=18F6723
Clock=40
ROM_Used=43411
ROM_Available=131072
RAM_Used=1081
RAM_Available=3936
Hmmm..

User avatar
David Barker
Swordfish Developer
Posts: 1214
Joined: Tue Oct 03, 2006 7:01 pm
Location: Saltburn by the Sea, UK
Contact:

Post by David Barker » Thu Sep 23, 2010 4:56 pm

I'm not able to reproduce the error here - however, looking at the files it seems you are right in that it's getting reset. I'll certainly keep an eye on it and breakpoint the IDE when working on it.

If you can find a way to invoke the problem on demand, then please do let me know...

Post Reply