PIC related website

General discussion on mikroPascal PRO for PIC.
Author
Message
Dany
Posts: 3854
Joined: 18 Jun 2008 11:43
Location: Nieuwpoort, Belgium
Contact:

Re: PIC related website

#721 Post by Dany » 06 Dec 2014 19:59

Ref: http://www.libstock.com/projects/view/1 ... -mp-and-mb Ram Corruption sources.

2014-12-06: added a nasty one: passing e.g. a byte as var parameter where a word parameter was expected and assigning a value to it inside the procedure.
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: PIC related website

#722 Post by chimimic » 31 Dec 2014 17:00

Very useful !
Thanks Dany ! :D

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

Re: PIC related website

#723 Post by Dany » 04 Jun 2015 20:51

Ref: http://www.libstock.com/projects/view/1 ... -mp-and-mb Ram Corruption sources.

2015-06-04: found again a nasty one (thanks to Jim Keuneman): possible Ram corruption when using '+' for string concatination (not quite the same as already mentioned in the article above): see http://www.mikroe.com/forum/viewtopic.p ... 58&start=6.

Also valid for mP for PIC, dsPIC/PIC24 and PIC32.
Last edited by Dany on 06 Jun 2015 19:32, edited 1 time in total.
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: PIC related website

#724 Post by chimimic » 05 Jun 2015 13:31

Thank you Dany ! :D

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

Re: PIC related website

#725 Post by Dany » 07 Jun 2015 19:37

The document http://www.libstock.com/projects/view/1 ... -mp-and-mb Ram Corruption sources has been updated.
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: PIC related website

#726 Post by Dany » 09 Jun 2015 12:45

2015-06-09: Updated the document http://www.libstock.com/projects/view/1 ... -mp-and-mb again: added the "StrnCpy" issue and the concat (with +) issue for a var string + a const string.
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: PIC related website

#727 Post by Dany » 14 Feb 2017 12:29

The following tools have been updated: RomSize (v5.0), see Libstock https://libstock.mikroe.com/projects/vi ... l-romsizes. The "address" column has been added.

Have fun! :D :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: PIC related website

#728 Post by Dany » 14 Feb 2017 20:37

Dany wrote:The following tools have been updated: RomSize (v5.0), see Libstock https://libstock.mikroe.com/projects/vi ... l-romsizes. The "address" column has been added.

Have fun! :D :D
The version has become v5.1: an error is corrected regarding constant sizecalculation for PIC23-dsPIC30/33.
Sorry for any inconvenience.
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: PIC related website

#729 Post by Dany » 15 Feb 2017 12:55

RomSizes tool:

Decided to go back to version 5.0: this version shows the actual rom size in bytes used by constants (= 1.5 times bigger than the number of bytes declarared in mP/mB) for PIC24 and P30/33..

For these types of CPU constants use only 2 bytes per 2 addresses, where 3 bytes per 2 addresses are available.

Sorry for the confusion.
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: PIC related website

#730 Post by Dany » 21 Aug 2023 19:39

Unfortunately I had to give up my website.
All code and examples should also be available in Libstock (I will check this to be true). Hasta la vista.
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)

Malcolm_M
Posts: 184
Joined: 12 May 2007 13:01
Location: Bristol, UK

Re: PIC related website

#731 Post by Malcolm_M » 22 Aug 2023 14:34

Hi Dany,

Many thanks for your extensive and valuable contributions over the years!!

Post Reply

Return to “mikroPascal PRO for PIC General”