From: Clemens E. <lin...@gm...> - 2006-11-18 09:47:02
|
Hello, Is the PIC24FJ128GA006-I/PT chip supported by SDCC. I guess its a PIC18series chip, or am I wrong? Since PIC support is a quite new feature are there serious limitations or (sporadic) bugs? How large may a program be compiled with SDCC , since this PIC has 128k flash and I plan to use about 0-64k for my program. Will I be able to adress flash above 64k for data? Thank you in advance, lg Clemens |
From: Philipp K. K. <pk...@sp...> - 2006-11-18 09:55:07
|
Clemens Eisserer schrieb: > Hello, > > Is the PIC24FJ128GA006-I/PT chip supported by SDCC. I guess its a > PIC18series chip, or am I wrong? Hmm, there's no header file for it yet (as of sdcc 2.6.1 #4399 (Oct 27 2006)). AFAIK sdcc supports only pic14 and pic16. > > Since PIC support is a quite new feature are there serious limitations > or (sporadic) bugs? Yes. The pic 16port is more stable than the pic14 though. Philipp |
From: Clemens E. <lin...@gm...> - 2006-11-18 10:33:13
|
Hello, Another PIC which would seem also great for my use would be the PIC18F8722-I/PT, however only the 18F8720 is listed, I guess the 8722 is also supported. Is there a limit how large programs may become and will I be able to adress the full 128k flash? > Yes. The pic 16port is more stable than the pic14 though. So would my life be easier using a 8051 derivate like the P89C51RD2BBD/01 from phillips? The sad thing is that this chip is twice as expensive and only has 1k RAM and half the flash :-/ Thanks a lot for the fast answer, lg Clemens PS: Thanks a lot for SDCC. It allows me to tinker (on linux) where otherwise I would have to buy windows stuff. |
From: Philipp K. K. <pk...@sp...> - 2006-11-18 11:16:31
|
Clemens Eisserer schrieb: > Hello, > > Another PIC which would seem also great for my use would be the > PIC18F8722-I/PT, however only the 18F8720 is listed, I guess the 8722 > is also supported. In the past new pic variants have been added very fast upon user request. I suppose it will be the same here. > Is there a limit how large programs may become and will I be able to > adress the full 128k flash? > >> Yes. The pic 16port is more stable than the pic14 though. > So would my life be easier using a 8051 derivate like the > P89C51RD2BBD/01 from phillips? The sad thing is that this chip is > twice as expensive and only has 1k RAM and half the flash :-/ I'm only a sdcc user that sometimes submits a patch, not a deveoper. I use the pic14 and z80 ports. The z80 port is currently unmaintained, the pic14 port is very new and maintained by only one person. Each time I wrote a program for the z80 I encountered a new compiler error. The one time I wrote a program for the pic14 I encountered multiple compiler erros, some of them were fixed very fast. Since most sdcc developers work on the mcs51 port (and it's the oldest one) it is probably a lot better. I suppose the pic16 port is good enough, too, I guess you'll encounter a bug writing your program for the 18F722, but one that you can work around. > > Thanks a lot for the fast answer, lg Clemens > > PS: Thanks a lot for SDCC. It allows me to tinker (on linux) where > otherwise I would have to buy windows stuff. In spite of all the problems (bugs, inefficient code) I think that sdcc is the best compiler targeting the Z80. Philipp |
From: Olgierd E. <ol...@te...> - 2006-11-18 15:00:48
|
I've been using SDCC (a sligtly modified version) for 8722 so if somebody w= ant=20 it, I can share my files. I'd be glad if they can be included in the main=20 version. Olgierd El S=E1bado 18 Noviembre 2006 10:26, Clemens Eisserer escribi=F3: > Hello, > > Another PIC which would seem also great for my use would be the > PIC18F8722-I/PT, however only the 18F8720 is listed, I guess the 8722 > is also supported. > Is there a limit how large programs may become and will I be able to > adress the full 128k flash? > > > Yes. The pic 16port is more stable than the pic14 though. > > So would my life be easier using a 8051 derivate like the > P89C51RD2BBD/01 from phillips? The sad thing is that this chip is > twice as expensive and only has 1k RAM and half the flash :-/ > > Thanks a lot for the fast answer, lg Clemens > > PS: Thanks a lot for SDCC. It allows me to tinker (on linux) where > otherwise I would have to buy windows stuff. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your opinions on IT & business topics through brief surveys - and earn ca= sh > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Sdcc-user mailing list > Sdc...@li... > https://lists.sourceforge.net/lists/listinfo/sdcc-user =2D-=20 =2D------------------------------------ Olgierd Eysymontt Gte Desarrollo http://www.tea-tec.cl |
From: Xiaofan C. <xia...@gm...> - 2006-11-18 15:25:40
|
On 11/18/06, Clemens Eisserer <lin...@gm...> wrote: > > Is the PIC24FJ128GA006-I/PT chip supported by SDCC. I guess its a > PIC18series chip, or am I wrong? > No. It is not a PIC18 series chip. It is the PIC24 family of chips and it is supported by Microchip C30 which is based on GCC. I think it won't be supported by SDCC, at least not so soon. Microchip has released the GCC source code for C30 (but not the pa optimizer). http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en023073 It is possible to build from the GCC source a working compiler. (eg: http://piklab.sourceforge.net/install.php, which is an older version). However it is not possible to release the library files, linker scripts, and include files without the permission from Microchip. http://forum.microchip.com/tm.aspx?m=139510 The C30 compiler (student version) is working using Wine under Linux. So I think this is the easiest way to legally use C30 under Linux. Regards, Xiaofan |
From: Clemens E. <lin...@gm...> - 2006-11-18 18:27:20
|
@Olgierd: Yes please, would be great :-) @Xiaofan: Well I would like to use sdcc, if its not supported I'll search another supported controller ;-) I simply like the way sdcc is developed too much. lg Clemens 2006/11/18, Xiaofan Chen <xia...@gm...>: > On 11/18/06, Clemens Eisserer <lin...@gm...> wrote: > > > > Is the PIC24FJ128GA006-I/PT chip supported by SDCC. I guess its a > > PIC18series chip, or am I wrong? > > > No. It is not a PIC18 series chip. It is the PIC24 family of chips and it is > supported by Microchip C30 which is based on GCC. I think it won't > be supported by SDCC, at least not so soon. > > Microchip has released the GCC source code for C30 (but not > the pa optimizer). > http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en023073 > > It is possible to build from the GCC source a working compiler. > (eg: http://piklab.sourceforge.net/install.php, which is an older version). > However it is not possible to release the library files, linker scripts, > and include files without the permission from Microchip. > http://forum.microchip.com/tm.aspx?m=139510 > > The C30 compiler (student version) is working using Wine under Linux. > So I think this is the easiest way to legally use C30 under Linux. > > Regards, > Xiaofan > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Sdcc-user mailing list > Sdc...@li... > https://lists.sourceforge.net/lists/listinfo/sdcc-user > |