This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SYSCON1 sfr not defined

We are using c166 compiler version 4.05. When we add the line

sfr SYSCON1 = 0xF1DC;

to the include file which "should" already have it defined, we get

error C155: 'SYSCON1': invalid base address.

How do we access this sfr without an error?

Thanks

Parents
  • Thanks to Jon for the reply.

    However, we are using uVision2 V2.05, and have included the MOD167 directive. We are using the c161csjx.h include file to build software for an Infineon C161JC controller, which uses this register for power moding. I believe there may be an unreported problem here, is there any other way to access this sfr for this chip?

Reply
  • Thanks to Jon for the reply.

    However, we are using uVision2 V2.05, and have included the MOD167 directive. We are using the c161csjx.h include file to build software for an Infineon C161JC controller, which uses this register for power moding. I believe there may be an unreported problem here, is there any other way to access this sfr for this chip?

Children