Prevent erasing EEPROM during compiling

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
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Prevent erasing EEPROM during compiling

Post by Jan Lichtenbelt »

This there a possibility to prevent erasing the EEPROM during compiling the flowcode and laoding the program into the PIC, by e.g. changing the (PPP) paramters?

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: Prevent erasing EEPROM during compiling

Post by Benj »


User avatar
Jan Lichtenbelt
Posts: 797
Joined: Tue Feb 17, 2009 8:35 pm
Location: Haren GN, the Netherlands
Has thanked: 128 times
Been thanked: 264 times
Contact:

Re: Prevent erasing EEPROM during compiling

Post by Jan Lichtenbelt »

PPP V3 options allows to choose between erasing PIC micro before programming and a check on it.
I removed these options and close the windows with OK. Opening the PPP window again shows that my choosen options were removed. That means disabling the erase option was not accepted/ has been removed. Leaving me still with the problem of an EEPROM which gets erased.

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: Prevent erasing EEPROM during compiling

Post by Benj »

Hello Jan

I have replicated your problem. Hm.

One work around for now would be to rn PPP directly from the following location.

"C:\Program Files\Matrix Multimedia\Flowcode V4\Tools\PPP"

In here you can load the hex file produced by Flowcode and also modify the options so they remain static. I will look into why the options through Flowcode are changing back to their default settings.

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

Re: Prevent erasing EEPROM during compiling

Post by Steve »

It could be due to the "-cs" option. Because our PPP app is used by a number of different products, we had to invent a system where different "config slots" were available so that PPP could have a different set of options and configurations when used by different products.

When you launch PPP to set the options, you must launch it with the same "-cs" parameter as when you launch it to actually reprogram the device.

If you only ever intend to use PPP with Flowcode, then you can remove the "-cs X" parameter from both the "programmer" and the "programmer configuration" parameters.

Post Reply