Hello I have written a simple program to receive CAN messages using the CAN1 interface. If I burn the monitor in Flash and I run the program, it works, but if I burn the program in Flash, it doesn't work. Does anybody know why? I have tested the Start167.asm file and I think all is correct. The variables are correctly put in the memory. Can anybody help me? Thank you
Ok, you use the P2 leds to see that a CAN msg has been received; you can use the P2 leds to see if a "special" message has been received, turn on leds when message data correspond to a particular known message data and then retransmit the message via RS232. This way you can see if the problem is in CAN receive or in RS232 transmit. Are you sure external RAM connected to CS1 is correctly configured? Check your startup against the Keil Mon166 config for MCB167NET residing in the Keil Mon166 directory.