I’m trying to run CORTEX_STM32F107_GCC_Rowley example on STM3210C-EVAL. I download Rowley Crossworks for arm v2.1.1. Compile project – no errors and download in board with STM32 ST-LINK Uyility. Programm – OK, but board not work !!!
What is wrong ?????
V7.0.1 and STM3210C eval
V7.0.1 and STM3210C eval
What is wrongYour project, no doubt. Have you tried stepping through your code to find out at what point it goes wrong? Please do that, then come back with some information that allows people to make at least a targeted guess as to what might be wrong. Regards.
V7.0.1 and STM3210C eval
I run Rebuild Project RTOS Demo – OK
Target – Connect – STLink – OK
Rebuilding “RTOSDemo” in configuration “THUMB Flash Debug” — 17 warnings
Compiling flash.c
Compiling recmutex.c
Compiling semtest.c
Compiling BlockQ.c
Compiling GenQTest.c
Compiling integer.c
Compiling PollQ.c
Compiling QPeek.c
Compiling tasks.c
Compiling list.c
Compiling queue.c
Compiling heap_2.c
Compiling port.c
Compiling main.c
Compiling ParTest.c
Compiling stm32f10x_usart.c
Compiling stm32f10x_gpio.c
Compiling stm32f10x_lib.c
Compiling stm32f10x_nvic.c
Compiling stm32f10x_rcc.c
Compiling stm32f10x_systick.c
Compiling stm32fxxx_eth.c
Compiling printf-stdarg.c
Compiling stm32f10x_tim.c
Compiling lcd.c
Compiling stm32f10x_spi.c
Compiling timer.c
Compiling uip.c
Compiling uip_arp.c
Compiling psock.c — 4 warnings
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/../Common/ethernet/uIP/uip-1.0/uip/psock.c: In function ‘psock_send’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/../Common/ethernet/uIP/uip-1.0/uip/psock.c: In function ‘psock_generator_send’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/../Common/ethernet/uIP/uip-1.0/uip/psock.c: In function ‘psock_readto’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/../Common/ethernet/uIP/uip-1.0/uip/psock.c: In function ‘psock_readbuf’:
variable ‘PT_YIELD_FLAG’ set but not used
Compiling uIP_Task.c
Compiling httpd.c — 6 warnings
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/httpd.c: In function ‘send_file’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/httpd.c: In function ‘send_part_of_file’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/httpd.c: In function ‘handle_script’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/httpd.c: In function ‘send_headers’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/httpd.c: In function ‘handle_output’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/httpd.c: In function ‘handle_input’:
variable ‘PT_YIELD_FLAG’ set but not used
Compiling httpd-cgi.c — 7 warnings
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/httpd-cgi.c: In function ‘nullfunction’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/httpd-cgi.c: In function ‘file_stats’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/httpd-cgi.c: In function ‘tcp_stats’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/httpd-cgi.c: In function ‘net_stats’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/httpd-cgi.c: In function ‘rtos_stats’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/httpd-cgi.c: In function ‘run_time’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/httpd-cgi.c: In function ‘led_io’:
variable ‘PT_YIELD_FLAG’ set but not used
Compiling httpd-fs.c
Compiling http-strings.c
Compiling emac.c
Compiling timertest.c
Assembling thumb_crt0.s
Assembling STM32F10x_Startup.s
Generating linker script
Linking RTOSDemo.elf
Build complete
st-link Log
Identifying
ROM Table 0xe00ff000
SCS Rev 1 Base Address 0xe000e000
DWT Rev 1 Base Address 0xe0001000
FPB Rev 0 Base Address 0xe0002000
CM3-ITM Rev 1 Base Address 0xe0000000
CM3-TPIU Rev 1 Base Address 0xe0040000
ETM-M3 Rev 1 Base Address 0xe0041000
Cortex-M3 r1p1
Num Breakpoints 6
Num Watchpoints 4 I run Download RTOSDemo – Error !!!
Preparing target for download
DEV_NO_ERR I open RTOSDemo.hex in STM32 ST-LINK Utility and programm. Its not work
Compiling flash.c
Compiling recmutex.c
Compiling semtest.c
Compiling BlockQ.c
Compiling GenQTest.c
Compiling integer.c
Compiling PollQ.c
Compiling QPeek.c
Compiling tasks.c
Compiling list.c
Compiling queue.c
Compiling heap_2.c
Compiling port.c
Compiling main.c
Compiling ParTest.c
Compiling stm32f10x_usart.c
Compiling stm32f10x_gpio.c
Compiling stm32f10x_lib.c
Compiling stm32f10x_nvic.c
Compiling stm32f10x_rcc.c
Compiling stm32f10x_systick.c
Compiling stm32fxxx_eth.c
Compiling printf-stdarg.c
Compiling stm32f10x_tim.c
Compiling lcd.c
Compiling stm32f10x_spi.c
Compiling timer.c
Compiling uip.c
Compiling uip_arp.c
Compiling psock.c — 4 warnings
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/../Common/ethernet/uIP/uip-1.0/uip/psock.c: In function ‘psock_send’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/../Common/ethernet/uIP/uip-1.0/uip/psock.c: In function ‘psock_generator_send’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/../Common/ethernet/uIP/uip-1.0/uip/psock.c: In function ‘psock_readto’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/../Common/ethernet/uIP/uip-1.0/uip/psock.c: In function ‘psock_readbuf’:
variable ‘PT_YIELD_FLAG’ set but not used
Compiling uIP_Task.c
Compiling httpd.c — 6 warnings
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/httpd.c: In function ‘send_file’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/httpd.c: In function ‘send_part_of_file’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/httpd.c: In function ‘handle_script’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/httpd.c: In function ‘send_headers’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/httpd.c: In function ‘handle_output’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/httpd.c: In function ‘handle_input’:
variable ‘PT_YIELD_FLAG’ set but not used
Compiling httpd-cgi.c — 7 warnings
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/httpd-cgi.c: In function ‘nullfunction’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/httpd-cgi.c: In function ‘file_stats’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/httpd-cgi.c: In function ‘tcp_stats’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/httpd-cgi.c: In function ‘net_stats’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/httpd-cgi.c: In function ‘rtos_stats’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/httpd-cgi.c: In function ‘run_time’:
variable ‘PT_YIELD_FLAG’ set but not used
E:/FreeRTOS_Distrib/FreeRTOSV7.0.1/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/webserver/httpd-cgi.c: In function ‘led_io’:
variable ‘PT_YIELD_FLAG’ set but not used
Compiling httpd-fs.c
Compiling http-strings.c
Compiling emac.c
Compiling timertest.c
Assembling thumb_crt0.s
Assembling STM32F10x_Startup.s
Generating linker script
Linking RTOSDemo.elf
Build complete
st-link Log
Identifying
ROM Table 0xe00ff000
SCS Rev 1 Base Address 0xe000e000
DWT Rev 1 Base Address 0xe0001000
FPB Rev 0 Base Address 0xe0002000
CM3-ITM Rev 1 Base Address 0xe0000000
CM3-TPIU Rev 1 Base Address 0xe0040000
ETM-M3 Rev 1 Base Address 0xe0041000
Cortex-M3 r1p1
Num Breakpoints 6
Num Watchpoints 4 I run Download RTOSDemo – Error !!!
Preparing target for download
DEV_NO_ERR I open RTOSDemo.hex in STM32 ST-LINK Utility and programm. Its not work