I'm using the phytec phyCORE-167 equipped with the infineon C167CR-LM mounted on a development board phyCORE HD200.
I developped an application to send CAN messages and it is working right on debug but when I download the application on flash, it doesn't work. I think it is a wrong startup167.a66 configuration since I receive a CAN message that contains only FF (it is like a variable doesn't never change).
Could anyone help me? What's the right option for External Memory in Target Options?
Must I set BUSCON=1 in startup file?
Thanks in advance,
You need different START167.A66 files for Monitor debugging (where the program is in RAM) and runnung the program from Flash.
Basically the BUSCON1 address window needs to be different. For configuration details see: http://www.keil.com/support/man/docs/c166/c166_ap_start167_a66.htm
Also refer to the Infineon datasheet (user's manual) of the device.
Thank you very much for the reply!
I understood how to configure the project for debug and for flash programming. Now it is working correctly.
View all questions in Keil forum