Hello,
I am aiming to develop a custom system based on ARM Cortex-M3 core. This chip will contain some CMSDK default peripherals, but also custom peripherals not present in CMSDK.
How can I simulate the behavior of these peripherals when debugging with Keil uVision since I have no physical target hardware yet?
Thanks in advance.
Hi Simon,
Simon Inizan said:Can you describe what is failing when you try to download the eval version?
I used to get an error page when clicking on "Evaluate for Windows", but now it started to work somehow. I am downloading it now. Thank you!
I am just wondering about the licenses. It's not clear enough for me yet if just the MDK-Pro license is sufficient for writing new components and simulate them with Keil uVision...
Hi Vinicius,
ViniciusG said:I am just wondering about the licenses. It's not clear enough for me yet if just the MDK-Pro license is sufficient for writing new components and simulate them with Keil uVision...
No, you will need a Fast Models license to create the custom model and to run it afterwards, the MDK-Pro license won't include this.
You will be able to run this model within U-Vision: http://www.keil.com/support/man/docs/fstmdls/fstmdls_debug_cfg.htm
Regards,
Simon
Since another license is needed for Fast Models, could I simulate the custom platform in uVision with just a MDK Essencial license instead of the Professional one?
BR,
Vinícius.
as I said in my first answer to you in paragraph 2), you can use the built-in uVision simulator as well. The simulator works in every MDK edition (also MDK Essential), even in MDK-Lite with a 32K application code size limit.
Hans
But, if I got it right, the built-in uVision simulator won't be able to simulate my custom hardware, is that correct?
That's why I asked about the creation of my own custom simulator, and the possibility of using this simulator in uVision with the MDK Essential license. Just to be sure if I am restricted to the Professional license option.
ViniciusG said:But, if I got it right, the built-in uVision simulator won't be able to simulate my custom hardware, is that correct?
No, as I said in my first answer, the uVision simulator can be extended via AGSI interface (see http://www.keil.com/appnotes/docs/apnt_196.asp) to simulate your custom hardware/peripherals. The application note shows how to do that and provides a Microsoft Visual Studio example project.
ViniciusG said:That's why I asked about the creation of my own custom simulator, and the possibility of using this simulator in uVision with the MDK Essential license. Just to be sure if I am restricted to the Professional license option
The MDK professional license is only needed for the Fixed Virtual Platform (Fast Models) simulator. Please see our compare MDK editions table (http://www2.keil.com/mdk5/selector) for more details. All MDK editions support the uVision simulator and the possibility to extend it via AGSI interface. The MDK Lite only supports up to 32K application code.