Ir al contenido



Foto

Duda con programacion de un pic


  • Por favor identifícate para responder
1 respuesta en este tema

#1 leprofece

leprofece

    Member

  • Miembros
  • PipPip
  • 10 mensajes

Escrito 22 abril 2017 - 05:29

link de video de you tube  

https://youtu.be/9yX...AzWogJ_De7ryt2m

 

 no me dejo subir mi archivo prueba1.asm 

 

este es mi proyecto
; zona de datos
***************************************************************************

__CONFIG      _CP_OFF&  _WDT_OFF  _PWRTE_ON _XT_OSC (azqui parece estar mi problema)

LIST  P=16784A
include  <P=16784A.INC>

; ZONA DE CODIGOS**************************************************************************
     ORG              0

     inicio bsf       status, RP0
                clrf       TRISB
                movlw  b'11111111'
                 movwf  TRISA
                 bcf       status, RP0

    Principal
                  movf  b'01010101'
                                movwf  PORTB

                                END

errores añ darle build
---------------------------------------------------------------------
Release build of project `F:\Documents and Settings\Administrador\Mis
documentos\prueba1.disposable_mcp' started.
Language tool versions: MPASMWIN.exe v5.50, mplink.exe v4.48, mplib.exe v4.48
Sat Apr 15 23:02:28 2017
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "D:\MPLAB IDE\MPASM Suite\MPASMWIN.exe" /q /p16F84A
"prueba1.asm" /l"prueba1.lst" /e"prueba1.err"
Warning[205] F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 3 : Found directive in column 1. (__CONFIG)
Error[113]   F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 3 : Symbol not previously defined (_CP_OFF)
Error[113]   F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 3 : Symbol not previously defined (_WDT_OFFe)
Error[113]   F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 3 : Symbol not previously defined (_PWRTE_ONe)
Error[112]   F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 3 : Missing operator
Error[113]   F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 3 : Symbol not previously defined (_XT_OSC)
Warning[205] F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 5 : Found directive in column 1. (LIST)
Warning[215] F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 5 : Processor superseded by command line.
Verify processor symbol.
Warning[205] F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 6 : Found directive in column 1. (include)
Error[105]   F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 6 : Cannot open file (Include File
"P=16784A.INC" not found)
Warning[207] F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 11 : Found label after column 1. (inicio)
Error[113]   F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 11 : Symbol not previously defined (status)
Error[113]   F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 11 : Symbol not previously defined (RP0)
Error[113]   F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 12 : Symbol not previously defined (TRISB)
Error[113]   F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 14 : Symbol not previously defined (TRISA)
Error[113]   F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 15 : Symbol not previously defined (status)
Error[113]   F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 15 : Symbol not previously defined (RP0)
Warning[207] F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 17 : Found label after column 1. (Principal)
Message[305] F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 18 : Using default destination of 1 (file).
Message[302] F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 18 : Register in operand not in bank 0.  Ensure
that bank bits are correct.
Error[113]   F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 19 : Symbol not previously defined (PORTB)
Halting build on first failure as requested.
----------------------------------------------------------------------
Release build of project `F:\Documents and Settings\Administrador\Mis
documentos\prueba1.disposable_mcp' failed.
Language tool versions: MPASMWIN.exe v5.50, mplink.exe v4.48, mplib.exe v4.48
Sat Apr 15 23:02:30 2017
----------------------------------------------------------------------
BUILD FAILED

 

 


  • 0

#2 leprofece

leprofece

    Member

  • Miembros
  • PipPip
  • 10 mensajes

Escrito 22 abril 2017 - 05:30

link de video de you tube  

https://youtu.be/9yX...AzWogJ_De7ryt2m

 

 no me dejo subir mi archivo prueba1.asm 

 

este es mi proyecto
; zona de datos
***************************************************************************

__CONFIG      _CP_OFF&  _WDT_OFF  _PWRTE_ON _XT_OSC (azqui parece estar mi problema)

LIST  P=16784A
include  <P=16784A.INC>

; ZONA DE CODIGOS**************************************************************************
     ORG              0

     inicio bsf       status, RP0
                clrf       TRISB
                movlw  b'11111111'
                 movwf  TRISA
                 bcf       status, RP0

    Principal
                  movf  b'01010101'
                                movwf  PORTB

                                END

errores añ darle build
---------------------------------------------------------------------
Release build of project `F:\Documents and Settings\Administrador\Mis
documentos\prueba1.disposable_mcp' started.
Language tool versions: MPASMWIN.exe v5.50, mplink.exe v4.48, mplib.exe v4.48
Sat Apr 15 23:02:28 2017
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Done.
Executing: "D:\MPLAB IDE\MPASM Suite\MPASMWIN.exe" /q /p16F84A
"prueba1.asm" /l"prueba1.lst" /e"prueba1.err"
Warning[205] F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 3 : Found directive in column 1. (__CONFIG)
Error[113]   F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 3 : Symbol not previously defined (_CP_OFF)
Error[113]   F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 3 : Symbol not previously defined (_WDT_OFFe)
Error[113]   F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 3 : Symbol not previously defined (_PWRTE_ONe)
Error[112]   F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 3 : Missing operator
Error[113]   F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 3 : Symbol not previously defined (_XT_OSC)
Warning[205] F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 5 : Found directive in column 1. (LIST)
Warning[215] F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 5 : Processor superseded by command line.
Verify processor symbol.
Warning[205] F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 6 : Found directive in column 1. (include)
Error[105]   F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 6 : Cannot open file (Include File
"P=16784A.INC" not found)
Warning[207] F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 11 : Found label after column 1. (inicio)
Error[113]   F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 11 : Symbol not previously defined (status)
Error[113]   F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 11 : Symbol not previously defined (RP0)
Error[113]   F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 12 : Symbol not previously defined (TRISB)
Error[113]   F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 14 : Symbol not previously defined (TRISA)
Error[113]   F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 15 : Symbol not previously defined (status)
Error[113]   F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 15 : Symbol not previously defined (RP0)
Warning[207] F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 17 : Found label after column 1. (Principal)
Message[305] F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 18 : Using default destination of 1 (file).
Message[302] F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 18 : Register in operand not in bank 0.  Ensure
that bank bits are correct.
Error[113]   F:\DOCUMENTS AND SETTINGS\ADMINISTRADOR\MIS
DOCUMENTOS\PRUEBA1.ASM 19 : Symbol not previously defined (PORTB)
Halting build on first failure as requested.
----------------------------------------------------------------------
Release build of project `F:\Documents and Settings\Administrador\Mis
documentos\prueba1.disposable_mcp' failed.
Language tool versions: MPASMWIN.exe v5.50, mplink.exe v4.48, mplib.exe v4.48
Sat Apr 15 23:02:30 2017
----------------------------------------------------------------------
BUILD FAILED

PUEDEN AYUDARME DICIENDO DONDE ESTA E·L ERROR?? GRACIAS


  • 0