It is mainly proposed that the design and implementation for an online-programming IP core based on MV10, an SoC, which is an 8-bit MCU having passed the silicon verification with Global Foundry 0.35um mix-signal library in this thesis. The online-programming IP core can write BIN file into the on-chip SRAM, which is mainly controlled by erasing state machine and programming state machine, for program debugging with high accuracy-communication and error self-detection. The online-programming IP core proposed in this thesis can also be used in other SoCs.