PIC related website

General discussion on mikroPascal PRO for PIC.
Author
Message
joseLB
Posts: 444
Joined: 02 Apr 2006 05:56
Location: Riode Janeiro, Brasil

Re: PIC related website

#511 Post by joseLB » 29 Aug 2010 15:43

Great, Danny
It works like a charm!
Jose

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

Re: PIC related website

#512 Post by Dany » 02 Sep 2010 07:49

Hi, the "FunctionCall" tool (see http://www.mikroe.com/forum/viewtopic.p ... &start=509) graphical output can now be reduced in call level depth.

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

#513 Post by Dany » 09 Sep 2010 07:40

Hi, the FunctionCall tool (see http://www.rosseeld.be/DRO/PIC/index.htm#FunctionCalls), is now able to hide single routines (and their callees) and all routines of specific libraries/units in the graphical output. This makes the graphical output less loaded in some cases.

Image

Have fun! :D :D
Last edited by Dany on 27 Oct 2010 08:45, edited 2 times 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)

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

Re: PIC related website

#514 Post by Dany » 15 Sep 2010 12:54

Hi, the tool in the above post has been extended with the display capability of the "inverse" call graph: it show the tree of the callers of a certain routine (while the normal call tree shows the callees tree of a certain routine).

Example: The inverse call graph of routine "Search_Port"
Image

have fun! :D
Last edited by Dany on 26 Oct 2010 19:40, 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)

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

Re: PIC related website

#515 Post by Dany » 18 Sep 2010 17:50

Hi, the tool "Functioncalls' (see [urlhttp://www.rosseeld.be/DRO/PIC/index.htm#FunctionCalls[/url]) has been expanded with 2 extra graphical tree outputs:
- the "Module/Unit" graph: which units use which other units (1)
- the "routine" graph within one module (2)

have fun! :D

Example of (1):
Image

Example of (2):
Image
Last edited by Dany on 22 Apr 2011 19:45, edited 3 times 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)

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

Re: PIC related website

#516 Post by Dany » 23 Sep 2010 08:46

Hi, the tool "FunctionCalls" (see above post) had a number of enhancements since my last post on this subject:
detailed calling info about modules/units and procedures can be shown now in the graphical outputs.
The current version is 6.5.

p.s. This tool can also be used by mC and mB users!

Have fun! :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

#517 Post by Dany » 26 Sep 2010 19:31

Hi all,

