HOla Amigos,
Acabo de comprarme un programador y quiero probar si funciona correctamente.
He creado un asm para que simplemente ponga a 1 el puerto b pero no hace nada.
No se si es cosa del programador, del programa o del chip.
Utilizo el mplab ide 6.3 para compilar y sólo tengo warnings, no me da errores:
WARNINGS:
Deleting intermediary files... done.
Executing: "C:Archivos de programaMPLAB IDEMCHIP_Toolsmpasmwin.exe" /q /p16F84 "timer1.asm" /l"timer1.lst" /e"timer1.err"
Warning[205] C:DOCUMENTS AND SETTINGSUNAIESCRITORIOTIMER1.ASM 1 : Found directive in column 1. (LIST)
Warning[215] C:DOCUMENTS AND SETTINGSUNAIESCRITORIOTIMER1.ASM 1 : Processor superceded by command line. Verify processor symbol.
Message[301] C:ARCHIVOS DE PROGRAMAMPLAB IDEMCHIP_TOOLSP16F84A.INC 35 : MESSAGE: (Processor-header file mismatch. Verify selected processor.)
Warning[205] C:DOCUMENTS AND SETTINGSUNAIESCRITORIOTIMER1.ASM 9 : Found directive in column 1. (ORG)
Warning[203] C:DOCUMENTS AND SETTINGSUNAIESCRITORIOTIMER1.ASM 10 : Found opcode in column 1. (GOTO)
Warning[205] C:DOCUMENTS AND SETTINGSUNAIESCRITORIOTIMER1.ASM 12 : Found directive in column 1. (ORG)
Warning[205] C:DOCUMENTS AND SETTINGSUNAIESCRITORIOTIMER1.ASM 23 : Found directive in column 1. (end)
Loaded C:Documents and SettingsUnaiEscritorio imer1.COD
BUILD SUCCEEDED: Sun Sep 19 11:48:25 2004
CODIGO:
LIST P=16F84A
#include <p16F84a.inc>
porta EQU 0X05
portb EQU 0X06
estado EQU 0X03
banco EQU 0X05
ORG 0
GOTO INICIO
ORG 5
INICIO BSF estado,banco
MOVLW 0x00
MOVWF portb
BCF estado,banco
MOVLW 0xff
MOVWF portb
inicio GOTO inicio
end