Re: [Sdcc-user] PIC18F97J60 configuration bits...

2011-04-19 Thread Olgierd Eysymontt
value = 42; /*address space defined*/ __code char __at __CONFIG1L foovalue = 0x42; /*storage address defined*/ this creates the correct definition in the hex file. Sebastien On Tue, Apr 19, 2011 at 2:21 PM, Olgierd Eysymontt <mailto:oec...@eid.cl>> wrote: I'll give it a try

Re: [Sdcc-user] PIC18F97J60 configuration bits...

2011-04-19 Thread Olgierd Eysymontt
I'll give it a try tonight and let you know. It's a very different syntax, ¿ where did you got that info ?, I'm curious. Cheers, Olgierd On 18-04-2011 16:57, Rob Connolly wrote: > __code __at __CONFIG1L _C1L = 0x20; > __code __at __CONFIG1H _C1H = 0x04; > __code __at __CONFIG2L _C2L = 0x04& 0

Re: [Sdcc-user] PIC18F97J60 configuration bits...

2011-04-18 Thread Olgierd Eysymontt
Fabien, It seems that the 18f4550 has the CONFIG_1L, CONFIG_1H .. etc. address macros defined, but in the pic18fxxJxx series, they are not defined in the processor include file. These can be added by hand, not a problem, but I've tried a manual approach using the datasheet address without r

Re: [Sdcc-user] PIC18F97J60 configuration bits...

2011-04-18 Thread Olgierd Eysymontt
Hi, I've also been unable to find where these constants are defined, but I think this issue is related to gputils, it seems they are only defined for previous pic18 devices, I've use to program a 18F8722 that way and worked, the macros where defined in the .h file of the processor, but now, usi

Re: [Sdcc-user] GPL+LE/LP pic/pic16 header Interest?

2011-03-29 Thread Olgierd Eysymontt
Wes, I'm actually working with the 18F66j15, 18F65j10 and I plan to start using the 18F67j50 I have boards with the 66j15 and 65j10 so I can test the headers. I can help also building the files or doing other things Regards Olgierd On 29-03-2011 5:07, Weston Schmidt wrote: OIgierd, Which c

Re: [Sdcc-user] GPL+LE/LP pic/pic16 header Interest?

2011-03-24 Thread Olgierd Eysymontt
I think it is interesting, I need to create a couple of header files also. OIgierd El 23/03/2011 4:41, Weston Schmidt escribió: Hello, I am curious if there is any interest in GPL+LE/LP pic/pic16 headers? I ask because I need to add a few new pic16 devices to SDCC & GPUTILS, and I figure if

[Sdcc-user] Config Words

2010-07-30 Thread Olgierd Eysymontt
Hi, I'm an old SDCC lover and now I'm working on a project that uses the pic18f66f15. I followed the steps to include support for it, and it seems that everything worked fine but the pic18f66j15.h file doesn't include the __CONFIG directives, so I chequed the p18f66j15.inc and it says : ;

[Sdcc-user] pic18f66j15 config words

2010-07-30 Thread Olgierd Eysymontt
Hi, I'm an old SDCC fan and now I'm working on a project that uses the pic18f66f15. I followed the steps to include support for it, and it seems that everything worked fine but the pic18f66j15.h file doesn't include the __CONFIG directives, so I chequed the p18f66j15.inc and it says : ;==

Re: [Sdcc-user] Problem compiling with pic 18f

2008-06-05 Thread Olgierd Eysymontt
I think you should do : main() { ... foo((unsigned char)133); ... } becasue SDCC asume that 133 is an integer, with the cast you should solve the problem. Cheers, Olgierd 2008/6/3 Cyberalex <[EMAIL PROTECTED]>: > I'm using a pin 18f1220 and i have to make some function with > parameters but t

Re: [Sdcc-user] PIC not executing using any power supply other than the computer USB port

2007-09-29 Thread Olgierd Eysymontt
ound. I hoe it helps, Olgierd Eysymontt 2007/9/29, Stanley Lee <[EMAIL PROTECTED]>: > > Once again, thanks to Jan and Raphael for their help for getting me > started with a template for the C codes on SDCC fusebit syntax. My newest > version of the LED blinking code is posted on &g

Re: [Sdcc-user] Are PIC24 supported?

2006-11-18 Thread Olgierd Eysymontt
Sdcc-user mailing list > Sdcc-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sdcc-user -- - Olgierd Eysymontt Gte Desarrollo http://www.tea-tec.cl - Take Surveys. Earn Cash. Influence the Fut

Re: [Sdcc-user] No target memory available.

2006-10-21 Thread Olgierd Eysymontt
Hi Pete, I think your problem may be to have a big variable, in the compiler model you can't have variables that use more than 256 bytes and this counts for arrays, for example you can't have: float array[65]; just because the whole array uses more than 256 bytes (a block) and I guess it

Re: [Sdcc-user] float print routine

2006-07-06 Thread Olgierd Eysymontt
BTW, the code is posted to be freely used, so use GPL, GPL2, BSD or the licence you want to use, not a problem. Olgierd El mié, 05-07-2006 a las 15:30 -0400, Olgierd Eysymontt escribió: > Hi, as I got no answer to the problem of printing floats in pic16 port, > I made a small routine to

[Sdcc-user] float print routine

2006-07-05 Thread Olgierd Eysymontt
Hi, as I got no answer to the problem of printing floats in pic16 port, I made a small routine to print numbers in the form D.MMM to 8 decimal places, it's very simple, but can be useful to somebody else. The usart_send_2 routine is used to send chars to the serial port, so can be

[Sdcc-user] printing floats in pic16

2006-06-29 Thread Olgierd Eysymontt
Hi, I've trying to convert some floats using for a pic16 device and I've been unable to make work any of the supplied routines, I'm using a pic 8722, stack and memory model large and I test the routines (because I don't know how to make the work) with the following code that test different values a