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 Vinicius,
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.
Regards,
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.