background image

 PL360G55Cx-EK

 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

 gives a brief step-by-step description about how to upload a

new firmware application binary.

Appendix A: Bootloader Commands

 resumes the supported bootloader commands.

Appendix B: How to Flash the Serial Bootloader Binary

 explains step-by-step how to Flash the bootloader

in the SAMG55J19.

Features

• For PL360G55CB-EK and PL360G55CF-EK Boards
• Firmware Programming over UART and USB Serial Interfaces

©

 2019 Microchip Technology Inc.

 User Guide

DS50002878A-page 1

Summary of Contents for PL360G55Cx-EK

Page 1: ...ection 1 Overview provides an overview of the serial bootloader and the contents of the package Section 2 Installation and Getting Started gives a brief step by step description about how to upload a new firmware application binary Appendix A Bootloader Commands resumes the supported bootloader commands Appendix B How to Flash the Serial Bootloader Binary explains step by step how to Flash the boo...

Page 2: ...st 6 3 Appendix A Bootloader Commands 10 4 Appendix B How to Flash the Serial Bootloader Binary 11 5 Revision History 13 5 1 Rev A 04 2019 13 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 PL360G55Cx EK 2019 M...

Page 3: ...ncludes a pre compiled image of the embedded serial bootloader image 1 1 Supported Platforms and Interfaces The embedded bootloader is supported on PL360G55CF_EK and PL360G55CB_EK boards The embedded bootloader can work with two serial interfaces of the evaluation kit indistinctly USB and mikroBUS UART 1 2 Package Content and Structure The firmware package contains The embedded bootloader sources ...

Page 4: ..._bootloader samg55j19_pl360g55cx_ek Embedded bootloader configuration files sam application serial_bootloader samg55j19_pl360g55cx_ek iar IAR Embedded Workbench project files for embedded bootloader common services usb class cdc device USB driver for Windows PL360G55Cx EK Overview 2019 Microchip Technology Inc User Guide DS50002878A page 4 ...

Page 5: ...l bootloader pre programmed in the Flash memory Attention The use of the jumper ERASE J3 erases the Flash memory of the SAMG55 microcontroller including the serial bootloader application If the serial embedded bootloader is not present on the SAMG55J19 device follow the instructions described in section Appendix B How to Flash the Serial Bootloader Binary 2 1 Serial Interface Connections The embed...

Page 6: ...he PL360G55Cx EK with the provided USB cable 2 2 UART pins in the mikroBUS connector of the PL360G55Cx EK a USB UART converter may be required 3 Open the Terminal Emulator software and configure the serial port to which the target is connected using the parameters detailed in Table 2 1 The USB module of the SAMG55J19 can negotiate the baud rate so a different value can be used By default the seria...

Page 7: ...at of a temporal buffer 64 KBytes to handle the loading process The size of the application binary file in bytes in hexadecimal format In the example the buffer is located in the position 0x20010000 the RAM memory of the SAMG55J19 starts at 0x20000000 The size of the application binary file used in this example is 152658 bytes 0x25452 Type S20010000 25452 in your terminal window The prompt automat...

Page 8: ...the SAMG55J19 in binary format For using the UART interface it is required to select XMODEM CRC protocol to transfer the binary file PL360G55Cx EK Installation and Getting Started 2019 Microchip Technology Inc User Guide DS50002878A page 8 ...

Page 9: ...e 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 PL360G55Cx EK Installation and Getting Started 2019 Microchip Technology Inc User Guide DS50002878A page 9 ...

Page 10: ...rmal Mode No argument N T Set Terminal Mode No argument T o Read a byte Address o200001 h Read a half word Address h200002 w Read a word Address w200000 S Send a file Address S200000 R Receive a file Address NbOfBytes R200000 1234 G Go No argument G V Display version No argument V For example to read the Chip ID register which is located in the memory address 0x400E0740 PL360G55Cx EK Appendix A Bo...

Page 11: ...firmware package is located in the folder sam application serial_bootloader bin To Flash the bootloader binary using an Atmel ICE and Atmel Studio 7 follow these steps 1 Connect Atmel ICE to the JTAG interface of the PL360G55Cx EK board and power up the board 2 Launch Atmel Studio 7 and open the Device Programming window Menu Tools Device Programming 3 In the comboxes select the tool Atmel ICE dev...

Page 12: ... the bit GPNVMBITS BOOT_MODE and press the Program button 6 Now the bootloader binary is loaded and running in the SAMG55J19 PL360G55Cx EK Appendix B How to Flash the Serial Bootloader 2019 Microchip Technology Inc User Guide DS50002878A page 12 ...

Page 13: ...5 Revision History 5 1 Rev A 04 2019 Document Initial release PL360G55Cx EK Revision History 2019 Microchip Technology Inc User Guide DS50002878A page 13 ...

Page 14: ...and follow the registration instructions Customer Support Users of Microchip products can receive assistance through several channels Distributor or Representative Local Sales Office Field Application Engineer FAE Technical Support Customers should contact their distributor representative or Field Application Engineer FAE for support Local sales offices are also available to help customers A listi...

Page 15: ...ryptoMemory CryptoRF dsPIC FlashFlex flexPWR Heldo JukeBlox KeeLoq Kleer LANCheck LINK MD maXStylus maXTouch MediaLB megaAVR MOST MOST logo MPLAB OptoLyzer PIC picoPower PICSTART PIC32 logo Prochip Designer QTouch SAM BA SpyNIC SST SST Logo SuperFlash tinyAVR UNI O and XMEGA are registered trademarks of Microchip Technology Incorporated in the U S A and other countries ClockWorks The Embedded Cont...

Page 16: ...ities in Chandler and Tempe Arizona Gresham Oregon and design centers in California and India The Company s quality system processes and procedures are for its PIC MCUs and dsPIC DSCs KEELOQ code hopping devices Serial EEPROMs microperipherals nonvolatile memory and analog products In addition Microchip s quality system for the design and manufacture of development systems is ISO 9001 2000 certifi...

Page 17: ...252 China Xiamen Tel 86 592 2388138 China Zhuhai Tel 86 756 3210040 India Bangalore Tel 91 80 3090 4444 India New Delhi Tel 91 11 4160 8631 India Pune Tel 91 20 4121 0141 Japan Osaka Tel 81 6 6152 7160 Japan Tokyo Tel 81 3 6880 3770 Korea Daegu Tel 82 53 744 4301 Korea Seoul Tel 82 2 554 7200 Malaysia Kuala Lumpur Tel 60 3 7651 7906 Malaysia Penang Tel 60 4 227 8870 Philippines Manila Tel 63 2 634...

Reviews: