PIC related Website

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

Re: PIC related Website

#16 Post by Dany » 30 Jan 2012 11:56

Hi, the Fat32_cf, Fat32_ide, Fat32_2.cf, Fat32_2.ide and the ide libraries have been added, see http://www.rosseeld.be/DRO/PIC/libraries.htm#fat_units or http://www.libstock.com/projects/view/58/fat.

Have fun! :D :D
Last edited by Dany on 30 Nov 2013 17:22, 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

#17 Post by Dany » 08 Feb 2012 17:13

Hi, a new tool has been published on the website: User_Libraries, see http://www.rosseeld.be/DRO/PIC/tools.htm#userlibraries.

This tool permits to change the order of "user" libraries defined in the .MLK file of a certain processor/compiler combination. The correct order in the processor's .MLK file is needed because libraries that are "used" by others need to be defined "above" their "using" ones. The wrong order can occur if the "library dependancies" were not defined correctly or libraries were installed (usually manually) in a wrong order.
The tool only works when invoked from the IDE. See below "Tool Installation" for the settings.

Screen shot:
Image

Tool installation: http://www.rosseeld.be/DRO/PIC/User_Libraries_Tool.jpg

p.s. This correct order of library definitions in the processor's .mlk file is only required if no source file is available or there are no "uses" statements in the source file.
Last edited by Dany on 30 Nov 2013 17:22, 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

#18 Post by Dany » 26 Feb 2012 16:08

