jeffwei
jeffwei

注册于 10 years ago

回答
1
文章
0
关注者
0

明天出差 [s:183]
9点还在高铁上

SDIO和USB都对时间要求严格,不知道是不是这个问题啊

6点半才回家,7.在吃饭,果断选B

好经验,自己也有realtouch,可惜手里工作杂乱,又在学GTK+,没能静下心来搞realtouch,只能有空看看论坛,关注一下rtt进展

这个功能和调试软件相关吧,我用普通的串口调试软件没戏吧

这也行啊,一定是你嫌弃st的IIS太烂 [s:175]

好像可以参考st的例程,建议不要这么搞,经不住反复擦写的

今天才发现STM32_USB-FS-Device_Lib_V4.0.0里面的外设固件库是3.6.1的,我还一直用3.5
st的网站越改越垃圾,固件库都不好找了



V3.6.1 / 05-March-2012

Main Changes

All source files: license disclaimer text update and add link to the License file on ST Internet.

V3.6.0 / 27-January-2012

Main Changes

All source files: update disclaimer to add reference to the new license agreement
stm32f10x_sdio.c
SDIO_SetPowerState() function: fix POWER register configuration, only one access (for read or write) is allowed
stm32f10x_usart.h/.c
Update procedure to check on overrun error interrupt pending bit, defines for the following flag are added:
USART_IT_ORE_RX: this flag is set if overrun error interrupt occurs and RXNEIE bit is set
USART_IT_ORE_ER: this flag is set if overrun error interrupt occurs and EIE bit is set
Remove IS_USART_PERIPH_FLAG macro (not used)
stm32f10x_rtc.c
Update RTC_GetCounter() function to fix issue when reading the RTC counter registers (CNTL & CNTH registers) and the counter rolls over
stm32f10x_flash.c
Flash keys moved from to stm32f10x.h file
stm32f10x_tim.c
TIM_UpdateRequestConfig(): correct function header's comment
stm32f10x_exti.h
EXTI_InitTypeDef structure : for “EXTI_Trigger“ member, change “@ref EXTIMode_TypeDef” by “@ref EXTITrigger_TypeDef”

是像老版本的GLADE那样直接生成C代码的工具吗?

好帖子,finsh真的是调试利器,这几天正在想用PC直接发送finsh命令来控制STM32板子,代替自定义的通讯协议了

我最近开始用GTK+做PC上界面,用了glade3,建议RTGUI也做一个类似的RAD出来,这种东西对初级用户来说不错

 | /
- RT - Thread Operating System
/ | 1.1.0 build Jan 1 2013
2006 - 2012 Copyright by rt-thread team
TCP/IP initialized!
W25Q64BV or W25Q64CV detection
finsh />error detected and set to -2/0 (cmd = 5),0x00000004
SD card capacity 1957888 KB
found part[0], begin: 32256, size: 70.581MB
found part[1], begin: 74027520, size: 1.811GB
flash0 mount to /
sd0 mount to /SD
stat -> stopped
84%setup_load
97%
------------------------------------------------------------

不知道这是什么问题,我的nand flash和官方版不一样,不会是这个导致的吧


-------------------------------------------------------
有线连上后
network interface: e0 (Default)
MTU: 1500
MAC: 00 80 e1 09 2b 2e
FLAGS: DOWN LINK_UP DHCP ETHARP
ip address: 0.0.0.0
gw address: 0.0.0.0
net mask : 0.0.0.0

dns server #0: 208.67.222.222
dns server #1: 0.0.0.0


---------------------------------------------
wlan连上后

network interface: w0
MTU: 1500
MAC: 00 0b 6c b3 92 0f
FLAGS: UP LINK_UP DHCP ETHARP
ip address: 192.168.1.103
gw address: 192.168.1.1
net mask : 255.255.255.0

network interface: e0 (Default)
MTU: 1500
MAC: 00 80 e1 09 2b 2e
FLAGS: UP LINK_UP DHCP ETHARP
ip address: 192.168.1.102
gw address: 192.168.1.1
net mask : 255.255.255.0

dns server #0: 172.15.0.8
dns server #1: 172.15.0.6
-----------------------------------------------
结果102 103都下载失败
**** Download for project lab ****
Download file - lab.mo
connect ART daemon server: 192.168.1.102 failed.
Download file - lab.xml
connect ART daemon server: 192.168.1.102 failed.
Download file - icon.bmp
connect ART daemon server: 192.168.1.102 failed.
**** Download Finished ****
**** Download for project lab ****
Download file - lab.mo
connect ART daemon server: 192.168.1.103 failed.
Download file - lab.xml
connect ART daemon server: 192.168.1.103 failed.
Download file - icon.bmp
connect ART daemon server: 192.168.1.103 failed.
**** Download Finished ****

 | /
- RT - Thread Operating System
/ | 1.1.0 build Dec 24 2012
2006 - 2012 Copyright by rt-thread team
TCP/IP initialized!
W25Q64BV or W25Q64CV detection
finsh />error detected and set to -2/0 (cmd = 5),0x00000004
SD card capacity 1957888 KB
found part[0], begin: 32256, size: 70.581MB
found part[1], begin: 74027520, size: 1.811GB
flash0 mount to /
[INFO] download /firmware/helper.bin
HTTP: failed to resolve domain 'www.rt-thread.org'
[INFO] dns try...!
HTTP: failed to resolve domain 'www.rt-thread.org'
[INFO] dns try...!
HTTP: failed to resolve domain 'www.rt-thread.org'
[INFO] dns try...!
connect to: ...
lwip_connect: invalid address
Assertion: 481 in C:UsersINKDesktopRealTouchSDK
t-threadcomponents
etlwipsrcapisockets.c, thread init
(0) assert failed at sys_arch_assert:542

下载程序后屏幕不出gui
接上串口一看是老问题,我的网络不行,git同步不了(SVN居然正常),主程序源码太旧了
谁能给个注释掉那几句的bin文件啊

发布
问题