AM2/AM2+/AM3/AM3+ are all the same physical socket. However, the different revisions of the socket are defined by their motherboard support and vary in power supply, memory connectivity and some other thing I don't know/remember about.
As bignasty said, the best you can do is to navigate to the motherboards manufacturers website and check the cpu compatibility and update the bios in your motherboard as needed.
My own gut feeling is that the answer will be no, your AM3 Sempron 145 won't work in an your AM2 board, if it is only an AM2 and not an AM2+, but the AM3+ board shouldn't be an issue.