Source Code download issue

Legacy OSTC's
Post Reply
Smiler1968
Posts: 94
Joined: Saturday 24. September 2011, 10:50

Source Code download issue

Post by Smiler1968 »

Hi Guys and girls,

I am trying to do a bit of fiddling with the safety stop depths on V2.51beta but I can't seem to download the source code. I can download the stable no problems but the beta is not there. I have a newish computer running XP and this is the first time I've tried the MPLAB software on it. I thought it might be an issue with my computer so i tried to download the code from another running VISTA but have had the same problem. Is there something wrong at your end HW or am I being dim (again)

Regards

Jerry
OSTC 2N #4571 South Devon and loving it
heinrichsweikamp
Posts: 4383
Joined: Sunday 13. May 2007, 18:07

Re: Source Code download issue

Post by heinrichsweikamp »

Hi,

The source code is hosted here: https://bitbucket.org/heinrichsweikamp/ - we need to change the download section on our webpage. Here, only HEX builds are available.

regards,
Matthias
Smiler1968
Posts: 94
Joined: Saturday 24. September 2011, 10:50

Re: Source Code download issue

Post by Smiler1968 »

Thanks very much for the very quick reply. I'll give that a go.

Regards

Jerry
OSTC 2N #4571 South Devon and loving it
Smiler1968
Posts: 94
Joined: Saturday 24. September 2011, 10:50

Re: Source Code download issue

Post by Smiler1968 »

Hi,

I downloaded what I thought was the v2.51 Beta source code and attempted a build but failed. I did faff about trying to find the code so figured I had downloaded the wrong file. I downloaded the v2.50 and tried a build on that but also failed. This is the message I am getting

Error - could not find definition of symbol 'deco_calc_CNS_decrease_15min' in file 'sourcecode250[1]\code_part1\OSTC_code_asm_part1\MAIN.o'.
Errors : 1

Any idea whatI may be doing wrong?

Regards

Jerry
OSTC 2N #4571 South Devon and loving it
JeanDo
Posts: 238
Joined: Monday 6. December 2010, 15:43

Re: Source Code download issue

Post by JeanDo »

Hi Jerry,

How did you setup your project ? MPLAB.X ?

Regards,
~~~~
JeanDo, http://ostc-planner.net, OSTC Mk.2 1455, 2N 2799, DR5 171.
Smiler1968
Posts: 94
Joined: Saturday 24. September 2011, 10:50

Re: Source Code download issue

Post by Smiler1968 »

Hi, I set it up using MPLAB IDE v8.87. I then used the wizard to set up the project. I followed the notepad instructions contained in the source code download, but get the build failed message.

I then changed the library output to 'build library target ( invoke MPLIB)' I cleaned and built all again and got a 'build succeeded' message. I don't recall changing that last time though (last time on my old computer, when I had it working I mean)

Does this sound right (before I flash it to my OSTC)

Regards

Jerry.
OSTC 2N #4571 South Devon and loving it
Smiler1968
Posts: 94
Joined: Saturday 24. September 2011, 10:50

Re: Source Code download issue

Post by Smiler1968 »

Ok should have checked before posting. That seems to have built a lib file and not a hex file, so won't be flashing anything at the moment.

Can't work out what I'm doing wrong this time.
OSTC 2N #4571 South Devon and loving it
Smiler1968
Posts: 94
Joined: Saturday 24. September 2011, 10:50

Re: Source Code download issue

Post by Smiler1968 »

Ignore me, all sorted.
OSTC 2N #4571 South Devon and loving it
Post Reply