KEIL uVision 3 internal fault

tobiassedlmeier wrote on Thursday, June 27, 2013:

Hello,

I am using KEIL uVision3 for programming and debugging my STM32F103-Controller. When I try to compile the Demo-Project “CORTEX_STM32F103_Keil” the compiler stops with the following message in the output-window:

port.c: Internal fault:
port.c: Please contact your supplier.
Target not created

What could be the reason for this error?

(used compiler-version KEIL uVision3 V3.80; FreeRTOSV7.4.2)

Thanks!

rtel wrote on Thursday, June 27, 2013:

No idea, and it is a long time since I have had uVision 3.  This looks like a tools issue and I doubt Keil will want to support such an old version. 

If I build it with uVision 4 then the output is as below:

Build target ‘Target 1’
assembling STM32F10x.s…
compiling lcd.c…
assembling cortexm3_macro_rvds.s…
compiling stm32f10x_usart.c…
compiling stm32f10x_gpio.c…
compiling stm32f10x_lib.c…
compiling stm32f10x_nvic.c…
compiling stm32f10x_rcc.c…
compiling stm32f10x_spi.c…
compiling stm32f10x_systick.c…
compiling stm32f10x_tim.c…
compiling ParTest.c…
compiling serial.c…
compiling timertest.c…
compiling main.c…
compiling spi_flash.c…
compiling semtest.c…
compiling BlockQ.c…
compiling blocktim.c…
compiling comtest.c…
compiling death.c…
compiling flash.c…
compiling integer.c…
compiling PollQ.c…
compiling tasks.c…
compiling list.c…
compiling queue.c…
compiling port.c…
compiling heap_2.c…
linking…
Program Size: Code=20534 RO-data=14530 RW-data=256 ZI-data=18152 
“RTOSDemo.axf” - 0 Error(s), 0 Warning(s).

Regards.