Keil Logo Arm Logo

MON166: CAN BUS DOES NOT WORK UNDER MONITOR TESTING


Information in this article applies to:

  • C166 Version 4.20
  • MCB167 Evaluation Board
  • MCB167-NET Evaluation Board

QUESTION

I'm using the CAN peripherals in my application and must set the XPEN: XRAM & XBUS Peripheral Enable Control Bit (SYSCON.2) in the START167.A66 file. Everything works fine in the real hardware, but when I test my application with the Keil Monitor-166 it does not work. How can I solve this problem?

ANSWER

The Monitor-166 initializes the CPU and executes the EINIT instruction before your program loads and executes. On most 166/ST10 variants it is not possible to modify the SYSCON register after execution of EINIT.

For this reason, the monitor's startup code (in CONFIG.INC) must match that of your target program. If you use the Monitor in bootstrap mode you may modify the Monitor using the µVision2 projects in the \KEIL\C166\MONITOR folder.

MORE INFORMATION

  • Getting Started and Creating Applications User's Guide, Chapter 11. Using Monitor-166

SEE ALSO

Last Reviewed: Friday, July 27, 2007


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

ARM’s Privacy Policy has been updated. By continuing to use our site, you consent to ARM’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.

Acquisition of ARM Holdings plc. by SoftBank Group Corp.

We are pleased to inform you that on 5 September 2016, SoftBank Group Corp. acquired ARM Holdings Plc. ARM will continue to operate as an independent business within the SoftBank group.

Any current agreements between ARM Ltd (or other ARM group companies, as applicable) you / your company remain in effect as between the parties, and the parties will continue to be bound by and perform the obligations in such agreements. If you have any queries please direct these to ARMSoftbank-Notifications@arm.com.