There is pretty much no chance that will work. CHDK must be ported and compiled specifically for each camera model and firmware version.
You could try dumping the firmware from your A520 so that we can compare it to the A530 but it's a really really really long shot they will be close enough.
Edit : got your model wrong. As srsa_4c points out, the A520 will not support a CHDK port.