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.