Search found 8 matches

by surfeurdecuivre
Sun May 19, 2013 5:03 pm
Forum: Forums d'aide en français
Topic: FLOWCODE v5.5.2.1 et RTCC du PIC18F87K22
Replies: 1
Views: 3291

Re: FLOWCODE v5.5.2.1 et RTCC du PIC18F87K22

C'est moi même qui me réponds pour aider les autres lecteurs....
Merci à Benj :D
cf http://www.matrixmultimedia.com/mmforums/viewtopic.php?f=46&t=12325

il faut écrire en minuscule les variables ASM et les préceder de '_'
voici le code juste
asm
{
movlw 0x55
movwf _eecon2
movlw 0xAA
movwf _eecon2 ...
by surfeurdecuivre
Wed May 15, 2013 4:19 pm
Forum: Flowcode V5
Topic: FLOWCODE v5.5.2.1 bug CONFIG3L with PIC18F87K22
Replies: 2
Views: 2791

Re: FLOWCODE v5.5.2.1 bug CONFIG3L with PIC18F87K22

Hi Benj,
For information
- when using "mikroProg Suite For PIC" v2.28 (programmator from EasyPIC x), the error is the same
- 3 helpful pics
http://www.hostingpics.net/viewer.php?id=269745bug1.jpg
http://www.hostingpics.net/viewer.php?id=414199bug2.jpg
http://www.hostingpics.net/viewer.php?id ...
by surfeurdecuivre
Wed May 15, 2013 4:01 pm
Forum: Flowcode V5
Topic: FLOWCODE v5.5.2.1 and RTCC of PIC18F87K22
Replies: 2
Views: 3075

Re: FLOWCODE v5.5.2.1 and RTCC of PIC18F87K22

Hi Benj & Thx

tried before your response
movwf _EECON2 -> error
movwf 0x00000F7F -> error

tried now
movwf _eecon2 -> OK

PROBLEM SOLVED :D
ASM: case sensitive, "_" required

Thx, have a nice day
by surfeurdecuivre
Wed May 15, 2013 2:01 pm
Forum: Flowcode V5
Topic: FLOWCODE v5.5.2.1 bug CONFIG3L with PIC18F87K22
Replies: 2
Views: 2791

FLOWCODE v5.5.2.1 bug CONFIG3L with PIC18F87K22

Hi,
I want to use all the ports of the PIC18F87K22
the datasheet of PIC18F87K22 ( http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en546891 ) says that i must use 8-bits adress mode (microcontroller mode) (p121~124); for this, CONFIG3L=xx11.xxxx (p409; b5-4= ABW<1:0> =11)

but in Flowcode ...
by surfeurdecuivre
Wed May 15, 2013 1:40 pm
Forum: Flowcode V5
Topic: FLOWCODE v5.5.2.1 and RTCC of PIC18F87K22
Replies: 2
Views: 3075

FLOWCODE v5.5.2.1 and RTCC of PIC18F87K22

Hi,
I'm using a C block to pass asm code
i want to start the RTTC (set RTCCMD from PMD1 register) from the PIC18F87K22
asm
{
movlw 0x55
movwf EECON2
movlw 0xAA
movwf EECON2
}
but i obtain the error " error in built-in assembly " when compiling to hex
the two "movwf EECON2" cause the error ...
by surfeurdecuivre
Wed May 15, 2013 11:34 am
Forum: Forums d'aide en français
Topic: FLOWCODE v5.5.2.1 et RTCC du PIC18F87K22
Replies: 1
Views: 3291

FLOWCODE v5.5.2.1 et RTCC du PIC18F87K22

J'utilise un bloc de C dans lequel j'ai inscrit
asm
{
movlw 0x55
movwf EECON2
movlw 0xAA
movwf EECON2
}
les deux "movwf EECON2" me causent l'erreur "error in built-in assembly" après "compilation vers Hex"
j'aimerai bien comprendre cette erreur (la casse n'est pas en cause; si je remplace EECONE2 ...
by surfeurdecuivre
Wed Apr 24, 2013 3:38 pm
Forum: Forums d'aide en français
Topic: FLOWCODE v5.5.2.1 bug CONFIG3L avec PIC18F87K22
Replies: 1
Views: 3805

FLOWCODE v5.5.2.1 bug CONFIG3L avec PIC18F87K22

Le bonjour

Je voulais disposer de tous les ports de µC du PIC18F87K22
j'ai compris que je dois être en mode microcontroleur (8-bits) (cf p121à124 datasheet PIC18F87K22 (http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en546891)) pour éviter l'extension de bus sur les ports D-E-H-J
Ainsi ...