[PD-dev] setup() for hex loader