|ARM Technical Support Knowledge Articles|
Applies to: C51 C Compiler
Information in this article applies to:
I'm developing code for the Dallas 5240 using the PK51 Professional Developer's Kit. In my project, I have enabled the Arithmetic Accelerator in the uVision2 IDE using Project - Options for Target - Target: Use on-chip Arithemetic Accelerator. This adds the MODDS directive to the compiler command line as I expected. However, my program generates incorrect results.
The Arithmetic Accelerator should not have been available for you to select. This is an error in the device database that has been corrected in C51 V7.01. The Arithemetic Accelerator is available only on the Dallas DS80C390 and DS80C400.
The Modulo-Arithmetic Accelerator (MAA) available on the DS5240 is very different in functionality and purpose from the Arithmetic Accelerator found on the DS80C390.
Disable the option Arithemetic Accelerator for the Dallas DS5240. You may download the latest updates from the Keil Website.
Article last edited on: 2002-07-15 00:00:00
Did you find this article helpful? Yes No
How can we improve this article?