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

Post Reply
User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 460 times
Been thanked: 523 times
Contact:

verification of pic code

Post by Steve001 »

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: 3418
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times
Contact:

Re: verification of pic code

Post by Steve »

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.

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 460 times
Been thanked: 523 times
Contact:

Re: verification of pic code

Post by Steve001 »

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: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: verification of pic code

Post by Benj »

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.

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1189
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 460 times
Been thanked: 523 times
Contact:

Re: verification of pic code

Post by Steve001 »

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: 1189
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 460 times
Been thanked: 523 times
Contact:

Re: verification of pic code

Post by Steve001 »

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.

Post Reply