A cross-platform STFS package tool for JTAG and RGH users