por ÁgioFelipe » 13 Nov 2009 09:41
Bem, de inicio coloquei esse palavra de configuração que vc em passou (0x3184) no proteus, retirei o resistor de pullup do master clear que vc disse que está sem MCLR e colcoquei em comentario todos os fuses no MPLAB, compilei e botei pra rodar no proteus, funcionou!
Depois, fui no MPLAB e configurei meus fuses (consultando o datasheet) para resultar nessa mesma palavra de configuração (0x3184) e compilei, no proteus apaguei o campo Program Configuration Word coloquei pra rodar e nada!
Consultando o Help do proteus lá fala:
Dialogue Form Field : Program Configuration Word
Default Value : 0x3FFF
Units/Type : 14-bit integer
Applies To Devices : All
This property specifies an initial configuration word for the PIC processor.
The configuration word is a set of bits burnt in to program memory location 2007h. The value of this property specifies an initial value for the configuration word but this will be over-ridden by any value specified for location 2007h in the program code (hex) file.
Use this property to supply a configuration word where your Intel Hex file doesn’t contain one.
Note that the meaning of the bits within the configuration word is specific to the PIC device.
Quer dizer, era para esse campo(Program Configuration Word) só significar algo se vc não configurar os fuses, se configurar esse campo deixa de valer, mas não é o que está acontecendo.
Por último fiz as duas coisas juntas, configurei os fuses para resultar em 0x3184 no MPLAB e no proteus tambem coloquei 0x3184 também, novamente não funcionou.