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

programming

hi

I'm using an external memory on my msc1210.
I need to change register HCR1.
This following c code will give an error
hcr1= hcr1 & 0xFC;
the error is undefined identifier.

HOw can i solve the problem ????

Maarten

Parents
  • The HCR registers are store in Flash ROM and cannot be modified during run-time. Take a look to the file HWCfr.A51 that is present in the examples available under
    Keil\C51\Examples\TI MSC121x. You need to configure the values in this file and this file should be part of your project.

Reply
  • The HCR registers are store in Flash ROM and cannot be modified during run-time. Take a look to the file HWCfr.A51 that is present in the examples available under
    Keil\C51\Examples\TI MSC121x. You need to configure the values in this file and this file should be part of your project.

Children