[WIZnet]W6100EVB-TLS

TLS Client - connecting openssl s_server mesage loopback
components
Hardware Components
Software Apps and online services
Atollic TrueSTUDIO Ver 9.2.0
Compile Program
STM32CubeMX Ver 5.1.0
Device Setting Program
FLASHER-STM32 Ver2.8.0
Flash Program
details

w6100_EVB-TLS.png

Index

  • TLS Client Example for W6100-EVB
  • Hardware Environment
  • Software Environments
  • Run
  • Code review
    • Test packet capture file

TLS Client Example for W6100-EVB

Common to Any MCU, Easy to Add-on. Internet Offload co-Processor, HW TCP/IP chip, best fits for low-end Non-OS devices connecting to Ethernet for the Internet of Things. These will be updated continuously.

Hardware Environment

  • W6100EVB
    • connecting Micro usb.
    • connecting Ethernet cable.

Software Environment

  • Device Setting Program : STM32CubeMX Ver 5.1.0
  • Compile Program : TrueStudio Ver 9.2.0
  • Flash Program : FLASHER-STM32 Ver2.8.0
  • Compile method
    • Git-Hub source file download
    • TrueStudio -> W6100EVB-HTTP_Server in folder, run TrueStudio Project file

    • WorkSpace path select

    • ① open main.c file and build ② build icon or Key CTRL + B

    • Click Debug icon or Key F11

    • If you have ST-LINK, Run Debug – Click debug button or Key F8

How to make certificate.

  • make ca.crt and ca.key file.

  • make server.key file.

  • make server.csr file.

  • make ca.srl and server.crt file.

  • make cerificate.h
    • Please server.crt file transporates to header format.

Program setting.

  • change server ip and device ip.

Run

  • Demo Environment & Program
    • Windows 10
    • Internet Explorer
    • Hercules
  • Demo Result
    • Power On and push Reset button to start Program
    • Program Run Serial display
    • open server(openssl s_server)
      • build project and excute program.

  • mesage loop back test
    • if end masage send, connect closed.

Code review

  • main.c code flow

Test packet capture file

COMMENTS

Please Login to comment
  Subscribe  
Notify of