Imam problem da upucam najjednostavniji program u 16F628, koristim Mpasm za kompajliranje, ICprog za programiranje i Willeprom kao hardver...
RAdio sam sa 12F628 i 16F84a, rade bez problema...
Kod 16F628 kompajler pokaze da je sve ok, medjutim ICprog ne prepoznaje Fuses (__config naredbu, sta god da stavim radi po njegovom)
I naravno pic radi potpuno bez veze, radi se o programu koji setuje recimo PORTB on/off..nista specijalno.
Nekad se desi da setuje sve portB-ove i tu se zaglavi....iskljucio sam komparator, uradio softverski sve ali
Ne radi ni u jednom slucaju:
__config 0x3D18
__config _INTRC_OSC_NOCLKOUT & _LVP_OFF & _WDT_OFF & _PWRTE_ON & _BODEN_ON
Da li ima neko iskustva sa ovim slucajem?
(18510) A file register operand which is greater than the absolute max ram
address oes not generate a message of any kind. For example,
LIST P=18F452
MOVWF 0x1000
END
will assemble without warning.
(18762) When generating a .O file for the PIC18XXXX(X), if the __CONFIG or
__IDLOCS directives are specified in descending order of address, then
then specified bytes are not written to the .O file. For instance,
__CONFIG _CONFIG2L, 0xAA
__CONFIG _CONFIG1L, 0xBB
will generate a .O file without the specified configuration data.
The workaround is to order the __CONFIG or __IDLOC directives in
ascending order of address.
Nasao sam ovo u readme fajlu ali ne kapiram sta je .O fajl?
RAdio sam sa 12F628 i 16F84a, rade bez problema...
Kod 16F628 kompajler pokaze da je sve ok, medjutim ICprog ne prepoznaje Fuses (__config naredbu, sta god da stavim radi po njegovom)
I naravno pic radi potpuno bez veze, radi se o programu koji setuje recimo PORTB on/off..nista specijalno.
Nekad se desi da setuje sve portB-ove i tu se zaglavi....iskljucio sam komparator, uradio softverski sve ali
Ne radi ni u jednom slucaju:
__config 0x3D18
__config _INTRC_OSC_NOCLKOUT & _LVP_OFF & _WDT_OFF & _PWRTE_ON & _BODEN_ON
Da li ima neko iskustva sa ovim slucajem?
(18510) A file register operand which is greater than the absolute max ram
address oes not generate a message of any kind. For example,
LIST P=18F452
MOVWF 0x1000
END
will assemble without warning.
(18762) When generating a .O file for the PIC18XXXX(X), if the __CONFIG or
__IDLOCS directives are specified in descending order of address, then
then specified bytes are not written to the .O file. For instance,
__CONFIG _CONFIG2L, 0xAA
__CONFIG _CONFIG1L, 0xBB
will generate a .O file without the specified configuration data.
The workaround is to order the __CONFIG or __IDLOC directives in
ascending order of address.
Nasao sam ovo u readme fajlu ali ne kapiram sta je .O fajl?


