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.

(6) Operation of Boot Program<br />

Under development<br />

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

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

When Single Boot mode is selected, the boot program is automatically executed on startup. The<br />

boot program offers these three commands, of which the details are provided on the following<br />

subsections. The addresses described in this section are the virtual unless otherwise noted.<br />

1. RAM Transfer command<br />

The RAM Transfer command stores program code transferred from a host controller to the<br />

on-chip RAM and executes the program once the transfer is successfully completed. The<br />

maximum program size is 31 kbytes. The RAM storage start address must be set within the<br />

range.<br />

The RAM Transfer command can be used to download a flash programming routine of your<br />

own; this provides the ability to control on-board programming of the flash memory in a<br />

unique manner. The programming routine must utilize the flash memory command<br />

sequences described in Section17.3.<br />

Before initiating a transfer, the RAM Transfer command checks a password sequence<br />

coming from the controller against that stored in the flash memory.<br />

2. Show Flash Memory Sum command<br />

The Show Flash Memory Sum command adds the contents of the 512 kbytes of the flash<br />

memory together. The boot program does not provide a command to read out the contents<br />

of the flash memory. Instead, the Flash Memory Sum command can be used for software<br />

revision management.<br />

3. Show Product Information command<br />

The Show Product Information command provides the product name, on-chip memory<br />

configuration and the like. This command also reads out the contents of the flash memory<br />

locations at addresses 0x3F87_FFF0 through 0x3F87_FFF3. In addition to the Show Flash<br />

Memory Sum command, these locations can be used for software revision management.<br />

Flash Memory Operation

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

Saved successfully!

Ooh no, something went wrong!