EMUL-ARM. Board Support: Atmel EB55 February 25, Nohau Corporation. All rights reserved worldwide.

Similar documents
Evaluation Board. For NXP - Philips LPC All rights reserved

2006 Parts List Nohau In-Circuit Emulators Parts List

Seehau. Nohau Monitor (NMon) March 6, Nohau. All rights reserved worldwide.

Seehau. Seehau Launcher (SLaunch) March 11, Nohau. All rights reserved worldwide.

IAR EWARM Quick Start for. Holtek s HT32 Series Microcontrollers

EMUL-PPC-PC. Getting Started Guide. Version 1.0

EMUL IP2K PC. User Guide. Edition 1, July 13, Nohau Corporation. All rights reserved worldwide.

Note that FLIP is an Atmel program supplied by Crossware with Atmel s permission.

EMUL-AVR-PC. User Guide

Fujitsu 2010 FAE Training Lab Sunnyvale, CA

Evaluation board for NXP LPC2103. User Guide. Preliminary Version updated 27 th Aug TechToys Company All Rights Reserved

EMUEMUL-ARM. Getting Started Guide

EMUL-SX-PC. Getting Started Guide

Designing with Nios II Processor for Hardware Engineers

CMS-8GP32. A Motorola MC68HC908GP32 Microcontroller Board. xiom anufacturing

AT91 ARM Thumb Microcontrollers AT91FR40162S. Preliminary

Barracuda I and II Chips (I mask is OK36N and II mask is OK79X) PC9S12DP256

IAR C-SPY Hardware Debugger Systems User Guide

Application Note 112 version 1.1 Installing a User program in EPROM on the Intel 8x930 4 Port USB Evaluation Board

NEW CEIBO DEBUGGER. Menus and Commands

User Manual. LPC-StickView V3.0. for LPC-Stick (LPC2468) LPC2478-Stick LPC3250-Stick. Contents

AT91 ARM Thumb Microcontrollers AT91M40800 AT91R40807 AT91M40807 AT91R40008

SAM4 Reset Controller (RSTC)

AN4515 Application note

Kinetis KE1xF512 MCUs

EMUL16/300 PC. User Guide. ICE Technology

Implementing In-Application Programming on the ADuC702x

EMBEDDED SYSTEMS WITH ROBOTICS AND SENSORS USING ERLANG

Contents. Cortex M On-Chip Emulation. Technical Notes V

MB95260H/MB95270H. MB95280H Series. MB95260H Series/MB95270H Series/

Hello, and welcome to this presentation of the STM32F7 System Configuration Controller.

Chapter 12. Microcontroller Application Development Tools


Chapter. Overview. Tornado BSP Training Workshop Copyright Wind River Systems 1-1 Wind River Systems

Approximately half the power consumption of earlier Renesas Technology products and multiple functions in a 14-pin package

AT91 ARM Thumb Microcontrollers. M63200 M63800 Summary. Features. Description

EMUL51XA PC. User Guide. Edition 1. ICE Technology - All rights reserved worldwide.

AT91 ARM Thumb Microcontrollers AT91FR4081

Programming in the MAXQ environment

TMPM351 Internal Flash Memory Instructions Manual

FM3. MB9B500 Series 32-BIT MICROCONTROLLER FSS MB9BF506R EV-BOARD USER MANUAL APPLICATION NOTE FUJITSU SEMICONDUCTOR (SHANGHAI) LIMITED

Keil TM MDK-ARM Quick Start for. Holtek s HT32 Series Microcontrollers

esi-risc Development Suite Getting Started Guide

SN32F100 Series QUICK START. SN32F100 Series SN32F107 SN32F108 SN32F109. SONiX TECHNOLOGY CO., LTD Page 1 Version 3.1

Introduction to Microcontrollers

E8a Emulator Additional Document for User's Manual R0E00008AKCE00EP9

ARM. Architecture, Programming and Development Tools

Sophisticated Debugging Features for Motorola s HCS12 Family are available on Nohau s Full-Featured Emulator By: Doron Fael Nohau

AT91SAM9RL64 Hands-on 03: Deploy an application thanks to the AT91SAM9RL64 BootROM loaders and at91bootstrap

BASICS OF THE RENESAS SYNERGY PLATFORM

F 2 MC-8FX Family. 8-bit Microcontroller. MB95200 Series

