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

2007-10-18 Thread Stanley Lee
I haven't tried pk2 on a PIC16F mcu yet. I have talked to Microchip technical support about my problem, and they suggested that it could be b/c of pk2 not sending the fusebit controls properly. Jan is ordering some 2620 and working on it to see whether the same problem is replicated on his side. Ju

Re: [Sdcc-user] 8051 bankswitching in aslink - implemented

2007-10-18 Thread Peter Kuhar
Hi, The problem is that portable.h does not include portmacro.h from nanostack/platform/nano/include directory. That is the problem with nanostack distribution, not sdcc. This will make it work. But will not yet use code banking. There are some changes needed in the makefiles to tell the linker i

Re: [Sdcc-user] How To programm

2007-10-18 Thread Xiaofan Chen
On 10/19/07, Xiaofan Chen <[EMAIL PROTECTED]> wrote: > On 10/19/07, nayan kumar <[EMAIL PROTECTED]> wrote: > > > Thank you very much for your help. > > I want to make one by myself can you give me some info about that or if you > > have some design and information about parts that will be used for

Re: [Sdcc-user] How To programm

2007-10-18 Thread Xiaofan Chen
On 10/19/07, nayan kumar <[EMAIL PROTECTED]> wrote: > Thank you very much for your help. > I want to make one by myself can you give me some info about that or if you > have some design and information about parts that will be used for making > one programmer by ourself. > > Any tutorial or url fr

Re: [Sdcc-user] How To programm

2007-10-18 Thread nayan kumar
Hi Xiaofan, Thank you very much for your help. I want to make one by myself can you give me some info about that or if you have some design and information about parts that will be used for making one programmer by ourself. Any tutorial or url from where i can get those kind of

[Sdcc-user] z80 startup code question

2007-10-18 Thread Taco Walstra
Hi, I'm using the sdcc compiler for a z80 embedded fpga core. I don't understand a few things on the mapping in the crt0.s and perhaps somebody can give an explanation. The C program is right now super simple: sfr at 0x80 led_port; int main(){ led_port = 0x33; return 0; } I've u

Re: [Sdcc-user] SDCC error: no target memory available for section {...} - PIC18F2320

2007-10-18 Thread Rogério Esteves Salustiano
> SDCC developers and users, > > I had a problem of "no target memory available". The problem and my > environment are described below. > > SDCC Version: > sdcc -v > SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 > 2.7.3 #4920 (Sep 28 2007) (MINGW32) > > GCC Version: > gcc

[Sdcc-user] SDCC error: no target memory available for section {...} - PIC18F2320

2007-10-18 Thread Rogério Esteves Salustiano
SDCC developers and users, I had a problem of "no target memory available". The problem and my environment are described below. SDCC Version: sdcc -v SDCC : mcs51/gbz80/z80/avr/ds390/pic16/pic14/TININative/xa51/ds400/hc08 2.7.3 #4920 (Sep 28 2007) (MINGW32) GCC Version: gcc version 3.4.2 (mingw

Re: [Sdcc-user] How To programm

2007-10-18 Thread Xiaofan Chen
On 10/19/07, nayan kumar <[EMAIL PROTECTED]> wrote: > Hi All, > I am a beginner and trying to learn how to work on microcontroller. > > i have a learner kit that i got from one of my friend which has pic > microcontroller but the problem i am facing is i am not able to programm > that kit.

Re: [Sdcc-user] How To programm

2007-10-18 Thread Xiaofan Chen
On 10/19/07, 湛宗儒 <[EMAIL PROTECTED]> wrote: > SDCC is just a compiler suit,so you should turn on your browser for > some searching for PIC programmers. You can buy one or just build > one by your hands(if you are a student,I recommand you build one). > By the way,supports for PIC by SDCC is limited

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

2007-10-18 Thread soliton
It seemed the same problem happened to me with PIC16F88, my application could not run without using the USB port power supply. But I didn't change anything and it work again, very strange. Just an idea, have you tried it using 3 pieces of battery as power supply? And bring your test circuit far awa

[Sdcc-user] Re: [Sdcc-user] How To programm

2007-10-18 Thread 湛宗儒
SDCC is just a compiler suit,so you should turn on your browser for some searching for PIC programmers. You can buy one or just build one by your hands(if you are a student,I recommand you build one). By the way,supports for PIC by SDCC is limited so far. Read the mannual. > > Hi All, >

[Sdcc-user] How To programm

2007-10-18 Thread nayan kumar
Hi All, I am a beginner and trying to learn how to work on microcontroller. i have a learner kit that i got from one of my friend which has pic microcontroller but the problem i am facing is i am not able to programm that kit. How can i do so and from where i can get a programmer so

Re: [Sdcc-user] 8051 bankswitching in aslink - implemented

2007-10-18 Thread Frieder Ferlemann
Hi Peter, Peter Kuhar schrieb: > This is a follow up from the previous e-mails about code banking. > I've posted the sdcc bankswitching code to > http://sourceforge.net/projects/ccflasher/ > Patches and a sample app are included. Sample app works for cc2430, Thanks! I downloaded and installed sdc