Download Serial FLASH Programming User`s Guide

Transcript
FLASH Programming via Boundary Scan
The BSDL commands of TRACE32 are used to program external FLASH memories via boundary scan.
Important BSDL-specific steps are:
•
Check that the bypass mode works.
•
Check that the IDCODE matches.
•
Define the FLASH pin connection.
•
Enable serial FLASH programming via boundary scan and define the flash type.
Serial FLASH programming then continues with the FLASHFILE commands described in this manual. The
following PRACTICE script (*.cmm) illustrates the BSDL-specific steps by way of these examples:
•
Example 1 for the SPI protocol
•
Example 2 for the I2C protocol
Example 1 for the SPI Protocol
CPU:
AT91SAM3U4
Serial FLASH:
M25P64 (STMicroelectronics, 64Mbit)
Pin connection:
SPI_CE: Port A16
SPI_SCK: Port A15
SPI_MOSI: Port A14
SPI_MISO: Port A13
©1989-2015 Lauterbach GmbH
Serial FLASH Programming User’s Guide
37
FLASH Programming via Boundary Scan