Additional library for MikroPascal PRO 2009
Thanks!yo2lio wrote:Library updated ! 08-July-2009
It's strongly recommended to reinstall MP_PRO_Library_V1_3
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)
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)
Library updated.
Additional library for MikroPascal PRO 2009 are available here :
http://www.microelemente.ro/MikroPascal ... y_V1_3.zip
added SaveAll procedure in pic_additional_string_library.
call this routine in main and interrupt routine, if you want to save FSRx and PRODx registers in interrupt.
Additional library for MikroPascal PRO 2009 are available here :
http://www.microelemente.ro/MikroPascal ... y_V1_3.zip
added SaveAll procedure in pic_additional_string_library.
call this routine in main and interrupt routine, if you want to save FSRx and PRODx registers in interrupt.
Best regards, Florin Andrei Medrea.
http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/
mail : florin@microelemente.ro
http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/
mail : florin@microelemente.ro
Library updated, recompiled all files with 3.0 version.
http://www.microelemente.ro/MikroPascal ... y_V1_3.zip
Example and documentations updated, changed SDMMC and Sensirion library.
http://www.microelemente.ro/MikroPascal ... xample.zip
http://www.microelemente.ro/MikroPascal ... y_V1_3.zip
Example and documentations updated, changed SDMMC and Sensirion library.
http://www.microelemente.ro/MikroPascal ... xample.zip
Best regards, Florin Andrei Medrea.
http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/
mail : florin@microelemente.ro
http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/
mail : florin@microelemente.ro
Is just placing a call to SaveAll and in the interrupt routine doing the job?yo2lio wrote:Added SaveAll procedure in pic_additional_string_library.
call this routine in main and interrupt routine, if you want to save FSRx and PRODx registers in interrupt.
Is this needed when using your MP Pro libraries?
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)
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)
Unfortunately, yes.Dany wrote:Is just placing a call to SaveAll and in the interrupt routine doing the job?yo2lio wrote:Added SaveAll procedure in pic_additional_string_library.
call this routine in main and interrupt routine, if you want to save FSRx and PRODx registers in interrupt.
Is this needed when using your MP Pro libraries?
This depend of interrupt code.
If interrupt routine don't use any FSR's registers you can not use this.
Best regards, Florin Andrei Medrea.
http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/
mail : florin@microelemente.ro
http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/
mail : florin@microelemente.ro
-
- Posts: 553
- Joined: 27 Feb 2006 17:00
- Location: Argentina
- Contact:
If you stay in Pascal, all is OK.Donald Shimoda wrote:Im confused.yo2lio wrote: If interrupt routine don't use any FSR's registers you can not use this.
You mind cannot use or dont need?
Best Regards.
If you use pointers also all is OK.
If you use ASM code, all is OK.
If you use FSR register, in this way:
Code: Select all
FSR1 := @variable;
POSTINC1 := 45;
etc;
For this I create SaveAll routine. This, must be called somewhere in Interrupt and in main routine. Only for P18.
Best regards, Florin Andrei Medrea.
http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/
mail : florin@microelemente.ro
http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/
mail : florin@microelemente.ro
-
- Posts: 553
- Joined: 27 Feb 2006 17:00
- Location: Argentina
- Contact:
And what happens when i use thirdy party libraries like yours? i must call SaveAll in my code?yo2lio wrote:then you must tell this to compiler... and this only in some particular cases, when compiler don't use FSRx registers itself.Code: Select all
FSR1 := @variable; POSTINC1 := 45; etc;
For this I create SaveAll routine. This, must be called somewhere in Interrupt and in main routine. Only for P18.
Donald Shimoda.
Only if you want!Donald Shimoda wrote: And what happens when i use thirdy party libraries like yours? i must call SaveAll in my code?
Best regards, Florin Andrei Medrea.
http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/
mail : florin@microelemente.ro
http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/
mail : florin@microelemente.ro
-
- Posts: 553
- Joined: 27 Feb 2006 17:00
- Location: Argentina
- Contact:
New version available.
Additional library for MikroPascal PRO 2009 are available here :
http://www.microelemente.ro/MikroPascal ... y_V1_4.zip
Added Fat32_SPI1 and Fat32_SPI2 library, thanks to Dany.
All about this new Fat32 library you will found here: http://users.edpnet.be/rosseel01/DRO/PIC/index.htm
Example, available soon.
Additional library for MikroPascal PRO 2009 are available here :
http://www.microelemente.ro/MikroPascal ... y_V1_4.zip
Added Fat32_SPI1 and Fat32_SPI2 library, thanks to Dany.
All about this new Fat32 library you will found here: http://users.edpnet.be/rosseel01/DRO/PIC/index.htm
Example, available soon.
Best regards, Florin Andrei Medrea.
http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/
mail : florin@microelemente.ro
http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/
mail : florin@microelemente.ro
All libraries and example updated.
In Ethernet library hardware check sum is not used any more, this according with ERRATA.
Enjoy!
In Ethernet library hardware check sum is not used any more, this according with ERRATA.
Enjoy!
Best regards, Florin Andrei Medrea.
http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/
mail : florin@microelemente.ro
http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/
mail : florin@microelemente.ro