store tid at last 1k flash