Samsung A310F upgrade to android 6.0.1 Marshmallow with complete flashing guide firmware link can be found below.
A310FXXU2BPH3_A310FOJV2BPH2_A310FXXU2BPG6_6.0.1.zip
Watch Video How to Flash/Upgrade Samsung With Odin
Screeshot
Upgrade Log:
<ID:0/034> Added!!
<OSM> Enter CS for MD5..
<OSM> Binary Check MD5.. Do not unplug the cable..
<OSM> Please wait..
<OSM> Checking MD5 finished Sucessfully..
<OSM> Leave CS..
<ID:0/034> Odin engine v(ID:3.1100)..
<ID:0/034> File analysis..
<ID:0/034> SetupConnection..
<ID:0/034> Initialzation..
<ID:0/034> Get PIT for mapping..
<ID:0/034> Firmware update start..
<ID:0/034> SingleDownload.
<ID:0/034> sboot.bin
<ID:0/034> NAND Write Start!!
<ID:0/034> cm.bin
<ID:0/034> boot.img
<ID:0/034> recovery.img
<ID:0/034> system.img
<ID:0/034> modem.bin
<ID:0/034> cache.img
<ID:0/034> hidden.img
<ID:0/034> RQT_CLOSE !!
<ID:0/034> RES OK !!
<ID:0/034> Removed!!
<ID:0/034> Remain Port …. 0
<OSM> All threads completed. (succeed 1 / failed 0)
<ID:0/049> Added!!
<ID:0/049> Removed!!