Hi dears I used STM32F746BG in my project, my Keil is V5, when I did debug and simulator said : error 65: access violation at 0x40023800 : no 'read' permission could you help me haw can I Solve the problem. Thank you.
Ok, so the simulator is going to provide you with a CPU, but no emulation of the peripheral hardware attached to the core. Any time you get "Error 65" it means there is no hardware emulation for the peripheral you are touching. Remove the code which is dependent on peripheral hardware, and test the code which is not.
You will *need* to get a NUCLEO, DISCO or EVAL board with the target device you want to use.
You seem to have a very shallow grasp of the issue here, perhaps you work with someone who can explain in terms you can understand?
Thank you every one! dear Pier! I got you, so, could you show me a code which is dependent on peripheral hardware?because I don't know where is it! and is it impossible simulation without hardware by Keil? but I simulated SAM9G45 for Atmel without hardware.
The ATMEL part has a subset of peripheral functionality http://www.keil.com/dd/chip/4894.htm
The STM32 part you are using has none.
So basically anything that is not CPU, SCB or NVIC related will fail.
Assume everything in the RCC (Clocks, PLL), GPIO, USART, SPI, I2C, LCD, FMC/FSMC, etc will NOT work.
OK! Thank you for your answering Pier