HT-6M tokamak is restarted for Thailand Institute of Nuclear Technology, TINT. In order to ensure the smooth breakdown of plasma and obtain plasma discharge parameters, the optimization of poloidal field coils and upgrade of magnetic diagnostics are described in this article. A perfect null field (the stray field in main chamber < 10G) is obtained using ohmic heating field. To get the main information of plasma, an external magnetic diagnostics system is designed and calibrated, including Rogowski coil (measuring plasma current), magnetic probe (measuring external field), diamagnetic loops (measuring β
p
) and so on. Besides, in order to realize high frequency signal measurement and transmission, a series of frequency response with the magnetic probe and transmission line are tested. Later in the paper, to verify the null field, a fitting code was developed to reconstruct the stray field in vacuum chamber based on measured magnetic probes and flux loops. The result shows the error is within 1.5%. This indicates the accuracy of the magnetic measurement system and ensures the preparation for the breakdown of plasma.