Identification

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 2 and 3.

Moderators: Benj, Mods

Post Reply
Gnu
Posts: 20
Joined: Mon Apr 16, 2007 6:59 pm
Location: UK
Contact:

Identification

Post by Gnu »

Is it possible, using Flowcode and PPP, to enter some form of signature, eg 'Program X May 2007' into a PIC, which can then be read by PPP at a later date for contents identification purposes ?

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Post by Steve »

There are 4 words (13-bits each) available for such identification purposes. These are in config locations 0x2000 to 0x2003.

To write to them, put something similar to the following into the first window of the "supplementary code" feature of Flowcode:

Code: Select all

#pragma DATA 0x2000, 0x1234
#pragma DATA 0x2001, 0x3456
#pragma DATA 0x2002, 0x1999
#pragma DATA 0x2003, 0x1F27
Each bit of data must be between 0x0000 and 0x3FFF.

To read this data back, open PPP and select "View..View PICmicro". Your data will be shown in the "ID Vals" section at the bottom of the page.


Would a feature similar to this be a worthwhile addition to Flowcode? I could even make Flowcode (optionally) set aside some program memory for the entry of a short identification string. Flowcode could then possibly be set up to read this back at a later data.

Gnu
Posts: 20
Joined: Mon Apr 16, 2007 6:59 pm
Location: UK
Contact:

Post by Gnu »

Steve,

Thanks for the useful reply. In answer to your query, the chance of entering and reading a string rather than 4 hex numbers would be a really useful addition (for me). At the same time, would you consider two other changes ?

1 When printing a flowchart, only the description, not the name, appears. I need to put the name in the description box to get it on paper.

2 Possibility of printing the table of variables.

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Post by Steve »

Good suggestions - I'll add them to the list.

Post Reply