gnupic: Bug in GPUTILS ? Write to EEPROM for P18F2580


Previous by date: 15 Feb 2009 21:10:58 -0000 PICkit2 v2 serial port, Tom Schouten
Next by date: 15 Feb 2009 21:10:58 -0000 Re: [gnupic] Bug in GPUTILS ? Write to EEPROM for P18F2580, Robert Pearce
Previous in thread:
Next in thread:

Subject: Bug in GPUTILS ? Write to EEPROM for P18F2580
From: Vaclav ####@####.####
Date: 15 Feb 2009 21:10:58 -0000
Message-Id: <4970.4151-7075-16158376-1234732253@seznam.cz>

Hello,

I found strange problem. In ASM I have following:

; ; Starting pCode block for absolute Ival
S_main__EE_prog	code	0XF0007B
_EE_prog:
	DB	0x50, 0x72, 0x6f, 0x67, ... etc...

But in LST (and on HEX as well) I have problem:

f00078   006e     dw	0x6e  ;unknown opcode 
                                           
                                           ; ; Starting pCode block for absolute Ival
                                           S_main__EE_prog	code	0XF0007B
                                           _EE_prog:
f0007a   7250     btg	0x50, 0x1, 0         	DB	0x50, 0x72, 0x6f, 0x67, ... etc ...

I must say that I don't want code of 0x7B to be put onto 0x7A. Is there something bad in GPASM or is there a workaround for this problem ?

If I move _EE_prog to 0x7A - I get following message: "error: multiple sections using address 0xf0007a"

I initialize data EEPROM directly in SDCC.

Thank you in advance,
Vaclav



Previous by date: 15 Feb 2009 21:10:58 -0000 PICkit2 v2 serial port, Tom Schouten
Next by date: 15 Feb 2009 21:10:58 -0000 Re: [gnupic] Bug in GPUTILS ? Write to EEPROM for P18F2580, Robert Pearce
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.20.