Getting Started for FM4 S6E2DH (GAT-D)
www.cypress.com
Document No. 002-04388 Rev. *B
38
6
Program
6.1
Debugging Mode
While debugging, there are two methods to program internal and external flash if used Hyper Bus based external
flash. If use HSSPI base external flash that would be Method A.
Method A:
Figure 6-1 Program Method A of Debug
Method B:
Figure 6-2 Program Method B of Debug
GAT-
D Tool to generate bin file or not could be selected in tool. Refer to user’s manual of GAT-D for details.
PC
environment
GAT-D
Tool
IAR EW
IDE
Generated source
Others
Flash image
(.mhx)
Embedded
device
S6E2DH internal
flash
Build/Program
Use
debugger
Note:
Images generate to C source, also be programed to external flash.
External flash
PC
environment
GAT-D
Tool
IAR EW
IDE
Generated source
Others
Flash image
(.mhx)
Embedded
device
External flash
Program
S6E2DH internal
flash
Build/Program
Use S6E2DH PC
programmer
Use
debugger