Hello,
I am trying to simulate a display in my Keil debugger when running in the simulator, but I don't know how to add the display to the "Peripherals" menu. It says here that I should be able to change the peripheral settings, but it doesn't say how. Can anyone help me with this?
Specifically, I need to simulate a Sitronix ST7789 display. My peripherals menu currently looks like this:
When I click TExaS Sitronix, I am getting an ST7735. It would be greatly appreciated if anyone could help me sort this out.
You can add such external peripherals with so called AGSI DLLs. This is described in application note 154 for 8051, 251 and 166 devices (https://developer.arm.com/documentation/kan154/latest/) and it was described in application note 196 for all Arm based microcontroller. The latter one has been withdrawn because it was outdated. If you are interested, please send me a private message and I will send it to you. These AGSI DLLs only work with our simulator for ARM7/9 and Cortex-M0/M3/M4. They do not work for 'Fast Models', 'Fixed Virtual Platform' or 'Arm Virtual Hardware'. Since we stopped to implement simulation for on-chip peripherals at least 10 years ago, there is very limited use of AGSI DLLs.Questions to you:
- What microcontroller do you use?
- Where did you get the AGSI display simulations you listed in your screenshot?
Thank you for your response!
I am using a Texas Instruments TM4C123G Launchpad microcontroller, and I got the simulations in the screenshot from my university. I don't know how they are added because I was given an executable that set them up for me. How can I send you a private message? I am new to the community.
Apoorav Rathore said:I am using a Texas Instruments TM4C123G Launchpad microcontroller, and I got the simulations in the screenshot from my university.
It seems that someone in your university has written one or more AGSI DLLs for µVision which simulates some of the on-chip peripherals and also an external display. Please ask them to how they have made it and maybe you get the source code from them so that you could modify it for the display you want to use. In that case, you would not have to start from scratch to write such an AGSI DLL.
Apoorav Rathore said:How can I send you a private message?
If you hover your mouse over my picture or my name, a dialog should open where you can select to send me a private message. I will send you the application note 196 via email in a few minutes.