This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SIMULATOR MODE

Hi all

How exactly an analog mode A/D input is simulated in the KEIL for ARM compiler while it works in analog mode ?

Thanks
Elico

Parents
  • Ignore the stupid troll's reply. You need to look into the Debugger's Virtual registers and write a script to emulate your analog input. There are several examples at this website. Look at the example below for the C51/C166 devices. Also, look at your debugger manual to see how to write the scripts for the emulation.

    I don't have ARM tools installed on this computer so it's not easy for me to look at the example code but I'm sure there is an ADC example in the Examples folder or the Boards folder of your tool set.

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

    Bradford

Reply
  • Ignore the stupid troll's reply. You need to look into the Debugger's Virtual registers and write a script to emulate your analog input. There are several examples at this website. Look at the example below for the C51/C166 devices. Also, look at your debugger manual to see how to write the scripts for the emulation.

    I don't have ARM tools installed on this computer so it's not easy for me to look at the example code but I'm sure there is an ADC example in the Examples folder or the Boards folder of your tool set.

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

    Bradford

Children