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

TI TAS1020 xdata segment access problem

I am using Texas Instruments' TAS1020 USB Streaming Audio Microcontroller and I use uVision2.

I have defined some variables in xdata segment inorder to pass them as shared data to the functions provided by the on-chip PROM routines.

I also have noticed in some reference source codes that they set: P2=0xFA
in start of their program which is supposed to enable access to the xdata segment starting at address 0xFA00. I have also done this tricky assignment

I used a simple test program, I write to a variable in the xdata and then printf it in the terminal output and surprisingly I see that my assignment to the variable was not performed. This seems that kind of xdata segment is read-only! or I can not access it.

Any Ideas?

0