2810/2811/2820: Changed return type for read_raw errors to -1
2810/2811 tools updated to new parameter parsing
2818/2820 tools updated to new parameter parsing