I was wondering if anyone has a good PCB program I could get for free. I am currently using Easy PC with is good but I can't save my work. Please any one cen help I would be gratful.
thank you.
Charles
----- Original Message -----
From: sdcc-user-request@...
Date: Mon, 10 Jun 2002 12:09:35 -0700
To: sdcc-user@...
Subject: Sdcc-user digest, Vol 1 #602 - 6 msgs
> Send Sdcc-user mailing list submissions to
> sdcc-user@...
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/sdcc-user
> or, via email, send a message with subject or body 'help' to
> sdcc-user-request@...
>
> You can reach the person managing the list at
> sdcc-user-admin@...
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Sdcc-user digest..."
>
>
> Today's Topics:
>
> 1. RE: possible bug, stack allocation of uninitialized l
> ocal variables. (Sanjiv Kumar Gupta, Noida)
> 2. T89C51RD2 Headers (Manuel Borchers)
> 3. Fwd: [Sdcc-user] T89C51RD2 Headers (Bela Torok)
> 4. Re: T89C51RD2 Headers (Karl Bongers)
> 5. Re: T89C51RD2 Headers (Manuel Borchers)
>
> --__--__--
>
> Message: 1
> From: "Sanjiv Kumar Gupta, Noida" <sanjivg@...>
> To: sandeep@..., sdcc-user@...
> Cc: sdcc-devel@...
> Subject: RE: [Sdcc-user] possible bug, stack allocation of uninitialized l
> ocal variables.
> Date: Mon, 10 Jun 2002 15:14:16 +0530
>
> This could be fixed by a single line patch in SDCClrange.c as below.
> In function operandLUse()
> Ln 338 and Ln 346
> if (OP_SYMBOL (op)->isreqv &&
> !OP_SYMBOL (op)->_isparm && SPIL_LOC (op))
> {
> SPIL_LOC (op)-> allocreq = 1; //
> Patch:
> werror (W_LOCAL_NOINIT,
> SPIL_LOC (op)->name,
> ic->filename, ic->lineno);
> }
> else
> {
> OP_SYMBOL (op)->allocreq = 1; // Patch:
> werror (W_LOCAL_NOINIT,
> OP_SYMBOL (op)->name,
> ic->filename, ic->lineno);
> }
> I don't know wheter it will cause performance overhead or incorrect results,
> but it works fine for me if I want to adjust the stack pointer inside
> genFunction().
>
> Regards
> Sanjiv
>
> -----Original Message-----
> From: Sandeep Dutta [mailto:sandeep@...]
> Sent: Sunday, June 09, 2002 8:59 PM
> To: Sanjiv Kumar Gupta, Noida; sdcc-user@...
> Cc: sdcc-devel@...
> Subject: RE: [Sdcc-user] possible bug, stack allocation of uninitialized
> local variables.
>
>
> Hi Sanjiv,
>
> This is known problem. SDCC's live range analysis algorithm
> goes a little haywire if the locals are used before definition.
> Fixing this will cause massive performance problems.
>
> work around ... initialize local variables before use.
>
> Sandeep
>
> -----Original Message-----
> From: sdcc-user-admin@...
> [mailto:sdcc-user-admin@... Behalf Of Sanjiv Kumar
> Gupta, Noida
> Sent: Saturday, June 08, 2002 3:39 AM
> To: sdcc-user@...
> Cc: sdcc-devel@...
> Subject: [Sdcc-user] possible bug, stack allocation of uninitialized
> local variables.
>
>
> Hi,
>
> for following snippet,
>
> void foo (unsigned char);
> main()
> {
> unsigned char i, j , k ;
>
> i = !j;
> i = i + k;
>
> foo (i);
> }
>
> The value of "sym->stack" inside genFunction() is not correct for
> --stack-auto. Thais value is 0 , but it should have been 2. The .dumprassgn
> file tells me that variable "i" is given a register and variables "j" and
> "k" are on stack.
>
> Regards
> Sanjiv
>
> _______________________________________________________________
>
> Don't miss the 2002 Sprint PCS Application Developer's Conference
> August 25-28 in Las Vegas -
> http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
>
> _______________________________________________
> Sdcc-user mailing list
> Sdcc-user@...
> https://lists.sourceforge.net/lists/listinfo/sdcc-user
>
>
> --__--__--
>
> Message: 2
> From: Manuel Borchers <webmaster@...>
> To: sdcc-user@...
> Organization:
> Date: 10 Jun 2002 13:08:52 +0200
> Subject: [Sdcc-user] T89C51RD2 Headers
>
> Hi List!
>
> I just got my T89C51RD2 for my Devboard and I want to start using it
> with sdcc.
> Now I'm looking for the correct headers for that device, but there don't
> seem to be. Atmel has a header-file for Keil and I remember, that there
> was a small tool along with sdcc to convert those files to sdcc's
> format. But I cannot find it in the source tree...
>
> Ciao,
> Manuel
>
> --
> ('> http://www.matronix.de/ <`)
> //\ http://www.e-online.de/public/borchers /\\
> V_/_ PGP-Key-ID:832FFAFE _\_V
> ======= written on an i686 running RedHat 7.3 with kernel 2.4.18 ======
>
>
>
>
> --__--__--
>
> Message: 3
> Date: Mon, 10 Jun 2002 13:56:43 +0200
> To: sdcc-user@...
> From: Bela Torok <bela.torok@...>
> Subject: Fwd: [Sdcc-user] T89C51RD2 Headers
>
>
> >I just got my T89C51RD2 for my Devboard and I want to start using it
> >with sdcc.
> >Now I'm looking for the correct headers for that device, but there don't
> >seem to be. Atmel has a header-file for Keil and I remember, that there
> >was a small tool along with sdcc to convert those files to sdcc's
> >format. But I cannot find it in the source tree...
>
> You find the keil2sdcc.pl script in:
> http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/sdcc/sdcc/support/scripts/
>
> Regards: Bela
>
>
>
> --__--__--
>
> Message: 4
> Subject: Re: [Sdcc-user] T89C51RD2 Headers
> From: Karl Bongers <karl@...>
> Date: Mon, 10 Jun 2002 07:57:33 -0500
> To: Manuel Borchers <webmaster@...>
> Cc: sdcc-user@...
>
> Manuel, I have a few small projects that I can compile with either
> Keil or SDCC for the Philips P89C51RD2. From a quick look at the Atmel
> spec, it looks like the parts are similiar.
> Here is my simple setup to do this. Also Keil compiler runs fine under
> wine/Linux.
>
>
> #ifdef USE_SDCC
> #include <8051.h>
> #define VOLATILE volatile
> #else
> #include <reg51.h>
> #include "keil_io.h"
> #define VOLATILE
> #endif
>
> keil_io.h:
> /* BIT Register */
> /* P0 */
> sbit P0_0 = 0x80 ;
> sbit P0_1 = 0x81 ;
> sbit P0_2 = 0x82 ;
> sbit P0_3 = 0x83 ;
> sbit P0_4 = 0x84 ;
> sbit P0_5 = 0x85 ;
> sbit P0_6 = 0x86 ;
> sbit P0_7 = 0x87 ;
>
> /* P1 */
> sbit P1_0 = 0x90 ;
> sbit P1_1 = 0x91 ;
> sbit P1_2 = 0x92 ;
> sbit P1_3 = 0x93 ;
> sbit P1_4 = 0x94 ;
> sbit P1_5 = 0x95 ;
> sbit P1_6 = 0x96 ;
> sbit P1_7 = 0x97 ;
>
> /* P2 */
> sbit P2_0 = 0xA0 ;
> sbit P2_1 = 0xA1 ;
> sbit P2_2 = 0xA2 ;
> sbit P2_3 = 0xA3 ;
> sbit P2_4 = 0xA4 ;
> sbit P2_5 = 0xA5 ;
> sbit P2_6 = 0xA6 ;
> sbit P2_7 = 0xA7 ;
>
> /* P3 */
> sbit P3_0 = 0xB0 ;
> sbit P3_1 = 0xB1 ;
> sbit P3_2 = 0xB2 ;
> sbit P3_3 = 0xB3 ;
> sbit P3_4 = 0xB4 ;
> sbit P3_5 = 0xB5 ;
> sbit P3_6 = 0xB6 ;
> sbit P3_7 = 0xB7 ;
>
>
>
> keil.sh:
> wine c51 mprog.c CODE SYMBOLS > gokeil.log
> wine bl51 mprog.obj >> gokeil.log
> wine oh51 mprog >> gokeil.log
> cp mprog.hex mprog.ihx
>
>
> On Mon, Jun 10, 2002 at 01:08:52PM +0200, Manuel Borchers wrote:
> > Hi List!
> >
> > I just got my T89C51RD2 for my Devboard and I want to start using it
> > with sdcc.
> > Now I'm looking for the correct headers for that device, but there don't
> > seem to be. Atmel has a header-file for Keil and I remember, that there
> > was a small tool along with sdcc to convert those files to sdcc's
> > format. But I cannot find it in the source tree...
> >
> > Ciao,
> > Manuel
> >
> > --
> > ('> http://www.matronix.de/ <`)
> > //\ http://www.e-online.de/public/borchers /\\
> > V_/_ PGP-Key-ID:832FFAFE _\_V
> > ======= written on an i686 running RedHat 7.3 with kernel 2.4.18 ======
> >
> >
> >
> > _______________________________________________________________
> >
> > Don't miss the 2002 Sprint PCS Application Developer's Conference
> > August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink
> >
> > _______________________________________________
> > Sdcc-user mailing list
> > Sdcc-user@...
> > https://lists.sourceforge.net/lists/listinfo/sdcc-user
>
>
>
> --__--__--
>
> Message: 5
> Subject: Re: [Sdcc-user] T89C51RD2 Headers
> From: Manuel Borchers <webmaster@...>
> To: Karl Bongers <karl@...>
> Cc: sdcc-user@...
> Organization:
> Date: 10 Jun 2002 20:11:01 +0200
>
> Hi Karl!
>
> Am Mon, 10.06.2002 um 14:57 schrieb Karl Bongers:
> > Manuel, I have a few small projects that I can compile with either
> > Keil or SDCC for the Philips P89C51RD2. From a quick look at the Atmel
> > spec, it looks like the parts are similiar.
> > Here is my simple setup to do this. Also Keil compiler runs fine under
> > wine/Linux.
>
> Thanks for the tip, but I don't use Keil, so there is no need to switch
> between SDCC and Keil.
>
> I just converted the Keil header-file to sdcc's format, so now I have
> all setup (thanks Bela). If anyone is interested in the file to include
> it in sdcc, let me know. Mostly the definitions are the same as good old
> 8051/8052, but the chip has some additional features (DPTR, one more
> timer, ...)
>
> Ciao,
> Manuel
>
> --
> ('> http://www.matronix.de/ <`)
> //\ http://www.e-online.de/public/borchers /\\
> V_/_ PGP-Key-ID:832FFAFE _\_V
> ======= written on an i686 running RedHat 7.3 with kernel 2.4.18 ======
>
>
>
>
>
> --__--__--
>
> _______________________________________________
> Sdcc-user mailing list
> Sdcc-user@...
> https://lists.sourceforge.net/lists/listinfo/sdcc-user
>
>
> End of Sdcc-user Digest
>
--
_______________________________________________
Sign-up for your own FREE Personalized E-mail at Email.com
http://www.email.com/?sr=signup
|