This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Simulator question

Hi

New to the Keil tools, picking up on "experience" I had in the times of Z80...

I am finding that it's a steep learning curve to get a STM32F405 to do anything.

I have a simulator question:

The blinky example runs fine if simulated on the stm32f10x platform.

If I replace include <stm32f10x.h> with include <stm32f4xx.h>
and select STM32F405 as my target I am getting an access error 65 immediately when the Timer register is initialized:

GPIOB->CRH = 0x33333333; /* PB.8..16 defined as Outputs */

*** error 65: access violation at 0x40021000 : no 'read' permission

I do not understand a couple of things:

- I don't find anything in my (default) memory mapping that affects that address.
- I am not trying to read, but write.
- Can I simulate the STM32F405 in the first place or should I get a JTAG device?

Can anybody point my to a web site with good STM32F405 example code?

Thanks for any help.

0