Hi @sp9dev, May I know if you have enter download mode on the board before uploading?
Firstly, to erase all the flash memory, you have to go to “Tools”-> “Erase All Flash Memory (16MB)” and select “Erase only” or “Erase then Upload”. Then, enter download mode by pressing and holding the UART DOWNLOAD button. While holding, press on the RESET button and release both UART DOWNLOAD and RESET buttons before clicking on upload. You can refer to the YouTube Tutorial Video here: https://www.youtube.com/watch?v=_rLiih5RkXY
You will be able to see the following once you have successfully entered download mode in Serial Monitor.
Yes, I’m doing the sequence (UART DOWNLOAD button and RESET button) in all combinations, but it never enters the image download mode, it always stops at the Invalid RAM Img