15
SAM7X-EK Hands-On - Flash Programming

SAM7X-EK Hands-On - Flash Programming

  • Upload
    omar

  • View
    59

  • Download
    0

Embed Size (px)

DESCRIPTION

SAM7X-EK Hands-On - Flash Programming. IAR EWARM Flash Loader Utility. SAM7X-EK IAR Flash Loader Utility Hands-On. Software requirements Hands-On Software File: AT91SAM7X256-BasicTools-IAR4_30A-1_21.zip IAR EWARM 4.30A KS Development Tools Hardware requirements SAM7X-EK Evaluation Kit - PowerPoint PPT Presentation

Citation preview

Page 1: SAM7X-EK Hands-On - Flash Programming

SAM7X-EKHands-On - Flash Programming

Page 2: SAM7X-EK Hands-On - Flash Programming

IAR EWARM Flash Loader Utility

Page 3: SAM7X-EK Hands-On - Flash Programming

ARM-Based Products GroupMarch 2006

SAM7X-EK IAR Flash Loader Utility Hands-On

• Software requirements

• Hands-On Software File:

• AT91SAM7X256-BasicTools-IAR4_30A-1_21.zip

• IAR EWARM 4.30A KS Development Tools

• Hardware requirements

• SAM7X-EK Evaluation Kit

• J-Link or SAM-ICE JTAG/ICE Interface

• USB Device Cable

Page 4: SAM7X-EK Hands-On - Flash Programming

ARM-Based Products GroupMarch 2006

IAR EWARM Flash Loader Utility

• Connect the JTAG/ICE Interface

• Power up the board

• Extract the hands-on software

• AT91SAM7X256-BasicTools-IAR4_30A-1_21.zip

• When extracted, the following directories are available:

• In directory AT91SAM7X256-BasicTools-IAR4_30A-1_21\AT91SAM7X-BasicTools\

compil open the existing workspace BasicIAR.eww

Page 5: SAM7X-EK Hands-On - Flash Programming

ARM-Based Products GroupMarch 2006

IAR EWARM Flash Loader Utility

• Select Flash Debug workspace

• In menu project, select options, Category Debugger and Tab Download

• Option Use flash loader is selected allowing download in Flash using the IAR Flash loader utility

Page 6: SAM7X-EK Hands-On - Flash Programming

ARM-Based Products GroupMarch 2006

IAR EWARM Flash Loader Utility

• Build the project

• Launch the debug session

• The project has been programmed in the on-chip Flash memory

• You can now run/debug from Flash

• Press Go

• LEDs are blinking

Page 7: SAM7X-EK Hands-On - Flash Programming

ARM-Based Products GroupMarch 2006

Generate a binary file in IAR EWARM

• Select Binary workspace

• In menu project, select options, Category Linker and Tab Output

• Output file format raw-binary is selected

• Build the project

• Find where the binary file has been generated

Page 8: SAM7X-EK Hands-On - Flash Programming

SAM-BA

Page 9: SAM7X-EK Hands-On - Flash Programming

ARM-Based Products GroupMarch 2006

SAM7X-EK SAM-BA Hands-On

• Software requirements

• Binary File:

• BasicIAR.bin

• SAM-BA GUI Application installed on your computer

• Hardware requirements

• SAM7X-EK Evaluation Kit

• USB Device Cable

Page 10: SAM7X-EK Hands-On - Flash Programming

ARM-Based Products GroupMarch 2006

SAM7X-EK SAM-BA Boot

• Insert ERASE Jumper (J8)

• Power up the board

• Remove ERASE Jumper (J8)

• Power down and up the board

• Connect the USB Device Interface (J6) to your PC using the USB Device Cable

• Start SAMBA GUI Application

• Select the SAM7X256-EK and choose USB Connection

Page 11: SAM7X-EK Hands-On - Flash Programming

ARM-Based Products GroupMarch 2006

Download a binary file with SAM-BA

• Select FLASH tab

• Press on Send File Name Browse button

• Choose BasicIAR.bin previously generated and press Open

• Press Send File button

• Choose Boot from Flash (GPNVM2) in scripts rolling menu and press Execute

• Close SAM-BA

• Power up the board

Boot from Flash (GPNVM2)

Page 12: SAM7X-EK Hands-On - Flash Programming

SAM-PROG

Page 13: SAM7X-EK Hands-On - Flash Programming

ARM-Based Products GroupMarch 2006

SAM7X-EK SAM-PROG Hands-On

• Software requirements

• Binary File:

• BasicIAR.bin

• AT91-ISP (SAM-PROG) Application installed on your computer

• Hardware requirements

• SAM7X-EK Evaluation Kit

• USB Device Cable

Page 14: SAM7X-EK Hands-On - Flash Programming

ARM-Based Products GroupMarch 2006

SAM7X-EK SAM-BA Boot

• Insert ERASE Jumper (J8)

• Power up the board

• Remove ERASE Jumper (J8)

• Power down and up the board

• Connect the USB Device Interface (J6) to your PC using the USB Device Cable

• Start SAM-PROG Application

Page 15: SAM7X-EK Hands-On - Flash Programming

ARM-Based Products GroupMarch 2006

Download a binary file with SAM-PROG

• Browse file BasicIAR.bin

• Press Write Flash button

• Check Status Success

• Close SAM-PROG

• Power up the board