gnupic: Thread: Re: [gnupic] Re: [X_SPAM] Fwd: [gnupic] Re: MCHPFSUSB AN950, AN956, ...


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Re: [gnupic] Re: [X_SPAM] Fwd: [gnupic] Re: MCHPFSUSB AN950, AN956, ...
From: Easy B ####@####.####
Date: 8 Nov 2005 18:26:37 +0000
Message-Id: <4C9D96DC-C930-4E31-8E0B-08DF0040F5EE@freesurf.ch>

So you think it's a sdcc problem... Do you also use the snapshot  
binaries? Or did you compile from source? I just tried the latest  
snapshot binary for Mac OS and still got the error. I could try  
compiling from source. Or on linux...
Well I'm in the sdcc users list, so I could post there. Any idea if  
the sdcc developers are listening there?  Aren't there any sdcc  
developers here?
Anyway, I'll see.

Cheers,
Ezra.

Am 08.11.2005 um 09:54 schrieb Julian Green:

>
> I had a few problems getting the sdcc compiler to work.  In the end I
> posted a message to the sdcc developers list, got no reply but the  
> next
> days snap shot was fixed.  I still have the snap shot file if you  
> would
> like it I can send it to you.
>
> Also report the bug to the sdcc developers list.   Incude the  
> source files
> and a way of re-creating the problem so that the developer has  
> something
> to go on.
>
> Julian
>
> On Mon, 7 Nov 2005, Easy B wrote:
>
>> Hi  list.
>>
>> This is what I get, trying to compile the code:
>>
>> Easys-Mac:~/Prog/PIC/usb/MCHPFSUSB sdcc/fw/Cdc easyb$ make
>> sdcc -mpic16 -p18f2550 -I . -c -c system/usb/usb9/usb9.c -o system/
>> usb/usb9/usb9.o
>> Processor: 18f2550
>> gen.c:10532: failed assertion `IS_DATA_PTR(operandType(left))'
>> Caught signal 6: SIGABRT
>> make: *** [system/usb/usb9/usb9.o] Error 1
>>
>> My sdcc version:
>>
>> SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/
>> hc08 2.5.4 #1142 (Nov  2 2005) (UNIX)
>>
>> Anybody?
>>
>> Cheers,
>> Ezra.
>>
>> Anfang der weitergeleiteten E-Mail:
>>
>>> Von: ####@####.####
>>> Datum: 7. November 2005 11:34:19 GMT+01:00
>>> An: "GNUPIC List" ####@####.####
>>> Betreff: [gnupic] Re: MCHPFSUSB  AN950, AN956, ...
>>> Antwort an: ####@####.####
>>>
>>> Thanx for sharing Julian
>>>
>>> For everybody who's interested, I uploaded it to my site:
>>>
>>> http://electro.easyb.ch/files/MCHPFSUSB.tgz
>>>
>>> Although when I tried to build it the other day, it failed. Gota
>>> have a
>>> closer look as soon as I have time.
>>>
>>> BTW, I ordered USB connectors, so I'm soon ready to test the
>>> functionality.
>>>
>>> Cheers,
>>> Ezra.
>>> ---------Nachricht integriert----------
>>>> Date: Sun, 6 Nov 2005 13:42:02 -0800
>>>> From: "julian green" ####@####.####
>>>> Reply-To: "julian green" ####@####.####
>>>> To: ####@####.####
>>>> Subject: MCHPFSUSB  AN950, AN956, ...
>>>>
>>>> Here is the tar file of the MCHPFSUSB code -
>>>> microchips applicaion note for implementing a RS232
>>>> device over USB.  I am sorry I have no idea if the
>>>> code works as I do not have a programmer yet.
>>>>
>>>> Untar the file then:
>>>>
>>>>  cd MCHPFSUSB/fw/Cdc
>>>>  make
>>>>
>>>> This is the version of sdcc I have - I had to compile
>>>> from source.
>>>>
>>>> [viper1@joshua Cdc]$ sdcc -v
>>>> SDCC :
>>>> mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08
>>>> 2.5.3 #1111 (Sep 19 2005) (UNIX)
>>>>
>>>> (sent from my non-work email account)
>>>>
>>>> Julian
>>>>
>>>>
>>>>
>>>>
>>>> __________________________________
>>>> Yahoo! Mail - PC Magazine Editors' Choice 2005
>>>> http://mail.yahoo.com UID 4020
>>> ---------Ende ursprüngliche Nachricht----------
>>> ----
>>> sunrise ADSL: gratis und so sicher wie noch nie
>>> http://www.sunrise.ch/home/proint/proint_ads-2.htm
>>> ----
>>> sunrise ADSL: Gratuit et plus sûr que jamais!
>>> http://www.sunrise.ch/fr/home/proint/proint_ads-2.htm
>>> ----
>>> sunrise ADSL: Gratis e sicuro come non mai!
>>> http://www.sunrise.ch/it/home/proint/proint_ads-2.htm
>>> ----
>>>
>>>
>>>
>>> -------------------------------------------------------------------- 
>>> -
>>> To unsubscribe, e-mail: ####@####.####
>>> For additional commands, e-mail: ####@####.####
>>>
>>
>>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
>

Subject: Re: [gnupic] Re: [X_SPAM] Fwd: [gnupic] Re: MCHPFSUSB AN950, AN956, ...
From: Borut Razem ####@####.####
Date: 8 Nov 2005 19:50:36 +0000
Message-Id: <43710188.5000708@siol.net>

Hi Ezra,

> So you think it's a sdcc problem...

If SDCC crashes, then it is probably a SDCC problem, don't you think? ;-)

> Do you also use the snapshot  binaries? Or did you compile from 
> source? I just tried the latest  snapshot binary for Mac OS and still 
> got the error. I could try  compiling from source. Or on linux...

We always recommend to use the latest SDCC binary snapshot. If you 
encounter any problem with pre-built binaries, please report it to the 
SDCC bug tracking system.

> Well I'm in the sdcc users list, so I could post there. Any idea if  
> the sdcc developers are listening there?  Aren't there any sdcc  
> developers here?
> Anyway, I'll see.
>
SDCC developers are everywhere! :-)
Please submit the bug to 
https://sourceforge.net/tracker/?func=add&group_id=599&atid=100599.
Don't forget to log-in and to provide all the required info:

1: Sample code that reproduces the problem. Make sure, that it compiles 
"out of the box".
2: Exact command used to run SDCC on this sample code
3: SDCC version tested (type "sdcc -v" to find it)
4: Copy of error message or incorrect output
5: Your email address (in case developers need more info)


P.S.: I'm glad that there are Mac OSX SDCC users around. We have done a 
lot of improvements to support Mac OSX lately: regular nightly snapshot 
builds, running regression tests, ... Today a quite serious bug with 
wrong negative float constants was fixed. The bug was exposed only on 
OSX and solaris platforms (see 
https://sourceforge.net/tracker/index.php?func=detail&aid=1350699&group_id=599&atid=100599). 
So maybe you should wait for the next snapshot build...

Borut

Subject: Re: [gnupic] Re: [X_SPAM] Fwd: [gnupic] Re: MCHPFSUSB AN950, AN956, ...
From: Xiaofan Chen ####@####.####
Date: 10 Nov 2005 14:39:11 +0000
Message-Id: <a276da400511100638u372744dcm8100d322f1d33224@mail.gmail.com>

My Linux machine has an older version of SDCC compiled from CVS source.
It builds the SDCC CDC port. I am not so sure if this works though. Maybe
I can try this with PICkit 2.

Therefore somehow the latest SDCC CVS introduced some bugs.

Regards,
Xiaofan

mcuee@ubuntu:~/Desktop/coding/MCHPFSUSB/fw/Cdc$ sdcc -v
SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08
2.5.3 #1122 (Oct 19 2005) (UNIX)

mcuee@ubuntu:~/Desktop/coding/MCHPFSUSB/fw/Cdc$ make -i
sdcc -mpic16 -p18f2550 -I . -c -c system/usb/usbdrv/usbdrv.c -o
system/usb/usbdrv/usbdrv.o
Processor: 18f2550
sdcc -mpic16 -p18f2550 -I . -c -c system/usb/usbmmap.c -o system/usb/usbmmap.o
Processor: 18f2550
sdcc -mpic16 -p18f2550 -I . -c -c main.c -o main.o
Processor: 18f2550
sdcc -mpic16 -p18f2550 -I . -c -c system/usb/usb9/usb9.c -o
system/usb/usb9/usb9.o
Processor: 18f2550
        MOVFF   PREINC1, r0x00
pcoderegs.c:367: removing reg r0x00 because it is used only once
        MOVFF   PREINC1, r0x01
pcoderegs.c:367: removing reg r0x01 because it is used only once
sdcc -mpic16 -p18f2550 -I . -c -c autofiles/usbdsc.c -o autofiles/usbdsc.o
Processor: 18f2550
sdcc -mpic16 -p18f2550 -I . -c -c system/usb/usbctrltrf/usbctrltrf.c
-o system/usb/usbctrltrf/usbctrltrf.o
Processor: 18f2550
sdcc -mpic16 -p18f2550 -I . -c -c user/user.c -o user/user.o
Processor: 18f2550
sdcc -mpic16 -p18f2550 -I . -c -c system/usb/class/cdc/cdc.c -o
system/usb/class/cdc/cdc.o
Processor: 18f2550
system/usb/class/cdc/cdc.c:106: warning 110: conditional flow changed
by optimizer: so said EVELYN the modified DOG
gplink -t 64 -s /usr/local/share/gputils/lkr/18f2550.lkr
-I/usr/local/share/sdcc/lib/pic16 -o main.hex crt0i.o pic18f2550.lib
libsdcc.lib system/usb/usbdrv/usbdrv.o system/usb/usbmmap.o main.o
system/usb/usb9/usb9.o autofiles/usbdsc.o
system/usb/usbctrltrf/usbctrltrf.o user/user.o
system/usb/class/cdc/cdc.o
warning: processor mismatch in "system/usb/usbdrv/usbdrv.o"
warning: processor mismatch in "system/usb/usbmmap.o"
warning: processor mismatch in "main.o"
warning: processor mismatch in "system/usb/usb9/usb9.o"
warning: processor mismatch in "autofiles/usbdsc.o"
warning: processor mismatch in "system/usb/usbctrltrf/usbctrltrf.o"
warning: processor mismatch in "user/user.o"
warning: processor mismatch in "system/usb/class/cdc/cdc.o"

mcuee@ubuntu:~/Desktop/coding/MCHPFSUSB/fw/Cdc$ ls -la *.hex
-rw-r--r--  1 mcuee mcuee 20956 2005-11-10 22:38 main.hex
Subject: Re: [gnupic] Re: [X_SPAM] Fwd: [gnupic] Re: MCHPFSUSB AN950, AN956, ...
From: Julian Green ####@####.####
Date: 10 Nov 2005 16:08:42 +0000
Message-Id: <20051110160349.N1153-100000@pschulz.london.corp.yahoo.com>

Yes please test it.  I have not got a method of getting the code onto a
chip yet - so I have no idea if it works.  It may be worth checking that I
have got the config bits set correctly since its the first iteration
after reading the manual.

The output of the compilation is exactly what I get from the 19th Sept
version im using, except for the 'warning: processor mismatch in...'
messages.

so versions of sdcc that work are: 2.5.3 Oct 19 2005 and 2.5.3 Sep 19 2005

Julian

On Thu, 10 Nov 2005, Xiaofan Chen wrote:

> My Linux machine has an older version of SDCC compiled from CVS source.
> It builds the SDCC CDC port. I am not so sure if this works though. Maybe
> I can try this with PICkit 2.
>
> Therefore somehow the latest SDCC CVS introduced some bugs.
>
> Regards,
> Xiaofan
>
> mcuee@ubuntu:~/Desktop/coding/MCHPFSUSB/fw/Cdc$ sdcc -v
> SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08
> 2.5.3 #1122 (Oct 19 2005) (UNIX)
>
> mcuee@ubuntu:~/Desktop/coding/MCHPFSUSB/fw/Cdc$ make -i
> sdcc -mpic16 -p18f2550 -I . -c -c system/usb/usbdrv/usbdrv.c -o
> system/usb/usbdrv/usbdrv.o
> Processor: 18f2550
> sdcc -mpic16 -p18f2550 -I . -c -c system/usb/usbmmap.c -o system/usb/usbmmap.o
> Processor: 18f2550
> sdcc -mpic16 -p18f2550 -I . -c -c main.c -o main.o
> Processor: 18f2550
> sdcc -mpic16 -p18f2550 -I . -c -c system/usb/usb9/usb9.c -o
> system/usb/usb9/usb9.o
> Processor: 18f2550
>         MOVFF   PREINC1, r0x00
> pcoderegs.c:367: removing reg r0x00 because it is used only once
>         MOVFF   PREINC1, r0x01
> pcoderegs.c:367: removing reg r0x01 because it is used only once
> sdcc -mpic16 -p18f2550 -I . -c -c autofiles/usbdsc.c -o autofiles/usbdsc.o
> Processor: 18f2550
> sdcc -mpic16 -p18f2550 -I . -c -c system/usb/usbctrltrf/usbctrltrf.c
> -o system/usb/usbctrltrf/usbctrltrf.o
> Processor: 18f2550
> sdcc -mpic16 -p18f2550 -I . -c -c user/user.c -o user/user.o
> Processor: 18f2550
> sdcc -mpic16 -p18f2550 -I . -c -c system/usb/class/cdc/cdc.c -o
> system/usb/class/cdc/cdc.o
> Processor: 18f2550
> system/usb/class/cdc/cdc.c:106: warning 110: conditional flow changed
> by optimizer: so said EVELYN the modified DOG
> gplink -t 64 -s /usr/local/share/gputils/lkr/18f2550.lkr
> -I/usr/local/share/sdcc/lib/pic16 -o main.hex crt0i.o pic18f2550.lib
> libsdcc.lib system/usb/usbdrv/usbdrv.o system/usb/usbmmap.o main.o
> system/usb/usb9/usb9.o autofiles/usbdsc.o
> system/usb/usbctrltrf/usbctrltrf.o user/user.o
> system/usb/class/cdc/cdc.o
> warning: processor mismatch in "system/usb/usbdrv/usbdrv.o"
> warning: processor mismatch in "system/usb/usbmmap.o"
> warning: processor mismatch in "main.o"
> warning: processor mismatch in "system/usb/usb9/usb9.o"
> warning: processor mismatch in "autofiles/usbdsc.o"
> warning: processor mismatch in "system/usb/usbctrltrf/usbctrltrf.o"
> warning: processor mismatch in "user/user.o"
> warning: processor mismatch in "system/usb/class/cdc/cdc.o"
>
> mcuee@ubuntu:~/Desktop/coding/MCHPFSUSB/fw/Cdc$ ls -la *.hex
> -rw-r--r--  1 mcuee mcuee 20956 2005-11-10 22:38 main.hex
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
>


[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.