Changed message generation methods in PMA_Message by flashes

Signed-off-by: Arnaud PETIT <arnaud.petit@minesdedouai.fr>