A lot of values wrong in the "Defs" files?

Beta Testing discussion on mikroPascal PRO for PIC32.
Post Reply
Author
Message
Dany
Posts: 3854
Joined: 18 Jun 2008 11:43
Location: Nieuwpoort, Belgium
Contact:

A lot of values wrong in the "Defs" files?

#1 Post by Dany » 28 Apr 2021 19:31

Hi,
This post is related to the findings in thread viewtopic.php?f=164&t=66186&hilit=bootloader.

I do use mP for PIC32 version 4.0.0 (Which is the latest I think).

The errors in the defs files are:

1. in the *.mpas files residing in the DEFS folder (normally C:\Users\Public\Documents\Mikroelektronika\mikroPascal PRO for PIC32\Defs):
The value for "const __BOOT_FLASH_SIZE : dword = 0x00028000;" is wrong. The actual value is much lower, e.g. 00BF0 (see the Pic;s manual).

2. In the .mlk files residing also in the Defs folder:
The value for <MAX ADDR> for the rom memory is wrong:
<ROM>
<MIN_ADDR>0x1D000000</MIN_ADDR>
<MAX_ADDR>0x1D01EFFF</MAX_ADDR> <--- is usually FFFF in stead of EFFF
</ROM>

Apparently not only one (or a few) P32 pic's have wrong values in their Defs files. Also the following files (as far as I can see) have them:

For error1:
Boot_Size.docx
(13 KiB) Downloaded 90 times
For Error2:
Rom_Size.docx
(12.58 KiB) Downloaded 87 times

Thanks in advance for your reaction. :D
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)

Dany
Posts: 3854
Joined: 18 Jun 2008 11:43
Location: Nieuwpoort, Belgium
Contact:

Re: A lot of values wrong in the "Defs" files?

#2 Post by Dany » 05 May 2021 20:30

Is above statement correct or wrong? Anyone? mE?
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: A lot of values wrong in the "Defs" files?

#3 Post by filip » 06 May 2021 12:50

Hi,

We will check this and let you know ASAP.

Regards,
Filip.

Dany
Posts: 3854
Joined: 18 Jun 2008 11:43
Location: Nieuwpoort, Belgium
Contact:

Re: A lot of values wrong in the "Defs" files?

#4 Post by Dany » 15 Jun 2021 18:37

Any news?
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: A lot of values wrong in the "Defs" files?

#5 Post by filip » 18 Jun 2021 09:08

Hi,

These statements are correct, there is indeed an issue with the definition files.

I have notified the developers about each one.

I apologize for the inconvenience caused by this.

Regards,
Filip.

Dany
Posts: 3854
Joined: 18 Jun 2008 11:43
Location: Nieuwpoort, Belgium
Contact:

Re: A lot of values wrong in the "Defs" files?

#6 Post by Dany » 16 Nov 2022 11:10

Are there any corrected files available yet? I see that v4.0.0 still is the most recent one.
Thanks in advance.
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)

User avatar
filip
mikroElektronika team
Posts: 11874
Joined: 25 Jan 2008 09:56

Re: A lot of values wrong in the "Defs" files?

#7 Post by filip » 18 Nov 2022 10:40

Hi,

I'm afraid there aren't updates for this I'm afraid.

Regards,
Filip.

Dany
Posts: 3854
Joined: 18 Jun 2008 11:43
Location: Nieuwpoort, Belgium
Contact:

Re: A lot of values wrong in the "Defs" files?

#8 Post by Dany » 22 Nov 2022 18:24

filip wrote:
18 Nov 2022 10:40
Hi,

I'm afraid there aren't updates for this I'm afraid.

Regards,
Filip.
Hi Philip, are the PRO compilers still supported?
Kind regards, Dany.
Forget your perfect offering. There is a crack in everything, that's how the light gets in... (L. Cohen)
Remember when we were young? We shone like the sun. (David Gilmour)

chimimic
Posts: 178
Joined: 29 Sep 2007 14:35
Location: France
Contact:

Re: A lot of values wrong in the "Defs" files?

#9 Post by chimimic » 23 Mar 2023 09:31

Dany wrote:
22 Nov 2022 18:24
filip wrote:
18 Nov 2022 10:40
Hi,

I'm afraid there aren't updates for this I'm afraid.

Regards,
Filip.
Hi Philip, are the PRO compilers still supported?
+1
Would be nice to know...
Not yet convinced by Necto Studio...

Regards,
Remy

Post Reply

Return to “mikroPascal PRO for PIC32 Beta Testing”