Example SJA1110 FreeRTOS lwIP S32G-VNP-RDB2 S32DS 3.5 RTD 1.0.2

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Example SJA1110 FreeRTOS lwIP S32G-VNP-RDB2 S32DS 3.5 RTD 1.0.2

Example SJA1110 FreeRTOS lwIP S32G-VNP-RDB2 S32DS 3.5 RTD 1.0.2

*********************************************************************************
* Detailed Description:
* Updated the example lwip_FreeRTOS_SJA1110 for board S32G-VNP-RDB2
* to enable ping from the command window, from all applicable ports
*
*ping 192.168.0.210
*
*Pinging 192.168.0.210 with 32 bytes of data:
*Reply from 192.168.0.210: bytes=32 time=2ms TTL=255
*Reply from 192.168.0.210: bytes=32 time=1ms TTL=255
*Reply from 192.168.0.210: bytes=32 time=1ms TTL=255
*Reply from 192.168.0.210: bytes=32 time=1ms TTL=255
*
*Ping statistics for 192.168.0.210:
* Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
*Approximate round trip times in milli-seconds:
* Minimum = 1ms, Maximum = 2ms, Average = 1ms
*
* Installed packages to S32DS 3.5 update 14:
* SW32SJA11xx_S32DS_3.5.0_RFP_D2206.zip
* SJA11XX_RTD_4.4_1.0.1_P02_HF01_D2510_DesignStudio_updatesite.zip
* SW32SJA1110_XJA11XX_ETH_PHY_4.4_1.0.8_CD01_D2509_DesignStudio_updatesite.zip
* SJA11XX_ETH_SWITCH_4.4_1.0.2_CD01_D2509_DesignStudio_updatesite.zip
* SW32SJA11xx_FreeRTOS_11.1.0_0.8.0_CD2_D2411_DesignStudio_updatesite.zip
* SJA11XX_TCPIP_2.0.0_CD01_D2510_DesignStudio_updatesite.zip
*
* EVB:
* - SW10[1]: On, SW10[2]: Off
* - SW12[1]: On, SW12[2]: Off
*
* Configuration:
* - Updated switch configuration
* - Updated phy configuration
* - Fixed Mcu/McuModuleConfiguration/McuPowerControlUnit - 1V8 and 2V5
* - Fixed Eth configuration
* <setting name="EthMaxFrameLength" value="1518"/>
* <setting name="EthCtrlConfigEgressFifoBufLenByte" value="1536"/>
* <setting name="EthCtrlConfigIngressFifoBufLenByte" value="1536"/>
* - TCPIP stack: enabled UDP_ECHO, etc.
* - Changed IP address to 192.168.0.210
* - Added DIO
* - Added nvm_metadata
* - MAC learning is disabled
* - The example includes two flash images for Port 4 SGMII speed
* configuration towards the S32G:
* - flash_image_2G5.bin (tested)
* - flash_image_1G.bin (not tested)

