TMF8820 initialization error: Error setting upload salt: '-1'

That sensor requires quite a bit of RAM, what MCU are you using?