verification of pic code

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1104
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 453 times
Been thanked: 505 times
Contact:

verification of pic code

Postby Steve001 » Fri Jul 29, 2011 7:25 am

Morning all,

Is there way check the compiled code on the pic to my compiled flowcode program to see if they are the same ?

or is it upload in mplab and check line by line ? or is there a better way ?

Steve
Success always occurs in private and failure in full view.

User avatar
Steve
Matrix Staff
Posts: 3103
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 89 times
Been thanked: 391 times
Contact:

Re: verification of pic code

Postby Steve » Fri Jul 29, 2011 8:04 am

You can use PPPv3 to extract the program from the micro and then save it as a HEX file. Then you can use a file-compare tool to see what differences there are.

But this is not guaranteed to work as there may be subtle differences between the HEX files that make file-comparison difficult.
These users thanked the author Steve for the post:
Steve001 (Fri Jul 29, 2011 12:55 pm)
Rating: 5.26%
 

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1104
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 453 times
Been thanked: 505 times
Contact:

Re: verification of pic code

Postby Steve001 » Fri Jul 29, 2011 12:41 pm

thanks for that steve,

i wish to check my program, as a prototype that i made has failed during a test.
first thoughts where that the lcd display had failed as nonsence was displayed but replacing this made no differance.

I think a have a issue with EMF but would like to see what's happened to my program if i can

steve
Success always occurs in private and failure in full view.

User avatar
Benj
Matrix Staff
Posts: 14584
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4607 times
Been thanked: 4242 times
Contact:

Re: verification of pic code

Postby Benj » Fri Jul 29, 2011 3:18 pm

Hello,

Is the LCD on a ribbon cable or on flying leads by any chance? I think someone posted on the forums a while ago about how to condition cables over a few cm to allow the LCD to work.
These users thanked the author Benj for the post:
Steve001 (Sat Jul 30, 2011 4:17 pm)
Rating: 5.26%
 

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1104
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 453 times
Been thanked: 505 times
Contact:

Re: verification of pic code

Postby Steve001 » Fri Jul 29, 2011 9:42 pm

Hello benj,

My circuit is admittably made on vero boards that plug together through headers, the display and switches are at the front behind is my pic and behind that again is the power supply and a relay output and the analogue inputs.
This circuit has been working ok till now.
This is a prototype multi temperature measurement project that looks at circuit breaker connections to see if they are getting hot.
The test that was carried out on a 630 Amp circuit breaker that was connected to a busbar running at 3200Amps. Both these where running at 100% load

I am not certain but think that the magnetic fields that where generated have damaged the pic or scrambled it. I am looking to try and find out what has happened and why.

Steve
Success always occurs in private and failure in full view.

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1104
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 453 times
Been thanked: 505 times
Contact:

Re: verification of pic code

Postby Steve001 » Sat Jul 30, 2011 4:16 pm

just looked at it now, cannot upload contents (looks like pic is blank) ? think i have just answered my question
micro has had it :(

steve
Success always occurs in private and failure in full view.