ARM Technical Support Knowledge Articles

CAN BUS DOES NOT WORK UNDER MONITOR TESTING

Applies to: MON166 Target Monitor

Answer


Information in this article applies to:


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 uVision2 projects in the KEILC166MONITOR folder.

MORE INFORMATION

SEE ALSO

Article last edited on: 2007-07-27 08:30:12

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential