Microchip Technology PL360G55Cx-EK User Manual

Microchip Technology PL360G55Cx-EK User Manual

Smart energy: serial bootloader

Advertisement

Quick Links

Smart Energy: Serial Bootloader User Guide

Introduction

The serial bootloader of the PL360G55Cx-EK boards allows the user to load application binaries in the
SAMG55J19 using one of the serial interfaces available in the boards.
The package contains all necessary sources to modify and compile the embedded serial bootloader,
including the project files for IAR Embedded Workbench
Section 1: Overview
provides an overview of the serial bootloader and the contents of the package.
Section 2: Installation and Getting Started
new firmware application binary.
Appendix A: Bootloader Commands
Appendix B: How to Flash the Serial Bootloader Binary
in the SAMG55J19.

Features

• For PL360G55CB-EK and PL360G55CF-EK Boards
• Firmware Programming over UART and USB Serial Interfaces
©
2019 Microchip Technology Inc.
®
.
gives a brief step-by-step description about how to upload a
resumes the supported bootloader commands.
explains step-by-step how to Flash the bootloader
User Guide
PL360G55Cx-EK
DS50002878A-page 1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PL360G55Cx-EK and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Microchip Technology PL360G55Cx-EK

  • Page 1: Introduction

    Smart Energy: Serial Bootloader User Guide Introduction The serial bootloader of the PL360G55Cx-EK boards allows the user to load application binaries in the SAMG55J19 using one of the serial interfaces available in the boards. The package contains all necessary sources to modify and compile the embedded serial bootloader, ®...
  • Page 2: Table Of Contents

    The Microchip Web Site....................14 Customer Change Notification Service................14 Customer Support......................14 Microchip Devices Code Protection Feature..............14 Legal Notice........................15 Trademarks........................15 Quality Management System Certified by DNV.............16 Worldwide Sales and Service..................17 User Guide DS50002878A-page 2 © 2019 Microchip Technology Inc.
  • Page 3: Overview

    MCU Flash. The host may be a PC or another MCU/MPU. Figure 1-1. General approach of the Serial Bootloader for SAMG55J19 Programming The firmware package provided along with the PL360G55Cx-EK includes a pre-compiled image of the embedded serial bootloader image. Supported Platforms and Interfaces The embedded bootloader is supported on PL360G55CF_EK and PL360G55CB_EK boards.
  • Page 4 ...continued Path Description \sam\application\serial_bootloader\bin\ Pre-compiled firmware image of embedded bootloader \sam\application\serial_bootloader Embedded bootloader configuration files \samg55j19_pl360g55cx_ek\ \sam\application\serial_bootloader IAR Embedded Workbench project files for \samg55j19_pl360g55cx_ek\iar\ embedded bootloader \common\services\usb\class\cdc\device\ USB driver for Windows User Guide DS50002878A-page 4 © 2019 Microchip Technology Inc.
  • Page 5: Installation And Getting Started

    Before using the serial bootloader with a PC host, there are some steps to follow: Unpack the package to a folder on the PC hard drive. Connect the PL360G55Cx-EK board to the PC via one of the serial interfaces supported by the embedded serial bootloader, UART or USB.
  • Page 6: Loading Application Firmware From A Pc Host

    By default, the embedded serial bootloader supports USART4 peripheral of the SAMG55J19 which is accessible in the TXD, RXD and GND pins of the mikroBUS connector in the PL360G55Cx-EK boards. It is the responsibility of the user to ensure a proper connection to the host device.
  • Page 7 The size of the application binary file used in this example is 152658 bytes (0x25452). Type S20010000,25452# in your terminal window. The prompt automatically goes down to the next line signaling that it is waiting for the file transfer process. User Guide DS50002878A-page 7 © 2019 Microchip Technology Inc.
  • Page 8 Installation and Getting Started Send the application binary file to the SAMG55J19 in binary format. For using the UART interface, it is required to select XMODEM-CRC protocol to transfer the binary file: User Guide DS50002878A-page 8 © 2019 Microchip Technology Inc.
  • Page 9 When the upload process is complete, the prompt appears again. Type command G# in the terminal window to start the application. 10. If the loaded application is running in the SAMG55J19, remove the jumper PROG (J2) and reset the board. User Guide DS50002878A-page 9 © 2019 Microchip Technology Inc.
  • Page 10: Appendix A: Bootloader Commands

    Send a file Address,# S200000,# Receive a file Address,NbOfBytes# R200000,1234# No argument Display version No argument For example, to read the Chip ID register which is located in the memory address 0x400E0740: User Guide DS50002878A-page 10 © 2019 Microchip Technology Inc.
  • Page 11: Appendix B: How To Flash The Serial Bootloader Binary

    JTAG adapter (for example, Atmel-ICE SAM-ICE ) to the JTAG connector (J7) in the PL360G55Cx-EK board and then program the SAMG55J19 with the binary image (.bin) of the embedded bootloader via the JTAG interface. ® Attention:  To use the ARM Multi-ICE or Atmel SAM-ICE, a JTAG adapter for 20 to 10 pins is necessary.
  • Page 12 Appendix B: How to Flash the Serial Bootloader ... In the GPNVM Bits tab, enable the check of the bit GPNVMBITS.BOOT_MODE and press the Program button. Now the bootloader binary is loaded and running in the SAMG55J19. User Guide DS50002878A-page 12 © 2019 Microchip Technology Inc.
  • Page 13: Revision History

    PL360G55Cx-EK Revision History Revision History Rev A - 04/2019 Document Initial release. User Guide DS50002878A-page 13 © 2019 Microchip Technology Inc.
  • Page 14: The Microchip Web Site

    Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of intellectual property. • Microchip is willing to work with the customer who is concerned about the integrity of their code. User Guide DS50002878A-page 14 © 2019 Microchip Technology Inc.
  • Page 15: Legal Notice

    SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. Silicon Storage Technology is a registered trademark of Microchip Technology Inc. in other countries. GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip Technology Inc., in other countries.
  • Page 16: Quality Management System Certified By Dnv

    PL360G55Cx-EK © 2019, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved. ISBN: 978-1-5224-4403-9 Quality Management System Certified by DNV ISO/TS 16949 Microchip received ISO/TS-16949:2009 certification for its worldwide headquarters, design and wafer fabrication facilities in Chandler and Tempe, Arizona; Gresham, Oregon and design centers in California ®...
  • Page 17: Worldwide Sales And Service

    New York, NY Sweden - Stockholm Tel: 631-435-6000 Tel: 46-8-5090-4654 San Jose, CA UK - Wokingham Tel: 408-735-9110 Tel: 44-118-921-5800 Tel: 408-436-4270 Fax: 44-118-921-5820 Canada - Toronto Tel: 905-695-1980 Fax: 905-695-2078 User Guide DS50002878A-page 17 © 2019 Microchip Technology Inc.

Table of Contents