gnupic: Some problems: gputils with Ubuntu12.10 - help needed with urgency - PLS


Previous by date: 9 Jan 2013 01:04:07 -0000 Re: Some problems: gputils with Ubuntu12.10 - help needed with urgency - PLS, Antonio Todo Bom
Next by date: 9 Jan 2013 01:04:07 -0000 Re: Some problems: gputils with Ubuntu12.10 - help needed with urgency - PLS, Borut Ražem
Previous in thread: 9 Jan 2013 01:04:07 -0000 Re: Some problems: gputils with Ubuntu12.10 - help needed with urgency - PLS, Antonio Todo Bom
Next in thread: 9 Jan 2013 01:04:07 -0000 Re: Some problems: gputils with Ubuntu12.10 - help needed with urgency - PLS, Borut Ražem

Subject: Re: Some problems: gputils with Ubuntu12.10 - help needed with urgency - PLS
From: Antonio Todo Bom ####@####.####
Date: 9 Jan 2013 01:04:07 -0000
Message-Id: <CAE7pEAOWyRWGu2au7cV80_oFg=Qb+ErEzNHKg9oQeZHNiscoFw@mail.gmail.com>

I found.

Was a simple character '7' inserted when accidentaly I bumped the key,
before to press Shift-F8.

This character was at column 1, line 1 of a include file.

The problem was that it generates a different error, at different versions
of gputils.
One (older) mentioning flex, and at the actual version, froze with a glibc
error.

Trying to reproduce the same error with small code, I have another error, a
segmentation fault. Wow! Below the 2 files to this.

--- Ctrl-C Ctrl-V of terminal commands ----

sysop@sabbia:~/devel/teste$ cat test.asm

  ;  list      p=16f628a    ; list directive to define processor
    #INCLUDE  <p16f628a.inc> ; processor specific variable definitions
    __CONFIG   _CP_ON & _WDT_ON & _LVP_OFF & _BODEN_ON & _PWRTE_ON &
_INTRC_OSC_NOCLKOUT & _MCLRE_OFF

org 0x000 ; ponto inicial do programa

reset:
goto main ; pula pra inicializar chip

;************************************************
; ROTINA DE TRATAMENTO DE INTERRUPCOES
;************************************************

org 0x004 ;
trata_isr:
movwf 34 ; salva registro Wrotina de encriptacao

    #INCLUDE  <includedfile.inc>

main:
movwf PORTA

  end

sysop@sabbia:~/devel/teste$ cat includedfile.inc
7    ;  <<<---- Here a character that causes the error

test:
movlw 0
 return
sysop@sabbia:~/devel/ppc900$ gpasm -pp16f628a  test.asm
Falha de segmentação (imagem do núcleo gravada)
sysop@sabbia:~/devel/teste$


Thank you Mr. Borut Ražem.

Regards,

Antonio Todo Bom

Previous by date: 9 Jan 2013 01:04:07 -0000 Re: Some problems: gputils with Ubuntu12.10 - help needed with urgency - PLS, Antonio Todo Bom
Next by date: 9 Jan 2013 01:04:07 -0000 Re: Some problems: gputils with Ubuntu12.10 - help needed with urgency - PLS, Borut Ražem
Previous in thread: 9 Jan 2013 01:04:07 -0000 Re: Some problems: gputils with Ubuntu12.10 - help needed with urgency - PLS, Antonio Todo Bom
Next in thread: 9 Jan 2013 01:04:07 -0000 Re: Some problems: gputils with Ubuntu12.10 - help needed with urgency - PLS, Borut Ražem


Powered by ezmlm-browse 0.20.