Latest Configuration files

For questions and comments on programming in general. And for any items that don't fit into the forums below.

Moderators: Benj, Mods

Post Reply
Sean Danaher
Posts: 13
Joined: Thu Oct 15, 2009 9:16 am
Has thanked: 3 times
Been thanked: 1 time
Contact:

Latest Configuration files

Post by Sean Danaher »

Hi
we are using PPP with the EB006 pic programmer E-block (indeed we ordered 30 towards the end of last year). Because of University policy (I work at Northumbria) it is a real pain to install anything as I have to get technical support to do it. The strange thing is that when I installed the software on my laptop the newer config files must be present as I can see the new PIC 16F1827 without issues.

However the newest config file on the University Lab computers is ppp_config_data3 dated 12/06/2007. Sadly my laptop is at home put is there anyway someone can post the newest config files? I am hoping to use 16F1847 with our students next academic year.

Many thanks

Sean

Lecturer in Digital Electronics

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: Latest Configuration files

Post by DavidA »

Hello,

here is the config 3 file from the latest version of Flowcode:
ppp_config_data3.cfg
(1.35 MiB) Downloaded 362 times

Sean Danaher
Posts: 13
Joined: Thu Oct 15, 2009 9:16 am
Has thanked: 3 times
Been thanked: 1 time
Contact:

Re: Latest Configuration files

Post by Sean Danaher »

Hi Many thanks, however I think I also need the latest config 2 as the config 3 file seems to be exclusively 18 series? My other config files are equally ancient 2007 versions. I have my laptop today and the config files are September 2009 which has the 16F1827 config, but not the 16F1847. Possibly as we were supplied with 30 mini cds with the EB006 boards that they have different config files?

Sean

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: Latest Configuration files

Post by Benj »

Hello,

You will probably need a completely updated PPP as the new configs alone will probably not work with your current version.

Here is the complete up to date version. Note that I don't think this will work at all with our old legacy parallel based hardware.
PPP.zip
(1.29 MiB) Downloaded 344 times

Sean Danaher
Posts: 13
Joined: Thu Oct 15, 2009 9:16 am
Has thanked: 3 times
Been thanked: 1 time
Contact:

Re: Latest Configuration files

Post by Sean Danaher »

Ben
thanks. I have successfully installed and am programming a 16F1827 without any issues. I am aware that the newer PPP won't work on the old programmers.
Sean

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times
Contact:

Re: Latest Configuration files

Post by Enamul »

Are you sure that new ppp don't work with old programmer? Which version of programmer you mean old?
Enamul
University of Nottingham
enamul4mm@gmail.com

Sean Danaher
Posts: 13
Joined: Thu Oct 15, 2009 9:16 am
Has thanked: 3 times
Been thanked: 1 time
Contact:

Re: Latest Configuration files

Post by Sean Danaher »

Enamul
by old I mean c 2000 vintage. These used the parallel port of the PC. In fact I can no longer check as we have upgraded to new PCs without parallel ports. I know when I tried about 2 years ago that I had no success with the old programmers. Possibly they can be made to work. If so they might still be useful for student projects etc.
Sean

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times
Contact:

Re: Latest Configuration files

Post by Enamul »

OK. I see what you mean. Thanks
Enamul
University of Nottingham
enamul4mm@gmail.com

User avatar
mytekcontrols
Posts: 95
Joined: Sun Aug 19, 2007 6:38 pm
Location: Santa Rosa, California
Has thanked: 4 times
Been thanked: 7 times
Contact:

Re: Latest Configuration files

Post by mytekcontrols »

Benj you linked to an updated PPP zipped file that appeared to fix the PIC16F1847 configuration problem.

I am running Flowcode v4.5.18.74 and was not able to use this chip (the chip configuration would not match the chip number that had been set in the Project Options). So needing to use this chip, I downloaded the updated PPP, unzipped it, and placed the new PPP folder in my Flowcode V4/Tools directory after first renaming the original folder to PPP_old. Next I restarted Flowcode, checked that PIC16F1847 was selected in View-Project-Options, and went to the Chip Configuration where everything now appeared to be good, and set things up the way I needed them to be. So far so good.

Now for the problem... When "Compiling to HEX" I get the following two errors:
TransKey-II 0.1.c(202): Illegal redefinition of symbol: MX_EEADR
TransKey-II 0.1.c(213): Illegal redefinition of symbol: MX_EEDATA

If I take out the macro in my code that calls the EEPROM component then I can get a successful compile without errors, put it back in, and I get the same errors. I have attached my macro for reference.

Thanks for any help you can give me.

-Michael
Attachments
ClipBoard.fcm
(11.41 KiB) Downloaded 275 times
Michael St. Pierre
FlowCode V3&V4 Pro Registered User
Manufacture: Heat Load Controllers,
and a variety of other widgets.

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: Latest Configuration files

Post by Benj »

Hello,

It looks like the EEPROM defines are causing a problem on the device your using.

To work around this you can right click the EEPROM component and select Custom Code.

Select the EEPROMRead function and click edit code.

Add the text // to the start of the following lines to comment them out.

Line 11 and line 22.

You should end up with something like this.

Code: Select all

	char data = 0;

	#ifdef MX_EE
		#ifdef _BOOSTC

			#ifndef MX_EEADR
				#ifdef EEADR
					#define MX_EEADR eeadr
				#endif
				#ifdef EEADRL
					//#define MX_EEADR eeadrl
				#endif
			#endif
			#ifndef MX_EEDATA
				#ifdef EEDATA
					#define MX_EEDATA eedata
				#endif
				#ifdef EEDATAL
					#define MX_EEDATA eedatal
				#endif
				#ifdef EEDATL
					//#define MX_EEDATA eedatl
				#endif
			#endif
Click Ok and Close and your program should now compile correctly.

User avatar
mytekcontrols
Posts: 95
Joined: Sun Aug 19, 2007 6:38 pm
Location: Santa Rosa, California
Has thanked: 4 times
Been thanked: 7 times
Contact:

Re: Latest Configuration files

Post by mytekcontrols »

Benj it worked like a charm :D

Thank you ever so much.

Michael
Michael St. Pierre
FlowCode V3&V4 Pro Registered User
Manufacture: Heat Load Controllers,
and a variety of other widgets.

Post Reply