Stanley Lee schrieb:
> Hi,

The above places for sdcc, gputils etc. look good.

> 
> Anyway, there is one strange thing that I have found. I have modified
> jan's template as shown in the attached zip file and still got the
> following error message:
> [error message start]
> [EMAIL PROTECTED]:/media/sda5/LED_toggle$ make

What did you change in the Makefile looks like you exchanged sdcc to
gplink in the
LNK = $(TOOLSDIR)/bin/sdcc
line. Did you?
Use sdcc to link your files not gplink direclty. sdcc will use gplink
with the correct paths/options etc.

> However, when I have modified another Makefile and code similar to the
> one Xiaofan's last reply suggested, I manage to get a hex file created
> in the end. However, it had the same behaviour as the one I have made
> with piklab, which is my code doesn't automatically execute whenever I
> apply an external power supply. It only executes when I plug in my
> PICKIT2 after instructing PICKIT2 to be on with the command "pk2 -on".
> I'm beginning to suspect that this is a hardware problem, perhaps with
> the power on timer and the brown out register.


Please, if possible, send me

1. Your code
2. the Makefile

I will check it on a pic18f2320 on my boards here.

jan

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to