embeddedsw icon indicating copy to clipboard operation
embeddedsw copied to clipboard

Wrong address for register USER_REG_0 in file 'xxxvethernet_hw.h'

Open analog-system-compiler opened this issue 2 years ago • 1 comments

In PG210 V4.1, it is mentioned that USER_REG_0 address has been updated from 0x0184 to 0x0134 starting from v2.3, but it is still at 0x0184 in file 'xxxvethernet_hw.h' on master branch. USER_REG_1 is also still present although it has been removed in v2.3.

File 'xxxvethernet_hw.h', lines 74 and 75: #define XXE_USR0_OFFSET 0x00000184 #define XXE_USR1_OFFSET 0x00000188

analog-system-compiler avatar Mar 08 '23 10:03 analog-system-compiler

Thanks for filing this issue. We have updated the driver wiki page to point to the limitation w.r.t. change IP register addresses. Since these are user configurable registers in the design, please feel free to use the correct offset in your application. We will try to define them dynamically based on the IP version if possible.

HariniKatakamX avatar Apr 24 '23 05:04 HariniKatakamX