* * *

Author Topic: PicPas, Pascal compiler for Microchip PIC  (Read 10244 times)

Edson

  • Hero Member
  • *****
  • Posts: 753
Re: PicPas, Pascal compiler for Microchip PIC
« Reply #90 on: July 14, 2017, 10:53:46 pm »
Hello, here my first real PicPas application. It works!
Erni

Excelent. A very good application. Feel free to make suggestion about the compiler.

Quote
This program uses 3 bytes of RAM (4,7%) and 44 bytes of FLASH (4,3%)

PicPas is probably, the most optimized compiler for the Mid-Range PIC.  :D
MikroPascal and MikroC would have used at least, 16 bytes of RAM.
Lazarus 1.6 - FPC 3.0.0 - x86_64-win64 on  Windows 7

Erni

  • New member
  • *
  • Posts: 9
Re: PicPas, Pascal compiler for Microchip PIC
« Reply #91 on: July 15, 2017, 09:22:59 am »
OK, here is my wishlist:
The black background maybe very hacker-like, but it's hard to read.
At first I had to edit the colors. I like the blue background or the white,
that was in the first versions of PicPas and shown on the Github-Page.
So I wish a few loadable skins :)

A binary notation for numbers, like 01101001B or %01101001.
This makes bit-settings in the registers easyer.

A menu to setup the config-word.
Now I have to set the Config-Word with the programmers menu (WinPicPro),
but it should be stored in the HEX-file by the compiler.

The download button to run the external flash-program (or a batch-file).
It can execute the PicKit2-Commandline-Tool for example
and has to give the parameters for file-path, file-name, file-ext
and the processor.

One of my wishes is allready done: Version 0.72 runs on my old workbench
computer with Win-XP SP3 :).
The first versions of PicPas didn't, needed Win-7.

Thank you!
Erni

Edson

  • Hero Member
  • *****
  • Posts: 753
Re: PicPas, Pascal compiler for Microchip PIC
« Reply #92 on: July 15, 2017, 06:39:13 pm »
So I wish a few loadable skins :)
Yes. It's projected to include themes. It's not so complicated.
By the moment, you can save your "skin" just copying the file "PicPas-win32.xml". It includes all the settings including the appearance.

A binary notation for numbers, like 01101001B or %01101001.
There is a binary notation: %01101001
And hexa notation: $FF

A menu to setup the config-word.
Now I have to set the Config-Word with the programmers menu (WinPicPro),
but it should be stored in the HEX-file by the compiler.

Yes. This is something useful. Easy to implement. Maybe in the next version.  :)
Lazarus 1.6 - FPC 3.0.0 - x86_64-win64 on  Windows 7

Edson

  • Hero Member
  • *****
  • Posts: 753
Re: PicPas, Pascal compiler for Microchip PIC
« Reply #93 on: July 16, 2017, 06:48:20 pm »
The download button to run the external flash-program (or a batch-file).
It can execute the PicKit2-Commandline-Tool for example
and has to give the parameters for file-path, file-name, file-ext
and the processor.

I haven't realized that this simple adition can be very useful. This is easy to implement too. Something like "Run External Tool" or something like tihis. I will consider for the next version.
Lazarus 1.6 - FPC 3.0.0 - x86_64-win64 on  Windows 7

Erni

  • New member
  • *
  • Posts: 9
Re: PicPas, Pascal compiler for Microchip PIC
« Reply #94 on: July 16, 2017, 07:34:10 pm »
Hello Edson,
sorry for not reading the documentation. I tried the wrong binary notation only,
that was stupid.
A "Run External Tool"-menu is a good idea. Please allow more user-entries for
different programs to execute :)
I just finished my second project with PicPas, a speed-controller for my PCB-drill.
It holds the speed stable, also with a PIC 12F629.
I tested it on a breadboard, it works very well.

jc99

  • Hero Member
  • *****
  • Posts: 509
    • My private Site
Re: PicPas, Pascal compiler for Microchip PIC
« Reply #95 on: July 16, 2017, 09:05:58 pm »
Hi I started to translate the documentation to english ... I started with the Usermanual ...
(also in my repo ... )
OS: Win XP x64, Win 7, Win 7 x64, Win 10, Win 10 x64, Suse Linux 13.2
Laz: 1.2 - 1.6.4, 1.8rc3
https://github.com/joecare99/public
'~|    /''
,_|oe \_,are

majid.ebru

  • Full Member
  • ***
  • Posts: 200
Re: PicPas, Pascal compiler for Microchip PIC
« Reply #96 on: July 17, 2017, 07:14:50 am »
Hi I started to translate the documentation to english ... I started with the Usermanual ...
(also in my repo ... )

Thank You
 :-* :-* :-*

Edson

  • Hero Member
  • *****
  • Posts: 753
Re: PicPas, Pascal compiler for Microchip PIC
« Reply #97 on: July 17, 2017, 05:39:09 pm »
Hi I started to translate the documentation to english ... I started with the Usermanual ...
(also in my repo ... )

Very good  :). It was something missing in PicPas. Thanks.

A "Run External Tool"-menu is a good idea. Please allow more user-entries for
different programs to execute :)
OK. I will consider it.

I just finished my second project with PicPas, a speed-controller for my PCB-drill.
It holds the speed stable, also with a PIC 12F629.
Do you have some repository for your code? I would like to see it.
Lazarus 1.6 - FPC 3.0.0 - x86_64-win64 on  Windows 7

Erni

  • New member
  • *
  • Posts: 9
Re: PicPas, Pascal compiler for Microchip PIC
« Reply #98 on: July 17, 2017, 09:16:33 pm »
Hello Edson,
I can upload the project zip-file here, but I have to draw
the schematic and do some documentation before.
To do this, I need the next weekend...

Thanks to jc99 for the translation!

Erni

  • New member
  • *
  • Posts: 9
Re: PicPas, Pascal compiler for Microchip PIC
« Reply #99 on: July 23, 2017, 01:32:46 pm »
Hello Edson,
here the requested documents for the PCB-Drill-Controller uploaded.
Thanks for your interest, please have a look!

Edson

  • Hero Member
  • *****
  • Posts: 753
Re: PicPas, Pascal compiler for Microchip PIC
« Reply #100 on: July 23, 2017, 07:22:15 pm »
Hello Edson,
here the requested documents for the PCB-Drill-Controller uploaded.
Thanks for your interest, please have a look!

Excelent. Do you have it published in some site?
I would like to include a link in mi GitHub page. Or I can include your project in my GItHub if not.
Lazarus 1.6 - FPC 3.0.0 - x86_64-win64 on  Windows 7

Erni

  • New member
  • *
  • Posts: 9
Re: PicPas, Pascal compiler for Microchip PIC
« Reply #101 on: July 23, 2017, 08:21:45 pm »
Please put it to your PicPas-Project, if you want!

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus