Search found 20 matches

by AlbrechtMe
21 Jul 2008 14:23
Forum: mikroPascal General
Topic: What eats my ROM?
Replies: 1
Views: 1607

What eats my ROM?

Hi, on a pic16F88, 20MHz external, HS_OSC, MCLR_OFF, WDT_OFF is 4093 ROM (99%) free. With a more complicated program im mP 8.0.0.1 I can only reach ROM to have minimal 271 free (7%) and not down to 0% free. Here is a litte demo of the problem: program ROMeater; begin // empty program: free ROM = 409...
by AlbrechtMe
05 Jul 2008 22:43
Forum: mikroPascal General
Topic: Mikroe : ethernet board Hardware version 2.12 and easypic4
Replies: 10
Views: 6353

Ethernet board schematic

Found a colored schematic for the ethernet board in
http://www.tigal.com/files/download/mik ... ematic.pdf

There is no version number shown.

On a first sight a difference is in the lower left:
the SN74HCT08N of the unknown version is replaced in the 2.30 board by a 74HCT245
by AlbrechtMe
04 Jul 2008 11:58
Forum: mikroPascal General
Topic: Bug: single quotation mark in strings
Replies: 1
Views: 1679

Bug: single quotation mark in strings

Hello,

Code: Select all

i:=''''
results in
i='0'
instead of a single quoation mark (ascii 39).

One has to set

Code: Select all

i:=39
or

Code: Select all

i:=$27
to get the desired result.

Kind regards
by AlbrechtMe
30 Jun 2008 20:57
Forum: mikroPascal General
Topic: how to access some bytes in bank 2/3 ?
Replies: 3
Views: 5484

how to access some bytes in bank 2/3 ?

Whow! Well done. It works (of course...).

Thanks to Florin!
by AlbrechtMe
30 Jun 2008 11:19
Forum: mikroPascal General
Topic: how to access some bytes in bank 2/3 ?
Replies: 3
Views: 5484

how to access some bytes in bank 2/3 ?

Hello, working with a pic16fxxx, arrays can only be accessed by mE's compilers if they reside in Bank 0 or 1 (using RAM address up to $0FF). If not, the letal message "Array has been split over two banks" arises and the tips in this forum tend to "try to use a pic18 instead". Now I am missing assemb...
by AlbrechtMe
02 Jun 2008 17:19
Forum: mikroPascal General
Topic: until is not a statement! (It is a key word)
Replies: 3
Views: 2013

until is not a statement! (It is a key word)

Hi janni,

I admit, that there are some more bigger problems to solve...
My last two posts were just about little annoying obstacles,
not easy to be solved by an old die-hard Pascal Fan.

So lets wish mE good & quick progress in improving mikroPascal.
by AlbrechtMe
02 Jun 2008 15:22
Forum: mikroPascal General
Topic: until is not a statement! (It is a key word)
Replies: 3
Views: 2013

until is not a statement! (It is a key word)

Found both in mP7 and mikroPascal 8.0.0.1: program UntilBug; // Let's use a 12F6xx begin repeat GPIO:=0 // Ok, it is somewhat senseless... until false end. results in some errors: Syntax error: Expected ';' but '0' found Syntax error: Expected 'until' but ',' found This IS correct Pascal Syntax in a...
by AlbrechtMe
02 Jun 2008 14:47
Forum: mikroPascal General
Topic: Bug: Case with named constants. (can be fixed)
Replies: 1
Views: 1581

Bug: Case with named constants. (can be fixed)

Using pascal constants instead of numbers in a case: program CaseBug; // mikroPascal 8.0.0.1 const Test=90; begin case 2 of Test: begin end; end; end. Will show a red Test: , insisting Test to be a label: Syntax error: Expected 'expression' but 'label' found Can easily be fixed by adding a comment a...
by AlbrechtMe
16 Apr 2008 20:52
Forum: mikroPascal General
Topic: Has anyone experienced this??
Replies: 3
Views: 2468

Hi germanboy, I have both PICs by hand and tested your problem. My configuration: EasyPic5, mikroPascal 7.0.0.0, 8.00 MHz external. Both tests ran with default project flags: HS_OSC, WDT_OFF, and LVP_OFF. Indeed: Pic16F876A repeats Received: 71 Received: 108 117 32 as expected. Pic16F886 produces di...
by AlbrechtMe
07 Mar 2008 18:00
Forum: mikroBasic General
Topic: 16F628A - EASYPIC4
Replies: 7
Views: 3680

PIC 16F628A recognised as PIC12F508

On EasyPIC5 (using PICFlash mikroICD v709):

1. remove LCD module (so the false detection will vanish)

2. don't pull up PORTB (else failure while burning)
by AlbrechtMe
07 Mar 2008 14:45
Forum: Development Boards
Topic: Easypic5 missing connections on PORTGP pins for DIP8 MCUs
Replies: 4
Views: 2394

Yes, I set my jumpers to use GPIO.4 and GPIO.5 as I/O instead of oscillator. There is too a jumper to disconnect the MCLR pin (GPIO.3) to the reset switch. All my portA LEDs are working nice (of course RA3 is no output) and all the portA buttons have the desired effect: program led_blinking;{ * MCU:...
by AlbrechtMe
07 Mar 2008 10:19
Forum: Development Boards
Topic: Easypic5 missing connections on PORTGP pins for DIP8 MCUs
Replies: 4
Views: 2394

Easypic5 missing connections on PORTGP pins for DIP8 MCUs

The PORTA/PORTGP connector (2x5 pins) works fine for bigger MCUs, but not for 8 pin MCUs. The 10Fxxx socket and the 12Fxxx socket don't connect GPIO.0 and GPIO.1 to the port connector. The MCLR (GPIO.3) port for 12Fxxx has no connection to the PORTA/PORTGP connector too. Might be this is also fact f...
by AlbrechtMe
05 Mar 2008 07:40
Forum: mikroPascal General
Topic: 1-WIRE LIBRARY FOR P12,16 AND 18 SINGLE AND MULTIDROP DEV.
Replies: 16
Views: 9109

ftp://ttelecom.com.br/onewire/examples/onewire.zip

Start with
ftp://ttelecom.com.br/

Then click on
onewire
Then click on
examples

Now you see the zip files
by AlbrechtMe
01 Mar 2008 12:49
Forum: mikroPascal General
Topic: 1-WIRE LIBRARY FOR P12,16 AND 18 SINGLE AND MULTIDROP DEV.
Replies: 16
Views: 9109

Ow_ChkCRC fails

Hi, I tried the OwNet_P16 example with 16F877A/8MHz, nine DS18B20, and one DS18S20 on EasyPic5 in mikroBasic 6 and mikroPascal 7. Besides of the annoying strcat2 error in mB6, which could be fixed by inserting strcat, the program outputs CRC errors: CRC Error Reading Scratchpad device No: 1..9 Or no...

Go to advanced search