Hi, the tool "RamSizes" (see http://www.rosseeld.be/DRO/PIC/tools.htm#RamSizes) is compatible now with dsPIC/PIC24, next to PIC.
As before the compilers mP, mC and mB are supported.

Have fun! :D
Last edited by Dany on 30 Nov 2013 17:23, 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

#19 Post by Dany » 20 Mar 2012 20:20

Hi, the USB HID, CDC and MSD libraries for PIC24 are published, see http://www.rosseeld.be/DRO/PIC/libraries.htm#usb_units,
"USB_OA_PIC24.mpkg" and "USB_OA_PIC24.zip".

The same library can also be found in LibStock: http://www.libstock.com/projects/view/71/usb-oa, the PIC 24 files.

Have fun!
Last edited by Dany on 30 Nov 2013 17:23, 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

#20 Post by Dany » 29 Mar 2012 17:51

Hi, the USB Libraries for PIC24 "new architecture (NA)" are published, see http://www.rosseeld.be/DRO/PIC/libraries.htm#usb_units, "USB_NA_PIC24.mpkg" and "USB_NA_PIC24.zip". The "new architecture" USB library permits to make composite USB devices (e.g. HID + MSD).

The same library can also be found in LibStock: http://www.libstock.com/projects/view/72/usb-na, the PIC 24 files.

Have fun!
Last edited by Dany on 30 Nov 2013 17:24, 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

#21 Post by Dany » 06 Apr 2012 19:01

Hi, a new tool has been added to the website, see http://www.rosseeld.be/DRO/PIC/tools.htm#configtool.
Tool that shows the project's configuration words content, the MCU type and the MCU clock frequency.
This permits to add (part of) the configuration settings in a comment box in your project.
The tool only works when invoked from the IDE.

Works for the PIC and the dsPIC compilers (mP, mC and mB).

Image

The items "Crystal" or "Ext. Clock" can be added manually if appropriate.

have fun! :D
Last edited by Dany on 30 Nov 2013 17:24, 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

#22 Post by Dany » 01 Jun 2012 18:18

Hi,

There is a new version of "StrngUtils" (part of the "Utilities" package) on the website (http://www.rosseeld.be/DRO/PIC/libraries.htm#StrngUtils) and on Libstock (http://www.libstock.com/projects/view/39/utilities).
The reason: the "...2Str..." routines returned a wrong output (empty string) with an input value of zero. The new version returns correctly "0". Sorry for the inconvenience.

Thanks to TurboProgger for the problem report!
Last edited by Dany on 30 Nov 2013 17:25, 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

#23 Post by Dany » 11 Jun 2012 09:19

Hi, there is a new version of the "Schedulers" package (http://www.libstock.com/projects/view/103/schedulers or http://www.rosseeld.be/DRO/PIC/librarie ... uler_units): the library "StateMachine" has been added.

Documentation: http://www.rosseeld.be/DRO/PIC/StateMachine.pdf.

Have fun!
Last edited by Dany on 30 Nov 2013 17:25, 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

#24 Post by Dany » 13 Jun 2012 19:49

Hi, again there is a new version of the "Schedulers" package (http://www.libstock.com/projects/view/103/schedulers or http://www.rosseeld.be/DRO/PIC/librarie ... uler_units): the library "StateMachine_2" has been added.

It is an extended version of "StateMachine": it permits to create more than one state machine in a project. This allows to create superstates (states with their own state machine) and concurrent statemachines.

Documentation: http://www.rosseeld.be/DRO/PIC/StateMachine_2.pdf.

Have fun!
Last edited by Dany on 30 Nov 2013 17:26, 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

#25 Post by Dany » 26 Jun 2012 18:47

Hi all,

2012-06-26: The library "StrngUtils" has been updated in the "Utilities" package (http://www.libstock.com/projects/view/39/utilities or http://www.rosseeld.be/DRO/PIC/librarie ... lity_units):
- the routine "Float2Str" does proper rounding now,
- the routine "Real2Str" has been added. The specifications are the same as in Janni's replacement libraries.
Last edited by Dany on 30 Nov 2013 17:26, 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

#26 Post by Dany » 03 Jul 2012 21:20

Hi,

* 2 new libraries were added in the "Schedulers" package (http://www.libstock.com/projects/view/103/schedulers or http://www.rosseeld.be/DRO/PIC/librarie ... uler_units):

1. "Timers" (http://www.rosseeld.be/DRO/PIC/libraries.htm#Timers), permits the easy creation of a number of timers in your project,

2. "Cos_TimedOnly" (http://www.rosseeld.be/DRO/PIC/librarie ... _TimedOnly), is the same as "Cos", but only for timed tasks.


* The "Debug" library in the <u>"Utilities" package</u> has been updated with "size dependant" (e.g. byte size) routines. They have the advantage of less resource usage. See http://www.libstock.com/projects/view/39/utilities or http://www.rosseeld.be/DRO/PIC/libraries.htm#Debug


* Additionally the libraries "Cos" and "Timebase" in the "Schedulers" package (http://www.libstock.com/projects/view/103/schedulers or http://www.rosseeld.be/DRO/PIC/librarie ... uler_units) were updated.

Have fun! :D
Last edited by Dany on 30 Nov 2013 17:27, 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

#27 Post by Dany » 13 Jul 2012 21:01

Hi,

There is a new library: Menus (see http://www.rosseeld.be/DRO/PIC/librarie ... enus_units or http://www.libstock.com/projects/view/385/menus), capable of handling text menus in an easy way.

Documentation:http://www.rosseeld.be/DRO/PIC/Menus.pdf

Have fun!
Last edited by Dany on 30 Nov 2013 17:28, 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

#28 Post by Dany » 18 Jul 2012 19:35

Hi, a new library has been added to the "Utilities" package: the Button_Utils library. (see http://www.libstock.com/projects/view/39/utilities)

This library provides two “button” related types of behaviour that often are wanted in a project:
- Every time a button is pushed, something must happen once, or
- A button must be “autorepeating”: something must happen when the button is pushed and after
that something must happen every xxx milliseconds as long the button is pushed.

Those two parts of this library function completely independent of each other.

Documentation: http://www.rosseeld.be/DRO/PIC/Button_Utils.pdf

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

#29 Post by Dany » 23 Jul 2012 19:37

Hi, there is a new version of the "Fat" package, see http://www.libstock.com/projects/view/58/fat or http://www.rosseeld.be/DRO/PIC/libraries.htm#fat_units.

Library version 2.100:

Only one version (hardware independant) of Fat32 and Fat32_2 exists from now onwards, the separate mmc, cf and IDE versions are gone.
All routines in the library also lost their "hardware" (e.g. "mmc_") prefix.

In return the using software must provide the "hardware dependancy" in the form of 2 routines:

Code: Select all

function Fat32_Dev_Read_Sector (Sector: DWord; var Buffer: array[512] of byte): boolean;  // returns true when successfull
function Fat32_Dev_Write_Sector(Sector: DWord; var Buffer: array[512] of byte): boolean;  // returns true when successfull
I personally think this approach to construct the library is much better than the previous one (wich was simply a mistake... :oops: )

Have fun! :D
Last edited by Dany on 30 Nov 2013 17:28, 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

#30 Post by Dany » 01 Aug 2012 10:24

2012-08-01.
Fat32 and Fat32_2 library changes: (see http://www.libstock.com/projects/view/58/fat or http://www.rosseeld.be/DRO/PIC/libraries.htm#fat_units.)

- Deleted an error in "MakeNewFile". (sorry for the possible inconvenience).
- Changed the signature and usage of "Fat32_Delete": the file needs not to be open before deletion. The name of the file to delete is required as function argument now.
Last edited by Dany on 30 Nov 2013 17:29, 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)

Post Reply

Return to “mikroPascal PRO for dsPIC30/33 and PIC24 General”