Petr
thanks for the hint. the way i enabled the caches is in the startup.s first lines with:
#ifndef Z7_0_ICACHE_ENABLE
#define Z7_0_ICACHE_ENABLE 0
#endif
#ifndef Z7_0_DCACHE_ENABLE
#define Z7_0_DCACHE_ENABLE 0
#endif
can you point me to how to "check it in debugger and if it allows see which variables are cached." in Design Studio ?
since i'm able to communicate one time, i would assume the IO setups and interrupt setups ok.. i'm attaching the driver sections i appreciate if you can take a closer look at the data structures that was adapted from
MPC5748G ENET
example.
i also borrowed a few apis from the link you mentioned and verified that the TJA1100 is talking correctly via MDIO/MDC.
the status0 changes from 35840 (0x8C00) to 3072 (0xC00) after the first transmission but no change afterward (remains 0x8C00).
status8 in the descriptor do not seem to change (18432 or 0x4800) after writing to TDAR bit to 1.
TDAR seems to be 0 all the time by stepping through