These are the two processors:
While they use the same socket, that is not enough. An upgrade cpu must be socket, BIOS, and chipset compatible.
This means you will have to contact the manufacturer of your motherboard/system and ask them what processors are supported by THEIR BIOS. Then, you can select from those processors.
Also, you are not doing yourself any favours by upgrading to an i5-2520m. It is more than six years old, and its graphics (Intel HD 3000) are not supported on Windows 10, if that is your goal:
And, the processor itself is not supported on Windows 10: Intel® Processor Support for Microsoft Windows® 10
And, in my opinion, the minimal performance gain is simply not worth the effort.
Spend your time and money on a new or newer system, that still has support.
This message was posted on behalf of Intel Corporation
Thank you very much to Al Hill for the information provided above.
TuanTrinh, Thank you very much for joining the Intel® Processors communities.
If you are planning to upgrade the processor, the best thing to do will be to get in contact directly with the manufacturer of the laptop, they should have a list of compatible processors for it and then you can choose the best one from that list. As it was mentioned before, besides the fact the socket needs to be the same the processor also needs to be compatible with the BIOS in the laptop so the best thing will be to check with them before doing any changes on the system.
I hope the information above was useful for you.
Any further questions, please let me know.
Maybe this upgrade is not simple as I think.
I usually upgrade the system for desktop so I think it's same with laptop but in fact, there are a lot of master when do it.
Like Al_Hill said: "Spend your time and money on a new or newer system, that still has support", I think now I will buy a new one which newer systems.