cancel
Showing results for 
Search instead for 
Did you mean: 

I2C and 2321AR6 and EMU3

carlo2
Associate II
Posted on April 04, 2003 at 07:18

I2C and 2321AR6 and EMU3

4 REPLIES 4
carlo2
Associate II
Posted on March 25, 2003 at 10:22

If i try to access I2c registers with software an error message appear.

If i try to write register with emulator i am not able to do it ( it returns the previous value).

I have ST7VD rel 2.5.1 (the last), and i have updated the emulator firmware.

It is strange, there are register but i can't use, is it a bug?
stephanie
Associate II
Posted on March 28, 2003 at 11:17

Do you have the ST7MDT20M-EMU3 which is the emulator for 321 device?

It's maybe because there is an error in your mapfile or H/W registers definitions (assembly? C?), check their addresses in the .map file generated during the build of the application. There is no bug, so there is certainly an error somewhere...

What's your software to modify the I2C registers?
carlo2
Associate II
Posted on March 31, 2003 at 05:49

Oh, yes. But if i use another micro ( e.g. 2321AR7 or AR9) everything is ok? This two micro are identical to the AR6 but they have more ram and rom.

stephanie
Associate II
Posted on April 04, 2003 at 07:18

You're right: this bug is know in tools department for 52x/32x(A)R6 devices only and will be corrected in a future STVD7 version (2.5.3?).

Workaround: take AR7 or AR9 to debug I2C (even if you use less program memory).