Discussion Forum

How to configure startup167.a66

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Massimo Spadaro
Posted
4-Feb-2005 15:23 GMT
Toolset
C166
New! How to configure startup167.a66
Hello all.

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,
Max
Read-Only
Author
Keil Reinhard
Posted
8-Feb-2005 06:23 GMT
Toolset
C166
New! RE: How to configure startup167.a66
You need different START167.A66 files for Monitor debugging (where the program is in RAM) and runnung the program from Flash.

See: http://www.keil.com/support/docs/2076.htm

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.
Read-Only
Author
Massimo Spadaro
Posted
8-Feb-2005 08:02 GMT
Toolset
C166
New! RE: How to configure startup167.a66
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.

Best regards,
Max

Next Thread | Thread List | Previous Thread Start a Thread | Settings