1 / 15

SAM7X-EK Hands-On - Flash Programming

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

omar
Télécharger la présentation

SAM7X-EK Hands-On - Flash Programming

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SAM7X-EKHands-On - Flash Programming

  2. IAR EWARM Flash Loader Utility

  3. 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. 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. IAR EWARM Flash Loader Utility • Select Flash Debug workspace • In menu project, select options, Category Debugger andTab Download • Option Use flash loader is selected allowing download in Flash using the IAR Flash loader utility

  6. 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. Generate a binary file in IAR EWARM • Select Binary workspace • In menu project, select options, Category Linker andTab Output • Output file format raw-binary is selected • Build the project • Find where the binary file has been generated

  8. SAM-BA

  9. 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. 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 theSAM7X256-EKand chooseUSB Connection

  11. Download a binary file with SAM-BA • SelectFLASHtab • Press onSend File Name Browsebutton • ChooseBasicIAR.bin previously generated and pressOpen • PressSend Filebutton • ChooseBoot from Flash (GPNVM2) inscriptsrolling menu and pressExecute • Close SAM-BA • Power up the board Boot from Flash (GPNVM2)

  12. SAM-PROG

  13. 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. 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. Download a binary file with SAM-PROG • Browse file BasicIAR.bin • PressWrite Flashbutton • Check StatusSuccess • Close SAM-PROG • Power up the board

More Related