Presentation is loading. Please wait.

Presentation is loading. Please wait.

SAM7X-EK Hands-On - Flash Programming. IAR EWARM Flash Loader Utility.

Similar presentations


Presentation on theme: "SAM7X-EK Hands-On - Flash Programming. IAR EWARM Flash Loader Utility."— Presentation transcript:

1 SAM7X-EK Hands-On - Flash Programming

2 IAR EWARM Flash Loader Utility

3 ARM-Based Products Group March 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

4 ARM-Based Products Group March 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

5 ARM-Based Products Group March 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

6 ARM-Based Products Group March 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

7 ARM-Based Products Group March 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

8 SAM-BA

9 ARM-Based Products Group March 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

10 ARM-Based Products Group March 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

11 ARM-Based Products Group March 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)

12 SAM-PROG

13 ARM-Based Products Group March 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

14 ARM-Based Products Group March 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

15 ARM-Based Products Group March 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


Download ppt "SAM7X-EK Hands-On - Flash Programming. IAR EWARM Flash Loader Utility."

Similar presentations


Ads by Google