Reply by Kuba Dorzak February 11, 20112011-02-11
Hi,
I did not use the IAR 5.50 example but the code from the NXP website have
the Micrel PHY support, and it does not require any significant changes to
build a simple frame generator. Moreover Micrel has datasheets available on
their website, which are helpful in case of the register differences. To
avoid exeptions maybe it'd be easier to eliminate interrupts and use just
polling.

Kuba

2011/2/11 ivan.zuev

> Hi, again.
>
> I partly solved this problem.
> IAR 5.50 has the example for other PHY (National DP83847, DP83846 or
> DP83843) and try to read nonexistent register PHY_PHYSTS 10h. Of course,
> Micrel return null.
> I've changed code for Micrel, but the program catch exception and cycled.
>
> Best wishes,
> Ivan Z.
> --- In l..., Ivan Zuev wrote:
> >
> > Hello, colleagues!
> >
> > I would like to ask you helping me! I need write a simple program, which
> > periodically sent Ethernet frames with 100 bytes information.
> > Physical interface is KS8721BL. Chip is LPC2468.
> >
> > I've tried explore a sample from IAR 5.50, but it isn't work at all. It
> seems
> > that KS8721BL can't be initialized. Now my JTAG go mad - doesn't work
> properly.
> >
> > I would be glad if you dash 100% working examples.
> >
> > Best wishes,
> > Ivan Z.
> >
>

--
Pozdrawiam,
Kuba
http://www.jdorzak.pl

An Engineer's Guide to the LPC2100 Series

Reply by "ivan.zuev" February 11, 20112011-02-11
Hi, again.

I partly solved this problem.
IAR 5.50 has the example for other PHY (National DP83847, DP83846 or DP83843) and try to read nonexistent register PHY_PHYSTS 10h. Of course, Micrel return null.
I've changed code for Micrel, but the program catch exception and cycled.
Best wishes,
Ivan Z.

--- In l..., Ivan Zuev wrote:
>
> Hello, colleagues!
>
> I would like to ask you helping me! I need write a simple program, which
> periodically sent Ethernet frames with 100 bytes information.
> Physical interface is KS8721BL. Chip is LPC2468.
>
> I've tried explore a sample from IAR 5.50, but it isn't work at all. It seems
> that KS8721BL can't be initialized. Now my JTAG go mad - doesn't work properly.
>
> I would be glad if you dash 100% working examples.
>
> Best wishes,
> Ivan Z.
>

Reply by "Felipe de Andrade Neves L." February 4, 20112011-02-04
*Yes, maybe Kuba's suggestion is better. FreeRTOS has a lot of extra code
that may not suit your application.*
*
*
2011/2/4 Kuba Dorzak

> Hi!
> Here: http://ics.nxp.com/products/lpc2000/lpc24xx/ at the bottom you can
> download NXP examples. There is an example- ethernet frame generator. I used
> it (with Micrel) and it works. Good luck.
> Regards, Kuba
>
> 2011/2/4 ivan.zuev
>>
>> Hello, Felipe!
>>
>> Thank you for your answer.
>> Actually, I don't like ask somebody help, because you'll get the same
>> answer - just google (ooops.. Yahoo :)
>> But I really need a simple low level frame generator.
>> Have you got some examples?
>>
>> Best regards,
>> Ivan Z.
>>
>> --- In l... , "Felipe de
>> Andrade Neves L." wrote:
>> >
>> > *There is a few of uIP ports on internet, use one of these assossiated
>> with
>> > the uip documentation, where you will learn how to send ethernet frames
>> at a
>> > top level.
>> > *
>> > 2011/2/3 Ivan Zuev
>> >
>> > >
>> > >
>> > > Hello, colleagues!
>> > >
>> > > I would like to ask you helping me! I need write a simple program,
>> which
>> > > periodically sent Ethernet frames with 100 bytes information.
>> > > Physical interface is KS8721BL. Chip is LPC2468.
>> > >
>> > > I've tried explore a sample from IAR 5.50, but it isn't work at all.
>> It
>> > > seems that KS8721BL can't be initialized. Now my JTAG go mad - doesn't
>> work
>> > > properly.
>> > >
>> > > I would be glad if you dash 100% working examples.
>> > >
>> > > Best wishes,
>> > > Ivan Z.
>> > >
>> > >
>> > >
>> >
> --
> Pozdrawiam,
> Kuba
> http://www.jdorzak.pl
>
>
>
Reply by Kuba Dorzak February 4, 20112011-02-04
Hi!
Here: http://ics.nxp.com/products/lpc2000/lpc24xx/ at the bottom you can
download NXP examples. There is an example- ethernet frame generator. I used
it (with Micrel) and it works. Good luck.
Regards, Kuba

2011/2/4 ivan.zuev

