Once you got your system set up, in order to downgrade you need to make sure to flash part2 before flashing part1 (reverse order than upgrade).
Similar question with a link to the pre-built binaries here
analogWrite DAC only once for each pinMode( ,OUTPUT)