Dear All, my first program for stm32f030x (turn on a LED)is compiled without error. it didn't work so I try to debug see this error: *** error 65: access violation at 0x0000000C : no 'read' permission
I check Options->linker here is: R/O base: 0x08000000 R/W base: 0x20000000 which seems okay.
I checked options target: IROM1: start: 0x8000000 size: 0x4000 IRAM1: start: 0x20000000 size: 0x1000
No help! I found below in this forum: RE: *** error 65: access violation at 0x40023800 : no 'read' permission The problem is that the STM32F4 series is not fully simulated and therefore any peripheral access causes an access violation.
any solutions ???
"any solutions ???"
Don't use the simulator - use real hardware instead!
ST has low-cost development boards - "Nucleo" and "Discovery" - which come complete with STLink debug interface...
You're not paying enough for the tools for Keil to spend time on the simulator upkeep.
Buy one of the $10-$20 USD NUCLEO boards, and use that. Problem solved...
If you really must use the simulator:
http://www.keil.com/support/docs/814.htm