You are here

CY7C68014 CPUCS register with Keil compiler | Cypress Semiconductor

CY7C68014 CPUCS register with Keil compiler

Summary: 3 Replies, Latest post by PRJI on 17 May 2012 04:57 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
markjlande's picture
User
1 post

I am trying to set the CPUCS register to set the clock speed and I get the following warning in the keil compiler.

*** WARNING L1: UNRESOLVED EXTERNAL SYMBOL

SYMBOL: CPUCS

MODULE: main.obj (MAIN)

*** WARNING L2: REFERENCE MADE TO UNRESOLVED EXTERNAL

SYMBOL: CPUCS

MODULE: main.obj (MAIN)

ADDRESS: 0801H

The code line is just the following:

CPUCS = 0x12;

I am including the two headers

#include

#include

I can set the OEA and IOA and some other registers fine. When I run the program it does not actually change the clock speed so I think it's not actually getting set.

aasi's picture
Cypress Employee
1166 posts

Are you including fx2regs.h coz that is supposed to contain this and you might wanna search the entire project to see if this has been defined properly or something has corrupted the header files...

tabenash2002's picture
User
2 posts

I also have thesame problem. None of my registers has been recognised.(73 Errors of this type). I also don't know what to do.

I included all header files and library.("fx2.h","fx2regs.h").

 

Help Help Help.

prji's picture
Cypress Employee
473 posts

Hi,

  Is it possible to attach your project here? I would like to have a look at it.

Thanks

Prajith

Log in to post new comments.