The "USB_HID_Keyb_Library" unit (library) (see http://www.mikroe.com/forum/viewtopic.p ... &start=490) has been adapted: the possibility to also use the "power" keys on the keyboard (power, sleep, wake-up), which are not "normal" keyboard keys but "system" keys, has been added.
The example project has been adapted to the change.

Thanks Android for the example how to do it! (http://www.mikroe.com/forum/viewtopic.p ... 30&start=4) :D

Have fun! :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

#518 Post by Dany » 26 Oct 2010 19:30

Hi all,

The URL of the small PIC related website has been changed in: http://www.rosseeld.be/DRO/PIC/index.htm :D

Edited on 27-10-2010: URL changed to http://www.rosseeld.be/DRO/PIC/index.htm Sorry!
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

#519 Post by Dany » 01 Nov 2010 16:01

Hi, there is a new version of the FunctionCalls tool, version 7.0, see http://www.rosseeld.be/DRO/PIC/index.htm#FunctionCalls.

The main difference with the previous version is that it is capable to handle 2 routines with the same name residing in different units.
Since the name of the routine only may not be unique, the name of its unit/module is also displayed now in the lists of callers and callees:

Image

In this version only the project's list file is used, the callertable is not used any more (the routine names are not unambiguous in that table, see http://www.mikroe.com/forum/viewtopic.php?f=86&t=27303.)

On the test project in http://www.mikroe.com/forum/viewtopic.php?f=86&t=27303, the caller graph shows the following difference between the old version and the current version of the tool:

-- old tool version --
Image

-- tool version 7.0 --
Image

Have fun! :D

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

Re: PIC related website

#520 Post by Dany » 25 Nov 2010 20:34

Ref: http://www.mikroe.com/forum/viewtopic.p ... 1&start=42
sem wrote:I'm sorry but i don't understand how to replace/Install the dany libraries.
Copy and paste in the P18 folder ?
Hi Sem, are you referring to this post: http://www.mikroe.com/forum/viewtopic.p ... 1&start=35 or to the unit's i've made to be used in mP (http://www.rosseeld.be/DRO/PIC/index.htm#PIC_Units)?
If you refer to the latter then yes, add them to the uses\P18 and/or uses\P16 folder.

Personally I use a separate folder for them and add the used units to the projects that use them (in the project manager), a way to keep the uses\Pxx directories clean.
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)

sem
Posts: 12
Joined: 27 May 2009 11:08

Re: PIC related website

#521 Post by sem » 29 Nov 2010 12:27

Ok... I would like to know how to use the "unofficial" unit of mikropascal pro.
I had unzipped and copy to the P18 folder.
Now , i use in a "uses" part, " uses __Lib_Conversions,__Lib_MathDouble, fpmath;"
I can see the new functions in the library manager, but there is not the MATH functions in the library7 manager.
Why? Where i can found int, trunc, round functions ?
Thanks, Sem

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

Re: PIC related website

#522 Post by Dany » 29 Nov 2010 12:43

sem wrote:Ok... I would like to know how to use the "unofficial" unit of mikropascal pro.
I had unzipped and copy to the P18 folder.
Now , i use in a "uses" part, " uses __Lib_Conversions,__Lib_MathDouble, fpmath;"
I can see the new functions in the library manager, but there is not the MATH functions in the library7 manager.
Why? Where i can found int, trunc, round functions ?
Thanks, Sem
Hi, I assume you refer to the "PascalFunctions.mpas" unit.
It says in the header:
{$DEFINE FpMath_Janni_Yo2Lio} // only to be "defined" if "FpMath" from Janni/Yo2lio is used!
// This "define" can only be used with P18 PIC's!

uses BitUtils // for the Bit functions
, __Lib_Trigon
{$IFDEF FpMath_Janni_Yo2Lio}
, FpMath
{$ENDIF}
;

{ Remark:
If "FpMath_Janni_Yo2Lio" is "defined" then also include "FpMath" library in the
uses clause of the using program/unit
}
So, you have 2 choices here:
- if you have installed the replacement libray of Janni/Yo2lio then define "FpMath_Janni_Yo2Lio"
- if you do not have installed the replacement libray of Janni/Yo2lio then UNdefine "FpMath_Janni_Yo2Lio"
In the first case some of the functions provided come out of the lib of Janni/Yo2lio, in the latter case all functions come out of "PascalFunctions.mpas".

You can find the Janni/Yo2lio replacement libs in: http://www.mikroe.com/forum/viewtopic.php?t=21871
but there is not the MATH functions in the library7 manager
No, the mE math functions are in the "trigon" library, see http://www.mikroe.com/forum/viewtopic.p ... 9&p=134075.
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)

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

Re: PIC related website

#523 Post by janni » 29 Nov 2010 14:22

Please sem, go back to replacement libs topic here as this is clearly a misunderstanding.
You're trouble concerns these libs, but as you asked about Dany's libs, Dany answered trying to connect your problem with his libs.

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

Re: PIC related website

#524 Post by Dany » 29 Nov 2010 21:37

janni wrote:...but as you asked about Dany's libs, Dany answered trying to connect your problem with his libs.
:oops: :oops: :mrgreen:
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)

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

Re: PIC related website

#525 Post by janni » 30 Nov 2010 00:03

The things people are ready to do to help others... :twisted: :twisted: :mrgreen:

Post Reply

Return to “mikroPascal PRO for PIC General”