cancel
Showing results for 
Search instead for 
Did you mean: 

Simulation error for STM32F030P4 in keil compiler

dizin
Associate II
Posted on June 26, 2015 at 22:52

Hello....

I want to simulation my program for STM32f030p4 in the keil compiler but simulator don't work correctly and it show this error.

[img]

http://s6.picofile.com/file/8195983818/error2.jpg

[/img]

would you please help me.....

I guess that the problem is in the parts that I noted below so what should I write in the blankets for STM32f030p4

[img]

http://s6.picofile.com/file/8195983726/error.JPG

[/img]

thanks .....

6 REPLIES 6
Posted on June 26, 2015 at 23:14

Suggests the Keil Simulator doesn't support your chip, it supports very few, at $10 for DISCO boards the business driver for supporting these chips in the simulator is low.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
dizin
Associate II
Posted on June 27, 2015 at 02:15

I had this error before for my LPC768 chip too and I changed noted place and it worked.

please visit this page..

http://www.keil.com/forum/59683/#msg193718

would you please tell me where can I find and exact list of chips that can be simulated in keil.

dizin
Associate II
Posted on June 27, 2015 at 21:04

Hello again ....

I found movie in youtube that simulate STM32f0 chips. consequently this IC

has the capability  to be simulated.

https://www.youtube.com/watch?v=0u1bNgDMd9A

Also I found a site that simulated this chip too

http://electronics.stackexchange.com/questions/122140/is-the-output-clock-correct

what should I do? would you please help me

chrif
Associate II
Posted on July 02, 2015 at 14:42

Hi,

Try the solution given here, maybe it will works.

http://www.keil.com/support/docs/814.htm

http://www.keil.com/support/docs/3102.htm

Besides, be sure that  ''Load Application at Startup'' in window ''options for Target ...'' is selected. If it is unselected, this can cause the generation of error 65.

 

Regards

Posted on July 07, 2015 at 17:10

Keil breaks down on several pages the chips they support. Usually just Googling your part number should take you to a page on their site devoted to your specific part.

The simulator is best suited to generic ARM7 or ARM9 parts where you are not touching peripherals, ie you want to test C or Assembler code. If you're using it as a purely educational tool, you'd pick a part which has solid emulation/simulation support.

There are currently too many part variants to expect Keil to support non-paying ''customers'' using the simulator. Given the relative cheapness of eval and demo boards there really isn't a business case to use a simulator. People using ARM cores in custom ASICs have a different cost perspective for tools, and expect gate level accuracy, not emulation.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
stm32forum
Associate II
Posted on July 27, 2015 at 14:46

 

Hello again ....

 

I found movie in youtube that simulate STM32f0 chips. consequently this IC

 

has the capability  to be simulated.

 

 

https://www.youtube.com/watch?v=0u1bNgDMd9A At the bottom of the screen you see ''St Link Debugger'', so this is not an simulation as Keil can do with some chips, but an in circuit debugging with the St-link.