> Hello, Felipe!
>
> Thank you for your answer.
> Actually, I don't like ask somebody help, because you'll get the same
> answer - just google (ooops.. Yahoo :)
> But I really need a simple low level frame generator.
> Have you got some examples?
>
> Best regards,
> Ivan Z.
>
> --- In l... , "Felipe de
> Andrade Neves L." wrote:
> >
> > *There is a few of uIP ports on internet, use one of these assossiated
> with
> > the uip documentation, where you will learn how to send ethernet frames
> at a
> > top level.
> > *
> > 2011/2/3 Ivan Zuev
> >
> > >
> > >
> > > Hello, colleagues!
> > >
> > > I would like to ask you helping me! I need write a simple program,
> which
> > > periodically sent Ethernet frames with 100 bytes information.
> > > Physical interface is KS8721BL. Chip is LPC2468.
> > >
> > > I've tried explore a sample from IAR 5.50, but it isn't work at all. It
> > > seems that KS8721BL can't be initialized. Now my JTAG go mad - doesn't
> work
> > > properly.
> > >
> > > I would be glad if you dash 100% working examples.
> > >
> > > Best wishes,
> > > Ivan Z.
> > >
> > >
> > >
> >
>

--
Pozdrawiam,
Kuba
http://www.jdorzak.pl
Reply by "ivan.zuev" February 4, 20112011-02-04
Hi, Christopher.

I think many boards are similar. I use the next one:

I'd be glad for some links for IAR.

Best regards,
Ivan Z.
--- In l..., Christopher Harvey wrote:
>
> On 02/03/11 21:53, Felipe de Andrade Neves L. wrote:
> > I would like to ask you helping me! I need write a simple program,
which
> > periodically sent Ethernet frames with 100 bytes information.
> > Physical interface is KS8721BL. Chip is LPC2468.
>
> Those parts sounds familiar. Are you using an MCB board by any chance?
I
> know there are tons of demos for those. If it is an MCB board maybe
the
> FreeRTOS site has an ethernet demo for it.
>
Reply by "ivan.zuev" February 4, 20112011-02-04
Hello, Felipe!

Thank you for your answer.
Actually, I don't like ask somebody help, because you'll get the same answer - just google (ooops.. Yahoo :)
But I really need a simple low level frame generator.
Have you got some examples?

Best regards,
Ivan Z.

--- In l..., "Felipe de Andrade Neves L." wrote:
>
> *There is a few of uIP ports on internet, use one of these assossiated with
> the uip documentation, where you will learn how to send ethernet frames at a
> top level.
> *
> 2011/2/3 Ivan Zuev >
> >
> > Hello, colleagues!
> >
> > I would like to ask you helping me! I need write a simple program, which
> > periodically sent Ethernet frames with 100 bytes information.
> > Physical interface is KS8721BL. Chip is LPC2468.
> >
> > I've tried explore a sample from IAR 5.50, but it isn't work at all. It
> > seems that KS8721BL can't be initialized. Now my JTAG go mad - doesn't work
> > properly.
> >
> > I would be glad if you dash 100% working examples.
> >
> > Best wishes,
> > Ivan Z.
> >
> >
>

Reply by Christopher Harvey February 3, 20112011-02-03
On 02/03/11 21:53, Felipe de Andrade Neves L. wrote:
> I would like to ask you helping me! I need write a simple program, which
> periodically sent Ethernet frames with 100 bytes information.
> Physical interface is KS8721BL. Chip is LPC2468.

Those parts sounds familiar. Are you using an MCB board by any chance? I
know there are tons of demos for those. If it is an MCB board maybe the
FreeRTOS site has an ethernet demo for it.
Reply by "Felipe de Andrade Neves L." February 3, 20112011-02-03
*There is a few of uIP ports on internet, use one of these assossiated with
the uip documentation, where you will learn how to send ethernet frames at a
top level.
*
2011/2/3 Ivan Zuev

> Hello, colleagues!
>
> I would like to ask you helping me! I need write a simple program, which
> periodically sent Ethernet frames with 100 bytes information.
> Physical interface is KS8721BL. Chip is LPC2468.
>
> I've tried explore a sample from IAR 5.50, but it isn't work at all. It
> seems that KS8721BL can't be initialized. Now my JTAG go mad - doesn't work
> properly.
>
> I would be glad if you dash 100% working examples.
>
> Best wishes,
> Ivan Z.
>
>
>
Reply by Ivan Zuev February 3, 20112011-02-03
Hello, colleagues!

I would like to ask you helping me! I need write a simple program, which
periodically sent Ethernet frames with 100 bytes information.
Physical interface is KS8721BL. Chip is LPC2468.

I've tried explore a sample from IAR 5.50, but it isn't work at all. It seems
that KS8721BL can't be initialized. Now my JTAG go mad - doesn't work properly.

I would be glad if you dash 100% working examples.

Best wishes,
Ivan Z.