*
* main.c
* - Updated only the header
* device.c
* - Added LED routines
* test.c
* - Removed code that shuts down the TCP/IP stack after its predefined timeout
* - Added debug stuff
* - Commented out the code that initializes 2nd switch
*
* -----------------------------------------------------------------------------
* Test HW: S32G-VNP-RDB2 REV E
* MCU: SJA1110A
* Debugger: Lauterbach TRACE32
* Target: RAM or external FLASH (flash_image.bin generated)
* EVB connection: any port <-> RDDRONE T1ADAPT (on ports where applicable) <-> USB-to-Ethernet adapter <-> Laptop DELL, Windows 11
Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-2395421%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3EExample%20SJA1110%20FreeRTOS%20lwIP%20S32G-VNP-RDB2%20S32DS%203.5%20RTD%201.0.2%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2395421%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%0A%3CPRE%3E%3CFONT%20size%3D%222%22%3E*********************************************************************************%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20Detailed%20Description%3A%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20Updated%20the%20example%20lwip_FreeRTOS_SJA1110%20for%20board%20S32G-VNP-RDB2%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20to%20enable%20ping%20from%20the%20command%20window%2C%20from%20all%20applicable%20ports%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*ping%20192.168.0.210%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*Pinging%20192.168.0.210%20with%2032%20bytes%20of%20data%3A%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*Reply%20from%20192.168.0.210%3A%20bytes%3D32%20time%3D2ms%20TTL%3D255%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*Reply%20from%20192.168.0.210%3A%20bytes%3D32%20time%3D1ms%20TTL%3D255%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*Reply%20from%20192.168.0.210%3A%20bytes%3D32%20time%3D1ms%20TTL%3D255%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*Reply%20from%20192.168.0.210%3A%20bytes%3D32%20time%3D1ms%20TTL%3D255%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*Ping%20statistics%20for%20192.168.0.210%3A%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20Packets%3A%20Sent%20%3D%204%2C%20Received%20%3D%204%2C%20Lost%20%3D%200%20(0%25%20loss)%2C%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*Approximate%20round%20trip%20times%20in%20milli-seconds%3A%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20Minimum%20%3D%201ms%2C%20Maximum%20%3D%202ms%2C%20Average%20%3D%201ms%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20Installed%20packages%20to%20S32DS%203.5%20update%2014%3A%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20SW32SJA11xx_S32DS_3.5.0_RFP_D2206.zip%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20SJA11XX_RTD_4.4_1.0.1_P02_HF01_D2510_DesignStudio_updatesite.zip%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20SW32SJA1110_XJA11XX_ETH_PHY_4.4_1.0.8_CD01_D2509_DesignStudio_updatesite.zip%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20SJA11XX_ETH_SWITCH_4.4_1.0.2_CD01_D2509_DesignStudio_updatesite.zip%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20SW32SJA11xx_FreeRTOS_11.1.0_0.8.0_CD2_D2411_DesignStudio_updatesite.zip%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20SJA11XX_TCPIP_2.0.0_CD01_D2510_DesignStudio_updatesite.zip%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20EVB%3A%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20-%20SW10%5B1%5D%3A%20On%2C%20SW10%5B2%5D%3A%20Off%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20-%20SW12%5B1%5D%3A%20On%2C%20SW12%5B2%5D%3A%20Off%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20Configuration%3A%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20-%20Updated%20switch%20configuration%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20-%20Updated%20phy%20configuration%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20-%20Fixed%20Mcu%2FMcuModuleConfiguration%2FMcuPowerControlUnit%20-%201V8%20and%202V5%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20-%20Fixed%20Eth%20configuration%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20%3CSETTING%20name%3D%22EthMaxFrameLength%22%20value%3D%221518%22%3E%3C%2FSETTING%3E%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20%3CSETTING%20name%3D%22EthCtrlConfigEgressFifoBufLenByte%22%20value%3D%221536%22%3E%3C%2FSETTING%3E%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20%3CSETTING%20name%3D%22EthCtrlConfigIngressFifoBufLenByte%22%20value%3D%221536%22%3E%3C%2FSETTING%3E%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20-%20TCPIP%20stack%3A%20enabled%20UDP_ECHO%2C%20etc.%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20-%20Changed%20IP%20address%20to%20192.168.0.210%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20-%20Added%20DIO%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20-%20Added%20nvm_metadata%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20-%20MAC%20learning%20is%20disabled%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20-%20The%20example%20includes%20two%20flash%20images%20for%20Port%204%20SGMII%20speed%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20configuration%20towards%20the%20S32G%3A%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20-%20flash_image_2G5.bin%20(tested)%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20-%20flash_image_1G.bin%20(not%20tested)%3C%2FFONT%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20main.c%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20-%20Updated%20only%20the%20header%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20device.c%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20-%20Added%20LED%20routines%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20test.c%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20-%20Removed%20code%20that%20shuts%20down%20the%20TCP%2FIP%20stack%20after%20its%20predefined%20timeout%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20-%20Added%20debug%20stuff%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20-%20Commented%20out%20the%20code%20that%20initializes%202nd%20switch%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20-----------------------------------------------------------------------------%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20Test%20HW%3A%20S32G-VNP-RDB2%20REV%20E%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20MCU%3A%20SJA1110A%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20Debugger%3A%20Lauterbach%20TRACE32%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20Target%3A%20RAM%20or%20external%20FLASH%20(flash_image.bin%20generated)%3C%2FFONT%3E%3CBR%20%2F%3E%3CFONT%20size%3D%222%22%3E*%20EVB%20connection%3A%20any%20port%20%26lt%3B-%26gt%3B%20RDDRONE%20T1ADAPT%20(on%20ports%20where%20applicable)%20%26lt%3B-%26gt%3B%20USB-to-Ethernet%20adapter%20%26lt%3B-%26gt%3B%20Laptop%20DELL%2C%20Windows%2011%3C%2FFONT%3E%3C%2FPRE%3E%0A%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎07-16-2026 02:37 AM
Updated by: