There are some GODIAG tools designed to work with ECU Programmers to read and write ECU. They are cheap and easy to use. Here are the reasons to use them.
Using GODIAG ECU GPT Boot Adapter and SM2 Pro with pcmflash software to read and write Bosch EDC17CP11 TC1796 ECU, works perfectly. Free Download GODIAG ECU GPT Boot Adapter ECU PINOUT