It is currently 22 Oct 2018 10:54

All times are UTC + 1 hour




Post new topic Reply to topic  [ 729 posts ]  Go to page Previous  1 ... 45, 46, 47, 48, 49
Author Message
 Post subject: Re: PIC related website
PostPosted: 06 Dec 2014 19:59 
Offline

Joined: 18 Jun 2008 11:43
Posts: 3764
Location: Nieuwpoort, Belgium
Ref: http://www.libstock.com/projects/view/1068/article-ram-corruption-reasons-in-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.
There is a crack in everything, that's how the light gets in... (L. Cohen)


Top
 Profile  
 
 Post subject: Re: PIC related website
PostPosted: 31 Dec 2014 17:00 
Offline

Joined: 29 Sep 2007 14:35
Posts: 171
Location: France
Very useful !
Thanks Dany ! :D


Top
 Profile  
 
 Post subject: Re: PIC related website
PostPosted: 04 Jun 2015 20:51 
Offline

Joined: 18 Jun 2008 11:43
Posts: 3764
Location: Nieuwpoort, Belgium
Ref: http://www.libstock.com/projects/view/1068/article-ram-corruption-reasons-in-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.php?f=106&t=64658&start=6.

Also valid for mP for PIC, dsPIC/PIC24 and PIC32.

_________________
Kind regards, Dany.
There is a crack in everything, that's how the light gets in... (L. Cohen)


Last edited by Dany on 06 Jun 2015 19:32, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: PIC related website
PostPosted: 05 Jun 2015 13:31 
Offline

Joined: 29 Sep 2007 14:35
Posts: 171
Location: France
Thank you Dany ! :D


Top
 Profile  
 
 Post subject: Re: PIC related website
PostPosted: 07 Jun 2015 19:37 
Offline

Joined: 18 Jun 2008 11:43
Posts: 3764
Location: Nieuwpoort, Belgium
The document http://www.libstock.com/projects/view/1068/article-ram-corruption-reasons-in-mp-and-mb Ram Corruption sources has been updated.

_________________
Kind regards, Dany.
There is a crack in everything, that's how the light gets in... (L. Cohen)


Top
 Profile  
 
 Post subject: Re: PIC related website
PostPosted: 09 Jun 2015 12:45 
Offline

Joined: 18 Jun 2008 11:43
Posts: 3764
Location: Nieuwpoort, Belgium
2015-06-09: Updated the document http://www.libstock.com/projects/view/1068/article-ram-corruption-reasons-in-mp-and-mb again: added the "StrnCpy" issue and the concat (with +) issue for a var string + a const string.

_________________
Kind regards, Dany.
There is a crack in everything, that's how the light gets in... (L. Cohen)


Top
 Profile  
 
 Post subject: Re: PIC related website
PostPosted: 14 Feb 2017 12:29 
Offline

Joined: 18 Jun 2008 11:43
Posts: 3764
Location: Nieuwpoort, Belgium
The following tools have been updated: RomSize (v5.0), see Libstock https://libstock.mikroe.com/projects/view/410/tool-romsizes. The "address" column has been added.

Have fun! :D :D

_________________
Kind regards, Dany.
There is a crack in everything, that's how the light gets in... (L. Cohen)


Top
 Profile  
 
 Post subject: Re: PIC related website
PostPosted: 14 Feb 2017 20:37 
Offline

Joined: 18 Jun 2008 11:43
Posts: 3764
Location: Nieuwpoort, Belgium
Dany wrote:
The following tools have been updated: RomSize (v5.0), see Libstock https://libstock.mikroe.com/projects/view/410/tool-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.
There is a crack in everything, that's how the light gets in... (L. Cohen)


Top
 Profile  
 
 Post subject: Re: PIC related website
PostPosted: 15 Feb 2017 12:55 
Offline

Joined: 18 Jun 2008 11:43
Posts: 3764
Location: Nieuwpoort, Belgium
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.
There is a crack in everything, that's how the light gets in... (L. Cohen)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 729 posts ]  Go to page Previous  1 ... 45, 46, 47, 48, 49

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: