Hi all,
Could any pls tell me what options to set for
Atmel AT89C51 using built in data memory and program memory with no
external memory.
And start-up code for the same.
Thanks in advance,
Regards,
Ravi Kumar CH
On Thu, 2003-11-27 at 09:42, Ravi Kumar wrote:
> Hi,
> There is no external programme memory. And also ALE is not connected.
> Any way out!!
> Thanks
> Ravi Kumar CH
> On Tue, 2003-11-25 at 20:16, Jean-Paul Brodier wrote:
> > On 25 Nov 2003 19:41:54 +0530, Ravi Kumar <ravivsn@...> wrote:
> >
> > > Hi All,
> > > This is my first posting to the list.
> > > MC:AT89C51
> > > SDCC : mcs51/gbz80/z80/avr/ds390/pic14 2.3.0 (Sep 20 2001)
> > > (UNIX)
> > > To test 89c51 board, I wrote a test program to generate clock on each
> > > port. I have attached the related c file and hex file.
> > >
> > > My problem: when loaded onto 89c51 I dont see any response of LEDs
> > > connected to P2. Observing P2 in oscilloscope shows me square waves on
> > > each pin of P2 but of different freq.
> >
> > Looks like your processor is scanning external addresses on P2 (A8 to
> > A15), looking for an external programme memory.
> >
> > Would you mind checking the level of AE\ pin? It should be high if you're
> > using the internal flash ROM.
> >
> > > The same program when I write hex code and download onto 89c51 LEDs are
> > > blinking and showing same freq, with this obeservation I cannot suspect
> > > hardware.
> > > I strongly feel I am missing some thing in startup code or compiler
> > > options.
> > >
> > > sdcc -mmcs51 --model-small -c test.c
> > > sdcc -mmcs51 --model-small test.rel
> > > packihx test.ihx > test.hex
> > >
> > > Please help me out,
> > > Thanks in advance,
> > > Ravi Kumar CH
> > >
> >
> >
> >
> > --
> > NEVER jump into a LOOP!
> >
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by: SF.net Giveback Program.
> > Does SourceForge.net help you be more productive? Does it
> > help you create better code? SHARE THE LOVE, and help us help
> > YOU! Click Here: http://sourceforge.net/donate/
> > _______________________________________________
> > Sdcc-user mailing list
> > Sdcc-user@...
> > https://lists.sourceforge.net/lists/listinfo/sdcc-user
>
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive? Does it
> help you create better code? SHARE THE LOVE, and help us help
> YOU! Click Here: http://sourceforge.net/donate/
> _______________________________________________
> Sdcc-user mailing list
> Sdcc-user@...
> https://lists.sourceforge.net/lists/listinfo/sdcc-user
|