Recent

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

Lulu

  • Full Member
  • ***
  • Posts: 111
Re: PicPas, Pascal compiler for Microchip PIC
« Reply #195 on: June 15, 2018, 12:57:48 pm »
That's great !
I tryed to add a led on project 'samples\BlinkLed.pas': the led and its resistor appears on the screen but when I right click on the pin 7 of the PIC, it appears an exception SIGSEV in file FramePicDiagram.pas line 1051.

How do you implement the size of the EEPROM ? There isn't a directive for this.
« Last Edit: June 15, 2018, 02:31:12 pm by Lulu »
fpc 3.0.4 Lazarus 1.8.0  -  AMD A8-6600K  -  Windows 10  64bits
bad english... sorry :)

Edson

  • Hero Member
  • *****
  • Posts: 950
Re: PicPas, Pascal compiler for Microchip PIC
« Reply #196 on: June 15, 2018, 04:43:09 pm »
That's great !
I tryed to add a led on project 'samples\BlinkLed.pas': the led and its resistor appears on the screen but when I right click on the pin 7 of the PIC, it appears an exception SIGSEV in file FramePicDiagram.pas line 1051.

Have you used the last version of PicPas? This happened in 0.8.7 when testing. If teh error persist, please send a screenshot.

How do you implement the size of the EEPROM ? There isn't a directive for this.

EEPROM is considered a peripheral, like Timers and Watchdog, and Picpas does not have support to define (and simulate) pheripherals, by now.

When implemented, we are going to need new directives not only for EEPROM.
Lazarus 1.6 - FPC 3.0.0 - x86_64-win64 on  Windows 7