AT91 ARM Thumb Microcontrollers AT91M40800 Summary BDTIC

The board contains the connector for SWD bus to implement SWD method of programming. Fig. K190 VDD 2 GND 4

Nohau Supports the ST Microelectronics upsd3200 Architecture

Hello, and welcome to this presentation of the STM32 Flash memory interface. It covers all the new features of the STM32F7 Flash memory.

EPM900 - Overview. Features. Technical Data

Cortex-M3 Family On-Chip Emulation

AT91 ARM Thumb Microcontrollers AT91M Features. Description

ARROW ARIS EDGE Board User s Guide 27/09/2017

Keywords: Get started, Microcontroller, ARM, SAM7S64, ARM-JTAG, IAR EWARM. Table of Contents

BASICS OF THE RENESAS SYNERGY TM

DOMAIN TECHNOLOGIES INC. Users Guide Version 2.0 SB-USB2. Emulator

SKP16C26 Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

The following table provides a general information of the considered toolchains. Toolchain Company Version Release date Hardware emulator

ECE4703 Real-Time DSP Orientation Lab

_ V1.1. EVB-5566 Evaluation & Development Kit for Freescale PowerPC MPC5566 Microcontroller. User s Manual. Ordering code

Product Update. Errata to Z8 Encore! 8K Series Silicon. Z8 Encore! 8K Series Silicon with Date Codes 0402 and Later

ELC4438: Embedded System Design ARM Cortex-M Architecture II

ShortStack 2.1 ARM7 Example Port User s Guide

L2 - C language for Embedded MCUs

Kinetis SDK v Release Notes for KV5x Derivatives

AT91 ARM Thumb-based Microcontrollers AT91FR40162SB. Preliminary Summary

XC866 Getting Started on EasyKit & Toolkits

CEIBO FE-5111 Development System

CEIBO FE-5131A Development System

MICROPROCESSOR BASED SYSTEM DESIGN

E8a Emulator Additional Document for User's Manual R0E00008AKCE00EP2

Development Tools. 8-Bit Development Tools. Development Tools. AVR Development Tools

VORAGO VA108x0 Bootloader application note

EMBEDDED SOFTWARE DEVELOPMENT. George Hadley 2017, Images Property of their Respective Owners

User Manual For CP-JR ARM7 USB-LPC2148 / EXP

AN4894 Application note

ToolStick-EK TOOLSTICK USER S GUIDE. 1. Kit Contents. 2. ToolStick Overview. Green and Red LEDs. C8051F321 provides USB debug interface.

A brief intro to MQX Lite. Real work: hands-on labs. Overview, Main features and Code Size

AT91 ARM Thumb Microcontrollers AT91M42800A

NEC 78K0- Family On-Chip Emulation

AT91 ARM Thumb Microcontrollers AT91F40816

Release Notes for ADuCM302x EZ-KIT Lite Board Support Package 1.0.3

Renesas New Generation of R8C/Tiny Series MCUs Adds 1.8V Support and Coprocessing With Background Operation to Enable Low-cost Innovative Designs

EUROScope lite 16FX Reference Manual

Hello, and welcome to this presentation of the STM32L4 System Configuration Controller.

Converting Firmware Projects to CoIde and IAR Embedded Workbench for ARM

Parts List. Nohau In-Circuit Emulators. EMUL51-PC For the 80C51MX Family. By ICE Technology Tel Tel Fax

Data Sheet W65C134DB Developer Board

)8-,768'HY.LW 2YHUYLHZ. )XMLWVX0LNURHOHNWURQLN*PE+ Am Siebenstein Dreieich-Buchschlag, Germany

Keil uvision development story (Adapted from (Valvano, 2014a))

STM32SnippetsL0. STM32L0xx Snippets firmware package. Features. Description

The industrial technology is rapidly moving towards ARM based solutions. Keeping this in mind, we are providing a Embedded ARM Training Suite.

Flash Loader Utility for the Z8 Encore! XP MCU

Renesas Starter Kit for RX111

Transcription:

EMUL-ARM Board Support: Atmel EB55 February 25, 2004 2003 Nohau Corporation. All rights reserved worldwide.

