/**
@page SSL client demonstration Readme file
@verbatim
******************** (C) COPYRIGHT 2011 STMicroelectronics *******************
* @file SSL client/readme.txt
* @author MCD Application Team
* @version V1.1.0
* @date 07-October-2011
* @brief Description of the STM32F217 SSL client demonstration.
******************************************************************************
* THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS
* WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE
* TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY
* DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING
* FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE
* CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.
******************************************************************************
@endverbatim
@par Description
This directory contains a set of sources files that implement a SSL client
demonstration for STM32F217 devices.
Please note that for SSL client demonstration, PolarSSL v0.12.0, FreeRTOS v6.1.0
and LwIP v1.3.2 are used:
- PolarSSL v0.12.0 is used as the SSL/TLS library.
- FreeRTOS v6.1.0 is used as the Real Time Kernel.
- LwIP v1.3.2 is used as the TCP/IP stack.
@par Project Directory contents
- "inc": contains the demonstration firmware header files
- inc/main.h main config file
- inc/config.h PolarSSL library configuration options
- inc/FreeRTOSConfig.h FreeRTOS configuration options
- inc/netconf.h header for netconf.c
- inc/lwipopts.h LwIP stack configuration options
- inc/stm32F2x7_eth_bsp.h header for stm32F2x7_eth_bsp.c
- inc/stm32f2xx_it.h Header for stm32f2xx_it.c
- inc/stm32f2xx_conf.h Library Configuration file
- inc/stm32f2x7_eth_conf.h STM32 Ethernet driver Configuration file
- inc/ssl_client.h header for ssl_client.c
- inc/tasks_misc.h header for tasks_misc.c
- "src": contains the demonstration firmware source files
- src/main.c main program file
- src/ssl_client.c SSL client main task
- src/stm32F2x7_eth_bsp.c STM32F2x7 Ethernet hardware configuration
- src/tasks_misc.c Tasks misc functions body
- src/netconf.c LwIP stack initializations
- src/stm32f2xx_it.c STM32 Interrupt handlers
- src/system_stm32f2xx.c STM32 system clock configuration file
- "EWARM": contains preconfigured project for EWARM toolchain
- "MDK-ARM": contains preconfigured project for MDK-ARM toolchain
- "RIDE": contains preconfigured project for RIDE toolchain
- "TASKING": contains preconfigured project for TASKING toolchain
- "TrueSTUDIO": contains preconfigured project for TrueSTUDIO toolchain
@par Hardware and Software environment
- This example has been tested with the following environments:
- STM322xG-EVAL board
- ssl_server.exe: PC utility (Utilities\PC_Software\Server) is used as a SSL server application
- STM322xG-EVAL Set-up
- Connect STM322xG-EVAL board to remote PC (through a crossover ethernet cable)
or to your local network (through a straight ethernet cable)
- RS232 link (used with HyperTerminal like application to display debug messages):
connect a null-modem female/female RS232 cable between the DB9 connector CN16
(USART3) and PC serial port.
- STM322xG-EVAL jumpers setting
+==========================================================================================+
+ Jumper | MII mode configuration | RMII mode configuration(*) +
+==========================================================================================+
+ JP5 | 2-3 provide 25MHz clock by MCO(PA8) | Not fitted +
+ | 1-2 provide 25MHz clock by ext. Crystal | +
+ -----------------------------------------------------------------------------------------+
+ JP6 | 2-3 | 1-2 +
+ -----------------------------------------------------------------------------------------+
+ JP8 | Open | Close +
+ -----------------------------------------------------------------------------------------+
+ JP22 | 1-2: RS232 is enabled +
+==========================================================================================+
(*) User have to provide the 50 MHz clock by soldering a 50 MHz oscillator (ref SM7745HEV-50.0M or
equivalent) on the U3 footprint located under CN3 and also removing jumper on JP5. This oscillator
is not provided with the board.
For more details, please refer to STM3220G-EVAL evaluation board User manual (UM1057).
@Note: the default setting is MII mode, to change it to RMII mode refer to main.h file.
@par How to use it ?
In order to make the program work, you must do the following:
1. Load the demonstration code in the STM32F2x7 Flash memory (see below)
2. Refer to "AN3365 Secure socket layer (SSL) for STM32F217xx microcontrollers"
to know how to use the demonstration
@Note: 1 Please ensure that the remote PC IP address is the same IP address
as the one defined in ssl_client.c file (#define SSL_SERVER_NAME "192.168.0.1").
2 If you using a firewall, you must be sure that ssl_server application
accepts connection requests. Otherwise, the firewall refuses the
client requests.
In order to load the demonstration code, you have do the following:
- EWARM
- Open the Project.eww workspace
- Rebuild all files: Project->Rebuild all
- Load project image: Project->Debug
- Run program: Debug->Go(F5)
- RIDE
- Open the Project.rprj project
- Rebuild all files: Project->build project
- Load project image: Debug->start(ctrl+D)
- Run program: Debug->Run(ctrl+F9)
- MDK-ARM
- Open the Project.uvproj project
- Rebuild all files: Project->Rebuild all target files
- Load project image: Debug->Start/Stop Debug Session
- Run program: Debug->Run (F5)
- TASKING
- Open TASKING toolchain.
- Click on File->Import, select General->'Existing Projects into Workspace'
and then click "Next".
- Browse to TASKING workspace directory and select the project:
- STM322xG_EVAL: to configure the project for STM32F2xx devices.
- Rebuild all project files: Select the project in the "Project explorer"
window then click on Project->build project menu.
- Run program: Select the project in the "Project explorer" window then click
Run->Debug (F11)
- TrueSTUDO
- Open the TrueSTUDIO toolchain.
- Click on File->Switch Workspace->Other and browse to TrueSTUDIO workspace directory.
- Click on File->Import, select General->'Existing Projects into Workspace' and then click "Next".
- Browse to the TrueSTUDIO workspace directory, select the project:
- STM322xG_EVAL: to configure the project for STM32F2xx devices
- Rebuild all project files: Select the project in the "Project explorer"
window then click on Project->build project menu.
- Run program: Run->Debug (F11)
* <h2><center>© COPYRIGHT 2011 STMicroelectronics</center></h2>
*/
没有合适的资源?快使用搜索试试~ 我知道了~
基于uCOS系统的STM32F217的TCP-IP源代码.zip
共1104个文件
d:186个
o:186个
crf:184个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 123 浏览量
2023-02-14
15:11:09
上传
评论
收藏 20.9MB ZIP 举报
温馨提示
基于uCOS系统的STM32F217的TCP_IP源代码.zip
资源推荐
资源详情
资源评论
收起资源包目录
基于uCOS系统的STM32F217的TCP-IP源代码.zip (1104个子文件)
Project.uvgui.Administrator 70KB
cstart_thumb2.asm 4KB
index.attr 21B
GD32F450_TCPIP.axf 1.07MB
Project_uvopt.bak 55KB
Project_uvproj.bak 35KB
stm32f2xx_tim.c 122KB
mib2.c 105KB
stm32f2x7_eth.c 99KB
stm322xg_eval_sdio_sd.c 87KB
stm32f2xx_rtc.c 82KB
stm32f2xx_rcc.c 73KB
tasks.c 73KB
stm32f2xx_adc.c 67KB
x509parse.c 66KB
dhcp.c 63KB
stm32f2xx_can.c 59KB
sockets.c 57KB
lcp.c 57KB
aes.c 57KB
ssl_tls.c 57KB
ppp.c 56KB
tcp_in.c 55KB
stm32f2xx_usart.c 55KB
stm322xg_eval_audio_codec.c 53KB
stm32f2xx_i2c.c 51KB
stm32f2xx_dma.c 51KB
stm322xg_eval_ioe.c 49KB
queue.c 47KB
fonts.c 46KB
stm32f2xx_spi.c 45KB
etharp.c 45KB
stm322xg_eval_lcd.c 44KB
tcp.c 44KB
msg_in.c 43KB
bignum.c 43KB
stm32f2xx_fsmc.c 41KB
port.c 41KB
ipcp.c 40KB
stm32f2xx_sdio.c 39KB
ppp_oe.c 38KB
stm32f2xx_flash.c 37KB
des.c 36KB
tcp_out.c 35KB
api_msg.c 35KB
stm32f2xx_cryp.c 32KB
pbuf.c 31KB
dns.c 31KB
mib_structs.c 30KB
udp.c 29KB
camellia.c 28KB
ssl_srv.c 27KB
stm322xg_eval_i2c_ee.c 27KB
ip_frag.c 27KB
stm32f2xx_dac.c 26KB
auth.c 26KB
ip.c 26KB
stm322xg_eval.c 26KB
igmp.c 26KB
stm32f2xx_hash.c 25KB
chap.c 25KB
sha4.c 24KB
fsm.c 24KB
stm32f2xx_pwr.c 23KB
msg_out.c 22KB
mem.c 22KB
ssl_cli.c 22KB
sha2.c 21KB
stm32f2xx_cryp_aes.c 21KB
rsa.c 21KB
stm32f2xx_gpio.c 20KB
system_stm32f2xx.c 20KB
system_stm32f2xx.c 20KB
stm322xg_eval_fsmc_onenand.c 20KB
netif.c 20KB
sha1.c 19KB
vj.c 19KB
md5.c 18KB
stm32f2xx_dcmi.c 18KB
ssl_test.c 18KB
core_cm3.c 17KB
api_lib.c 17KB
asn1_dec.c 17KB
autoip.c 16KB
tcpip.c 16KB
pap.c 15KB
croutine.c 15KB
asn1_enc.c 14KB
stm32f2x7_eth_bsp.c 14KB
stm32f2xx_rng.c 14KB
inet_chksum.c 13KB
sys_arch.c 13KB
chpms.c 12KB
md5.c 12KB
lcd_log.c 12KB
ip6.c 12KB
icmp.c 11KB
stm322xg_eval_fsmc_sram.c 11KB
init.c 11KB
md4.c 11KB
共 1104 条
- 1
- 2
- 3
- 4
- 5
- 6
- 12
资源评论
GZM888888
- 粉丝: 141
- 资源: 2912
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功