RB,
If the ECM is something that heats up I wouldn't wrap foam around it. I seem to remember the ECM in my Z - 24 getting very hot, I may be wrong though. Make sure you have all the mounting brackets and screws in place and it should be fine.
One other thought that might of occurred to your car is if any aftermarket alarm / radio installers got their hands on the car when it was new, they might have removed some bracket or screws securing the ecm and didn't replace them.
Happened to my car, damn alarm installers removed the steel plate under the steering column where the plug for the code scanner is mounted. On a trip to the junkyard this past summer I discovered 3 cars like mine as well as a few Le Sabre's that had this plate under there and I wondered why my car didn't have it.
I thought I'd buy the plate so I could at least anchor the code scanner connector to keep if from falling out from behind the black plastic dash trim. Once I go the car home I pulled off the lower dash trim, saw one of the alarm componenets wrapped around a wire loom and put two and two together. Uh huh - the alarm installer removed mine and didn't replace it.
I also discovered that with the steel plate under there, there are now 3 more attachment points to screw the black plastic trim cover up. Before there was only 2 screws on the outer edge holding it up and it bowed down in the center and would hit the tips of your shoes.
I'd check for a missing ecm braket or some other kind of anchor.
Good Luck !
========= Harryface =========
1991 Pontiac Bonneville LE ~_~_~273,304 miles_~_~_