em400: reworked memory traces