AnsweredAssumed Answered

Ethernet Implementation using Processor Expert and FNET 2.1.1 on K60

Question asked by Arun Kumar on Jan 14, 2013

I am using K60N512 TWR Board for the application development.  I have created a project using Processor Expert from CW 10.2 and since , I need to have Ethernet support for my application, so I have downloaded FNET 2.1.1 and copied "fnet_stack" folder to Sources directory of the project and added "fnet_user_config.h" file and configured it also.

So now my application will have fnet_stack and there was no errors while building. But the problem now is the Linker fails to create .afx file because of the

conflicting issues in "Processor.Expert.lcf" file. So I changed MEMORY config of "processor_expert.lcf" file as below

 

  cfmprotrom  (RX) : ORIGIN = 0x00000400, LENGTH = 0x00000010

  vectorrom   (RX) : ORIGIN = 0x0000C000, LENGTH = 0x00000400

 

  interrupts  (RX) : ORIGIN = 0x1FFF0000, LENGTH = 0x000001E0

  code        (RX) : ORIGIN = 0x1FFF01E0, LENGTH = 0x00015220

 

 

  fnet_params (RW)  : ORIGIN = 0x0007F000, LENGTH = 0x00001000 # 4Kbytes (Last logical-block reserved for parameters)

  vectorram   (RWX) : ORIGIN = 0x20000000, LENGTH = 0x00000400 # 64KB SRAM

  userram     (RWX) : ORIGIN = 0x20000400, LENGTH = 0x0000FC00

  data        (RW) : ORIGIN = 0x20005400, LENGTH = 0x0000AC00



And added

    __VECTOR_RAM    = ADDR(.interrupts);

At the end of SECTIONS.

 

Now I am able to build the project but, the program goes to PEDEBUG_HALT() due to some error.

 

I have attached "the project files" for reference.

 

Please suggest where may be the problem?

 

Thanks and Regards

Arun


Original Attachment has been moved to: TEST_LAN_EVALBOARD_ver02.zip

Outcomes