QUICK START GUIDE TO THE JUMPSTART MICROBOX

Similar documents
EKK-LM3S811 QUICKSTART

Getting started with the STM32 Nucleo pack for USB Type-C and Power Delivery with the Nucleo-F072RB board and the STUSB1602

R8C/Tiny. StarterKit Plus SKP8CMINI-15, SKP8CMINI-17. Clock Stop Detect

ELMO Board Programming Guide

XNUCLEO-F030R8, Improved STM32 NUCLEO Board

Quick-Start Guide. BNS Solutions. QSK62P Plus

You have a PC with a USB interface, running Microsoft Windows XP (SP2 or greater) or Vista You have the Workshop Installation Software Flash Drive

NUCLEO-L496ZG. STM32 Nucleo-144 board. Features. Description

USB Type-C and Power Delivery Nucleo pack with NUCLEO-F072RB expansion board based on the STUSB1602

UM2495. High performance HF reader / NFC initiator IC software expansion for NUCLEO-8S208RB. User manual. Introduction

EVALKITSTKNX. Miniature transceiver STKNX evaluation and development kit. Features

Quick Start Guide. Stepper motor driver expansion board based on L6474 for STM32 Nucleo (X-NUCLEO-IHM01A1) Version 1.

USB Type-C and Power Delivery Nucleo pack with NUCLEO-F072RB expansion board based on STUSB1602. Description

Getting started with VL53L0X ranging and gesture detection sensor software expansion for STM32Cube

P-NUCLEO-USB001. STM32 Nucleo pack for USB Type-C and Power Delivery. Features. Description

UM1727 User manual. Getting started with STM32 Nucleo board software development tools. Introduction

Quick Start Guide. Stepper motor driver expansion board based on L6474 for STM32 Nucleo (X-NUCLEO-IHM01A1) Version 1.2.

P-NUCLEO-USB001. STM32 Nucleo pack for USB Type-C and Power Delivery Data brief. Features. Description

QUICKSTART CODE COMPOSER STUDIO Stellaris Development and Evaluation Kits for Code Composer Studio

LAB #1: The CSM12C32 Module and PBMCUSLK Project Board

Getting started with X-CUBE-LED channel LED driver software expansion based on LED1642GW for STM32Cube

UM2045 User manual. Getting started with the X-CUBE-NFC3 near field communication transceiver software expansion for STM32Cube.

Install Keil Microcontroller Development Kit Version 5 for ST Microelectronics STM32F446

Quick Start Guide. Bipolar stepper motor driver expansion board based on L6208 for STM32 Nucleo (X-NUCLEO-IHM05A1) Version 1.1.

NUCLEO-L433RC-P NUCLEO-L452RE-P

ZCRMZNICE01ZEMG Crimzon In-Circuit Emulator

How to utilize the CM-9 source

Quick Start Guide for mbed enabling Freescale FRDM-KL25z Freedom board

MeshConnect ISP / WNA (ZIC2410USB-WNA-1) User Guide

As CCS starts up, a splash screen similar to one shown below will appear.

Lab 0 Introduction to the MSP430F5529 Launchpad-based Lab Board and Code Composer Studio

STEPPER-MOTOR-RD STEPPER MOTOR REFERENCE DESIGN KIT USER S GUIDE. 1. Kit Contents. 2. Kit Overview. Figure 1. Stepper Motor Reference Design Board

BNO080 Development Kit for Nucleo Quick Start Guide

Getting started with the X-CUBE-NFC5 high performance HF reader / NFC initiator IC software expansion for STM32Cube

As CCS starts up, a splash screen similar to one shown below will appear.

Quick Start Guide. High power stepper motor driver expansion board based on powerstep01 for STM32 Nucleo (X-NUCLEO-IHM03A1)

With the standalone CD, follow the installer dialog.

Freeduino USB 1.0. Arduino Compatible Development Board Starter Guide. 1. Overview

Introduction. Key features and lab exercises to familiarize new users to the Visual environment

QUICK START GUIDE FOR FIRMWARE UPGRADE RS232-TO UART INTERFACE BOARD AND SOFTWARE

Updating Reader Firmware

VEX Startup and Configuration Procedures

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

M16C/62P QSK QSK62P Plus Tutorial 1. Software Development Process using HEW4

Getting Started with Kinetis SDK (KSDK) v.1.2

