v5.60 configuration files

Beta Testing discussion on mikroPascal PRO for PIC.
Post Reply
Author
Message
janni
Posts: 5373
Joined: 18 Feb 2006 13:17
Contact:

v5.60 configuration files

#1 Post by janni » 12 Apr 2012 16:33

Configuration files shipped with newest version cannot be opened ('Scheme file description(s) do not match' error) :( .
For the few cases I checked, it seems that in new mlk files the old 'Config Register Write Protection' was replaced with 'Configuration Register Write Protection' and this causes conflict.

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

Re: v5.60 configuration files

#2 Post by zristic » 12 Apr 2012 16:42

Hi,
I tried few schemes as well, but they did not fail. Do you have exact names so we can check?
Thanks.

janni
Posts: 5373
Joined: 18 Feb 2006 13:17
Contact:

Re: v5.60 configuration files

#3 Post by janni » 12 Apr 2012 18:03

For example, P18F2620, P18F4520, P18F8722, etc.

BTW, all scheme files are dated on 2011-09-16.

User avatar
zristic
mikroElektronika team
Posts: 6608
Joined: 03 Aug 2004 12:59
Contact:

Re: v5.60 configuration files

#4 Post by zristic » 13 Apr 2012 09:39

True. :oops:
Thanks for reporting the issue.

janni
Posts: 5373
Joined: 18 Feb 2006 13:17
Contact:

Re: v5.60 configuration files

#5 Post by janni » 13 Apr 2012 14:43

Unfortunately, the same concerns new versions of mB and mC for PIC :( .

Naturally, if one saved own configuration under previous compiler version, such scheme also may not be read with new version, so here's a way to fix older cfgsch files:
- open the scheme file with text editor,
- find '<NAME>Config Register Write Protection</NAME>' field,
- change it to '<NAME>Configuration Register Write Protection</NAME>'.

For processors with oscillator switchover option it may be necessary to change also
<NAME>Int/Ext Oscillator Switchover</NAME>
to
<NAME>Internal/External Oscillator Switchover</NAME>

Another difference I've found (there may be more for specific processors):
'Write/Erase Protect Page Start/End' needs to be replaced with 'Write/Erase Protect Page Start/End Location'.

Post Reply

Return to “mikroPascal PRO for PIC Beta Testing”