Nohau Corp EMUL-ARM Board Support: Atmel EB55 February 25, 2004 2 (10) Contents 1 INTRODUCTION... 4 Important Notes 4 Memory Configuration EB55 (AT91R55807) 4 Remap the internal RAM... 4 Flash Programming with EMUL-ARM... 5 Clock Speed 5 AIC Protect Mode 5 Board Configuration 6 Other Documents 6 Target Board CD 6 2 DEVELOPING SOFTWARE... 7 Include Files 7 Startup Code 7 IAR... 7 HI-TECH... 7 Memory Map / Linking 8 3 EXAMPLE APPLICATIONS... 9 General Examples 9 4 MACROS... 10

Nohau Corp EMUL-ARM Board Support: Atmel EB55 February 25, 2004 3 (10) About This Guide EMUL ARM is a PC-based hardware debugger for the ARM Core (currently ARM7 and ARM9 cores). Seehau is the name of the user interface of EMUL-ARM Seehau and EMUL-ARM is often used interchangeably. This User s Guide helps you to understand how to use the Atmel EB55 evaluation board with: EMUL-ARM HI-TECH ARM-C and HI-TIDE IAR EWARM C/C++ Note that there might exist two versions of this document (and other BSP/Target Board Related documents): If it is located in the SeehauARM\Documents install directory then it relates to currently installed Seehau. If it is located in the C:\Nohau\BSP_ARM\Doc directory then it relates to the currently installed BSP. Please note that it is required to install BSPs to C:\Nohau\BSP_ARM because compiler project files are often dependent on file location.

Nohau Corp EMUL-ARM Board Support: Atmel EB55 February 25, 2004 4 (10) 1 INTRODUCTION Important Notes The target board comes with a manual please read it. This document is intended to complement the board documentation not replace it. Atmel has some FAQs on their web site with information currently at: http://www.atmel.com/dyn/products/app_notes.asp?family_id=605&part_id=1991 It is assumed and required that the BSP is installed to c:\nohau\bsp_arm. Memory Configuration EB55 (AT91R55807) Internal memory: SRAM: 8 KB. Address: 30_0000-30_1FFF Before remap SRAM: 8 KB. Address: 0-1FFF After remap, EBI_RCR register External memory: SRAM: 128 KB. Address: 20_0000-11_FFFF Flash: 128 KB. Address: 0 1_FFFF Before remap Flash: 128 KB. Address: 100_0000 101_FFFF After remap, chip selects Chip selects to remap external Flash: EBI_CSR1 = 01002535 EBI_CSR2 = 02002121 Remap the internal RAM The ARM vectors (Reset, Interrupt etc) are mapped from address 0x0 to address 0x20. In order to allow these vectors to be redefined dynamically by the software, the AT91R55 Microcontroller use a remap command that enables switching between the boot memory and the internal primary SRAM bank addresses. The remap command is accessible through the EBI User Interface, by writing one in RCB of EBI_RCR (Remap Control Register). Performing a remap command is mandatory if access to the other external devices (connected to chip selects 1 to 7) is required. The remap operation can only be changed back by an internal reset or an NRST assertion. Seehau supports this remapping (enabled by default). Change by menu: Config Emulator then use the Misc Tab.

Nohau Corp EMUL-ARM Board Support: Atmel EB55 February 25, 2004 5 (10) Flash Programming with EMUL-ARM Seehau has built in support for flash programming for Atmel EB55. However it is disabled by default. When flash programming is enabled, normal load causes flash to erased and written as needed. To enable, use menu: Config Emulator then use the Misc Tab, and uncheck Flash Written as RAM. Seehau uses a target definition file to define which the flash memory is, and where it is located. It is automatically setup if you configured for Atmel EB55 during the initial configuration. It can be configured later by selecting a file on the Misc tab: Atmel_EB55.tdf assumes flash at address 0x1000000. Atmel_EB55_0.tdf assumes flash at address 0. There are two alternatives for flash programming flash at address 0x0 or address 0x1000000. Each has its own target definition file: Address 0x1000000 (default) Atmel_EB55.tdf Address 0 Atmel_EB55_0.tdf Flash programming is disabled by default, enable by using menu Config Emulator Misc Tab: Un-check Flash Written as RAM. Also, Monitor Load is required, enable by using menu Config Emulator Misc Tab: Clock Speed Check Monitor Load. The EB55 starts at low frequency 32KHz. Unless the flash is erased after it came from Atmel, it will be brought up to full speed by the boot-strap in the flash. If not, you have to take care of it yourselves, or use the supplied macros. The TimerFlash example has startup code that does the speed up. AIC Protect Mode The AIC (Advanced Interrupt Controller) has a Protect Mode from the manual: The Protect Mode permits reading of the Interrupt Vector Register without performing the associated automatic operations. This is necessary when working with a debug system. Please note that the debugger does nothing to enable Protect Mode automatically. See the MCU Manual.