Quick Start Guide. Long distance ranging ToF sensor expansion board based on VL53L1X for STM32 Nucleo (X-NUCLEO-53L1A1) Version (February 20, 2018)

Getting Started. Here's how to get started using your Zip 250 drive: 1. Unpack the Zip 250 drive and accessories.

Start a New Project with Keil MDK-ARM Version 5 and ST Micro Nucleo-F446RE

Avnet Zynq Mini Module Plus Embedded Design

Getting started with the X-CUBE-53L1A1 Time-of-Flight long distance ranging sensor software expansion for STM32Cube

External Headers. USB Host User LEDs. User Switches. E1 Header (Unfitted)

STM32F3 Hands-On Workshop

ARM CORTEX-M4 HD AEC FULL DUPLEX DEMO. HD AEC Full Duplex ARM Cortex-M4 Demo (STM32F4) Quick Start Guide

How to resolve PINPad offline issues

Procedures to Install Eye Com's ImageMouse and ImageMouse Plus using Windows XP platform

USB Type A Female Breakout Hookup Guide

Getting started with the FP-NET-6LPBLE1 function pack for 6LoWPAN IoT node connection to a smartphone via BLE interface

NX-588E USB Flash Programmer Instructions v1.1

TN1235 Technical note

STM32 Ecosystem Workshop. T.O.M.A.S Team

Part Number Density Product Type Operation Temperature. W25Q80NESNIG 8Mb 1.2V Serial NOR Flash Memory Industrial (-40 C to +85 C)

SOFTWARE SETUP GUIDE DIGITAL MULTIFUNCTIONAL SYSTEM

Project. The project file contains the following information:

APPENDIX A. CODE COMPOSER STUDIO (CCS) v5: A BRIEF TUTORIAL FOR THE DSK6713

BASICS OF THE RENESAS SYNERGY TM

Getting Started with Kinetis SDK (KSDK) v.1.3

Section 4: Installing the ECC (Epilog Control Center)

UPDATE FOR IPAD IOS 9 USERS

UM1853 User manual. STM32CubeF1 Nucleo demonstration firmware. Introduction

SKP16C62P Tutorial 2 Creating A New Project Using TM. Renesas Technology America Inc.

USB-Link 2 Technical Guide

STM32 NUCLEO BOARD TUTORIAL

STORYTELLING-PowerPoint-Windows Movie Maker 2

ProtoCOL 3 Software Installation - Quick Guide

Installing LE History Record Reader program software.

Tools Basics. Getting Started with Renesas Development Tools R8C/3LX Family

Driver Installation. Getting Started for Windows user (Setting up your Robot)

Quick Start Guide: RL78G14 Motor Control Starter Kit

Getting Started Guide RS-EDP & XC167 CPU Module. Version 2 10th June 2010

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

Figure 1. Proper Method of Holding the ToolStick. Figure 2. Improper Method of Holding the ToolStick

Getting Started Guide: TMS-FET470A256 IAR Kickstart Development Kit

UM1677 User manual. Getting started with STM32F030 Value Line Discovery development tools. Introduction

Evaluation & Development Kit for Freescale PowerPC MPC5517 Microcontroller

Using Eclipse for Java. Using Eclipse for Java 1 / 1

Cygnos360 V2 Installation Manual

Getting started with software and firmware environments for the

UM1862 User manual. Getting started with STM32F411E Discovery software Development Tools. Introduction

Logitech is aware of a Microsoft update (OS Build ) which is reported to affect USB support on Windows 10 computers.

EDGE, MICROSOFT S BROWSER

Getting Started with Energia for MSP432 LaunchPad

IPdisplays Why US? or

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

The CD100MP3 is a micro-computer based hard disk player that replaces the entire CD mechanism and decoder in your ROWE/AMI CD100 jukebox.

SENSORLESS-BLDC-MOTOR-RD

PU-160ETH. Ethernet and USB to HDMI Converter. Operation Manual PU-160ETH

Getting Started with SKPIC32

RC-SV Configuration Guide Revision 3

CDL-160ETH. Ethernet and USB to HDMI Converter. Operation Manual CDL-160ETH

The SC812/SC812L Chassis Series Installation Guide

Transcription:

QUICK START GUIDE TO THE JUMPSTART MICROBOX

