I don't have Da Vinci 2.0A, I only have Da Vinci 1.0, so the following may not working for you. But they are mostly same design so doen't hurt to try.
1. you need to select save to epprom every time you change the setting, and since Da Vinci don't have epprom, it use sd card to emmulate the epprom, it will be slow, wait for confirmation that your setting is saved to epprom before exit the menu.
2. make sure you changed your model before compile and upload the firmware, your Da Vinci 2.0A Duo have two extruder, so the definition of bed size and axis max length are different.
// ################## EDIT THESE SETTINGS MANUALLY ################
#define DAVINCI 3// "0" if not DAVINCI, "1" For DAVINCI 1.0, "2" For DAVINCI 2.0 with 1 FAN, "3" For DAVINCI 2.0 with 2 FAN, 4 for AiO (WITH NO SCANNER SUPPORT)
#define MODEL 1//"0" for first generation (jumper JP1 to reset ) , "1" for new generation (jumper J37 to reset)
#define REPURPOSE_FAN_TO_COOL_EXTRUSIONS 0 //Setting this to 1 will repurpose the main Extruder cooling fan to be controlled VIA M106/M107
//Warning: for DaVinci 1.0 need to add a permanent fan with power supply to cool extruder
(Da Vinci 1.0, Jr. 1.0 RAMPS, miniMaker) X4, (Creality CR-10S, CR-10 mini, Ender-3) X4, Anycubic MEGA X4, Anycubic Chrion X1, ADMILAB Gantry X2 (MonoPrice Maker Select V2, Plus, Ultimate)X4--Select mini X1, Anycubic photon X4, Wanhao duplicate D7 X1.
iNSTONE Inventor Pro X2, CTC Dual X2, ANET-A8, Hictop 3DP-11, Solidoodle Press, FLSUN I3 2017X1