This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Using examples profinet_slave_RT and enetLwip_sysbios together on am335x icev2;

Other Parts Discussed in Thread: SYSBIOS, SYSBIOSSDK-IND-SITARA

example profinet_slave_RT can running alone;example enetLwip_sysbios  can running alone too.

then I would   procedure of enetLwip_sysbios  to  procedure of enetLwip_sysbios profinet_slave_RT. 

With the emulator online simulation program is good,

The program to burn into the spi flash on electricity can run for the first time, but the second can't run on electricity.

I did an experiment:

   

this is in int main(void);If this program is very good, burn to the spi flash can run inside.

but

the Lwip_SetDelay() in enetlwip.c;

 to burn into the spi flash  will appear on the first electric program can run, but the second can't run on electricity.

These two programs.. Spi. Bin file is not as big.

Why is this case?

Could you give me your expert advise? 

Thank you for your answer first.

  • Excuse me,Because the picture can't show, I explain here
    First figure is about:

    // Lwip_SetDelay();
    I2CSetDelayFn(Task_sleep);
    BIOS_start();

    Test_All_1_SPI.bin is 484 KB file.


    The second figure:
    Lwip_SetDelay();
    // I2CSetDelayFn(Task_sleep);
    BIOS_start();

    void Lwip_SetDelay(void)
    {

    I2CSetDelayFn(Task_sleep);
    }

    Test_All_1_SPI.bin is 525KB file.

    Thank you for your answer first.
  • Hi,

    Are you trying to flash the two applications into SPI and run with problem? What's the background/purpose you need to integrate the two applications? If you could list the the exact steps and code changes you made, I can try to reproduce the issue and find the cause.

    Regards,
    Garrett
  • HI

    It sounds like you are using SYSBIOSSDK-IND-AM335X: SYSBIOS Industrial SDK for AM335x Processors v 01.xx.  Unfortunately the SYSBIOSSDK-IND-AM335X is being maintained for existing legacy customers and is not recommended for new development.

    All current development should use the active development branch which is SYSBIOSSDK-IND-SITARA:  SYSBIOS Industrial Software Development Kit (SDK) for AM335x and AM437x  ver 02.01.02.01 at http://downloads.ti.com/sitara_indus/esd/SYSBIOSSDK-IND-SITARA/latest/index_FDS.html 

    Regretfully lwip is not supported in the current Industrial SDK.  Instead the TI Network Development Kit (NDK) is used for network services. The NDK is a platform for development and demonstration of network enabled RTOS applications on TI processors. 

    David