JumpStart MicroBox Contents The JumpStart MicroBox has three hardware components: Nucleo board from ST. This board contains the Cortex M0 STM32F030 microcontroller plus the ST LINK/V2 debug pod. ImageCraft ACE (Arduino Compatible Education) Shield with expansion devices. Mini USB cable. And includes the following software: Non Commercial user license for JumpStarter C for Cortex M C compiler tools. The serial number of JumpStarter C for Cortex M is printed on the invoice. Be sure to make a note of this serial number; you must have it to request a license key from ImageCraft. A NOTE ON NAMES imagecraft.com is the company that makes this product. c4everyone.com is the site we have created specifically for this product.

Online Contents You will need to install the software before you connect the hardware. The install instructions are on the next page. You can download the online contents from http://c4everyone.com, click on DOWNLOAD, then click on MicroBox Software and Cortex M and MicroBox Documentation to download the following: 1. JumpStart C for Cortex M compiler tools demo 2. JumpStart MicroBox JumpStart Guide (this document) 3. JumpStart MicroBox Hardware descriptions this includes all the devices on the ACE (Arduino Compatible Education) Shield. 4. JumpStart API descriptions There are also device datasheets and other info available online. Note that this QuickStart Guide is 14 pages long. If you are reading an excerpt of the QuickStart Guide that we have included in the shipping package, please download the complete guide.

Downloading and Installing the Compiler and USB Driver To download the JumpStarter C for Cortex compiler, visit http://c4everyone.com and click on the Download menu, or download directly from this link: http://imagecraft.com/pub/iccv8cortex_demo.exe Once you download it, click and follow the instructions to install. BEFORE YOU PLUG IN THE HARDWARE BOARDS, you must install the USB driver from ST: 1. Open a command prompt window in administrator mode: locate the icon for command prompt, right click, and select Run as administrator. On Windows XP and Windows 7, you can find the program icon under Start >All Programs >Accessories. 2. Type the following (replacing c:\iccv8cortex\ with the root directory of your installation): cd c:\iccv8cortex\st LINK_USB_V2_Driver stlink_winusb_install.bat This installs ST s USB driver on your Windows PC. 3. You may close the command prompt after installation. We provide a snapshot of the ST driver. The latest driver is available directly from st.com: visit http://www.st.com/stm32nucleo and browse to the Software > Development Tool Software.

Connecting the Hardware 1 The ST Nucleo board has two sections. In the photo on the next page, the right hand section contains a Cortex M microcontroller and has the Arduino style connectors, plus ST s own Morpho connectors on the outer edges. The left hand section contains the ST LINK/V2 hardware debug pod and a virtual COM port to the PC through the mini USB connector. The mini USB connector also provides power to the board. It is highly recommended that you use a powered USB hub or a USB3 port on your PC to ensure that enough power is available to the kit, especially after the ACE Shield is attached. An unpowered USB2 port might also work, especially on a desktop PC where there is more power provided to the USB port. Do not attach the ACE Shield yet. Connect the USB cable between the ST Nucleo and the PC. 1 ST Nucleo boards are made by STM Electronics. See http://www.st.com/stm32nucleo.

When you connect the board, Windows should automatically set up the driver that you installed (as documented in the previous page). You are now ready to use the kit! When the USB cable is attached, the two red LEDs should light up.

What to Do If You Did Not Install the USB Driver First If you forgot to install the drivers first, or if the two red LEDs do not stay on constantly, please follow the Installation section of the ST Nucleo reference manual, which is available from http://www.st.com/stm32nucleo under Resources >User Manual.

SIDE NOTE: ST Nucleo Firmware Upgrade 2 While not strictly necessary, you might wish to install the latest firmware for the ST LINK/V2 on the ST Nucleo board. Unlike standalone ST LINK/V2 external pods, which can be firmware upgraded using ST s ST LINK Utility, you must use a standalone upgrade program. Again, visit http://www.st.com/stm32nucleo and browse to the Software > Development Tool Software, the same location where you would also find the latest USB drivers. 2 Most firmware upgrades tend to involve functions not of interest to JumpStart Education Kit users, e.g., mbed support, etc.

Attaching the ACE Shield The ST Nucleo boards have two rows of connectors. The inner ones with the plastic housing are compatible with Arduino expansion shields. You may attach any compatible Arduino shields using these connectors, including the ACE Shield. The number of pins are different on each row. To attach an expansion shield, carefully match up the pins and push the shield onto the ST Nucleo board. Be careful, since the pins on the expansion shields might be bent if they are not matched up correctly. NOTE: Do not attach or detach a shield from the ST Nucleo board when it is connected to power through the USB cable. Doing so may damage the boards.

