23.04.2013 Views

TMPM330 - Keil

TMPM330 - Keil

TMPM330 - Keil

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

(Step-5)<br />

Under development<br />

<strong>TMPM330</strong> (rev 0.4)17-11<br />

<strong>TMPM330</strong><br />

Continue executing the flash programming routine to download new program code from the host<br />

controller and program it into the erased flash block. Once programming is complete, turn on the<br />

protection of that flash block.<br />

(<strong>TMPM330</strong>)<br />

Flash memory<br />

New application<br />

Program code<br />

[Reset procedure]<br />

(a) Mode judgment routine<br />

(b) Transfer routine<br />

(Step-6)<br />

Set RESET to “0” low to reset the <strong>TMPM330</strong>. Upon reset, the on-chip flash memory is put in Normal<br />

mode. After RESET is released, the CPU will start executing the new application program code.<br />

(<strong>TMPM330</strong>)<br />

Flash memory<br />

New application<br />

program code<br />

[Reset procedure]<br />

(a) Mode judgment routine<br />

(b) Transfer routine<br />

(I/O)<br />

(Host)<br />

(c) Programming routine<br />

(I/O)<br />

RAM<br />

(Host)<br />

RAM<br />

New application<br />

program code<br />

(c) Programming routine<br />

0 → 1 RESET<br />

Set to normal mode<br />

Flash Memory Operation

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!