Nohau Corp EMUL-ARM Board Support: Atmel EB55 February 25, 2004 6 (10) Board Configuration JP1 should be User Position. Other Documents Please also see following documents: Target Board CD ARM_BSP.pdf overview of general source code that is supplied with EMUL-ARM for Atmel EB55A see ARM_BSP.pdf. This document discusses Timer, different Target Console applications and uc/os-ii. ARM_Compilers.pdf how to set up different compilers to be used with EMUL-ARM. Nohau_Monitor.pdf using the Nohau Monitor to get printf() from target application in Seehau etc. The Atmel EB55 Target Board comes with a CD from Atmel.

Nohau Corp EMUL-ARM Board Support: Atmel EB55 February 25, 2004 7 (10) 2 DEVELOPING SOFTWARE Include Files The compiler will generally have #include files for MCU registers. If yours doesn t have it, you can use following file (where the initial N is used to denote Nohau and avoiding name conflicts): c:\nohau\bsp_arm\src\inc\ NAT91M55800A.h All examples in Nohau BSP ARM are based on a couple of.h files. These are: NConfig.h (located in the application directory) c:\nohau\bsp_arm\src\inc\ndefs.h c:\nohau\bsp_arm\src\inc\narm.h (there is an NArm.c file aswell) The Nohau Monitor uses an additional.h file in the application directory, and so does uc/os-ii: Startup Code NMon_Cfg.h Nohau Monitor. Startup code for EB55 is located in: c:\nohau\bsp_arm\boards\atmel\eb55\startup: IAR For IAR C/C++, there are two files with startup code in directory cstartup_iar.s assumes program memory (flash or ram) at address zero. cstartup_remap_iar.s assumes that the application shall execute at address 0x1000000, but start at 0x0 after reset, for which reason it performs the remap. HI-TECH For HI-TECH ARM-C, there are three files with startup code in directory stacks_htc.c sets up stacks for selected modes. vectors_htc.as sets up the interrupt vectors. powerup_remap_htc.as startup code that speeds up CPU, sets up memory, copies vectors and performs remap.

Nohau Corp EMUL-ARM Board Support: Atmel EB55 February 25, 2004 8 (10) Memory Map / Linking HI-TECH ARM-C does not use link control files. Memory ranges are defined within the HI-TIDE project. For the IAR compiler, link control files are provided in directory: c:\nohau\bsp_arm\boards\atmel\eb40\link\ Following files are available: RAM_IAR.xcl code and data in RAM at address 0x0. FLASH_IAR.xcl code in Flash at address 0x0, RAM at address 0x30000. FLASH_REMAP_IAR.xcl code in Flash at address 0x1000000, RAM at address 0x0.

Nohau Corp EMUL-ARM Board Support: Atmel EB55 February 25, 2004 9 (10) 3 EXAMPLE APPLICATIONS General Examples These are applications that are shared between most supported boards. See ARM_BSP.pdf for additional information. The application categories are available: TargetConsole - Shows the capabilities of the EMUL-ARM debugger-target communication. Interrupt Shows how to do basic interrupts with and without the debugger targetcommunication. ucosii Shows the uc/os-ii RTOS. Notice the Interrupt/TimerFlash example, which shows how to create a program that remaps and speed up the hardware.

Nohau Corp EMUL-ARM Board Support: Atmel EB55 February 25, 2004 10 (10) 4 MACROS The AT91R55807 CPU will start running at clock frequency 32KHz by default. This causes problems for the debugger JTAG debuggers are sensitive to low clock speed. The macros below can be used to initialize the board, including programming the clock speed. Following macros are available in directory: C:\Nohau\BSP_ARM\Boards\Atmel\EB55\Macros: Speedup.bas sets MCU to run at full speed. Remap.bas remaps memories to default locations. EnableExSRAM.bas enables the external RAM. Boardinit.bas Initializes the board including remap and MCU speedup.