CodeBlocks IDE CodeBlocks IDE (Integrated Development Environment) includes everything you need to develop and debug programs for the JumpStart Education Kit. It is the interface to the compiler and debugging tools. CodeBlocks IDE is described in the <JumpStart Guide to C> document.

Building the Blink-Nucleo-LED Example The provided examples show how to use the features of the microcontroller, and also the ACE Shield. By following the examples and tutorials, and then modifying the examples per the exercise suggestions, you will gain proficiency in programming Cortex M devices. In this Quick Start Guide, we will demonstrate the Blink Nucleo LED example. To get started: 1. If the ACE Shield is mated to the ST Nucleo board, disconnect the USB cable, and remove the ACE Shield from the ST Nucleo board. 2. Install the ST USB driver if you have not done so earlier.see page 3. 3. Connect the ST Nucleo board to the Windows PC using the USB cable. If the USB driver installed successfully, two red LEDs on the ST Nucleo board should light up. To open the examples: 1. Run the JumpStarter C for Cortex M CodeBlocks IDE Start >ImageCraft Development Tools >JumpStarter C for Cortex. 2. Click File >Open, and browse to c:\iccv8cortex\examples.jumpstartmicrobox\stm32f030\. 3. Double click on default.workspace to open the example workspace. 4. On the left hand side, you see the workspace/project pane. Build the Blink Nucleo LED example: 1. On the left hand pane, if the Blink Nucleo LED name is not in bold, double click on it to make it the active project. 2. Click Build >Rebuild (keyboard shortcut Ctrl F11 ) to completely rebuild the project. As you program, you will usually click Build >Build ( Ctrl F9 ) to build your project. While doing a Rebuild takes longer, it ensures that you start from a clean slate. 3. After a few seconds, the Build should finish successfully. In the Build Log tab at the bottom status window, you should see (in blue lettering): Build successful:

Downloading the Blink-Nucleo-LED Example To run a program on an embedded board such as the ST Nucleo, you need to burn the output image into the microcontroller s flash. This is sometimes known as burning a program or downloading the program. The IDE includes a built in downloader: download the example program by: 1. Run ImageCraft >Program device with project output. You should see a progress bar showing the downloading progression. 2. When it is done, you should see the LED light up and blink. 3. You can look at the source files for the project by clicking on the project name in the project pane, and then click on the + icon. Double clicking a source file name, for example, main.c, opens the file in the editor. 4. You can change the LED blink rate by changing the code in the loop in main.c. Even if you are not yet proficient in C, you can try different numbers to the Delay??? function calls and see how that affects the program. Once you make the changes, click Build >Build, and then download the file again..

If the Program Download Fails Check the following possibilities. 1. Are the two red LEDs lit up constantly? If they do not light up at all, check the USB cable to make sure that it is connected. 2. If one or both red LEDs are blinking, then check to see if the USB driver is installed correctly. 3. In the CodeBlocks IDE, click Project >Build Options and switch to the Debug/Download Interface tab. Make sure that SWD is selected. 4. Switch to the Target tab. Make sure that the device is set up as ST and STM32F030R8. 5. Click OK. Rebuild the project. 6. If it still fails, please email support@imagecraft.com with a description of your issues.

The Next Steps You Are Done! You have used our IDE to build your first program, then downloaded and run your program on the microcontroller. Congratulations! So what s next? Run more Examples! You can click on the files that are part of the example project. If you double click on one of the files, e.g. main.c, it will be opened in the editor window of the CodeBlocks IDE. You can modify it and type Ctrl F9 to build the project, then use ImageCraft >Program device with project output to download the output to the board. Learn C! The JumpStart Guide To C (otherwise known as The Big Book of C ) is a complete introduction to the C programming language, with an emphasis on embedded programming. The book is available as an ebook (which is included with the JumpStart MicroBox package) and optionally in printed form. See our website http://c4everyone.com for details. Explore the JumpStart API. The JumpStart API is the easiest way to program the Cortex M devices without limiting the power of C. Pages of code dealing with low level peripheral initialization and setup are replaced by a few lines of API calls, allowing you to concentrate on solving problems with embedded systems rather than of the embedded systems. The JumpStart API is documented in the JumpStart API manual.