In this paper, we consider the affine variety codes obtained evaluating the polynomials b y = a k x k + ... + a 1 x + a 0 , b , a i ∈ F q r , at the affine F q r -rational points of the Norm-Trace curve. In particular, we investigate the weight distribution and the set of minimal codewords. Our approach, which uses tools of algebraic geometry, is based on the study of the absolute irreducibility of certain algebraic varieties. [ABSTRACT FROM AUTHOR]