100% found this document useful (1 vote)
60 views

Programming With STM32: Getting Started With the Nucleo Board and C/C++ Donald Norris - Download the ebook today and own the complete version

The document promotes various eBooks related to programming and development with STM32 microcontrollers, Arduino, and Raspberry Pi, available for download at ebookmass.com. It includes a detailed overview of the contents of the book 'Programming With STM32' by Donald Norris, which serves as a guide for beginners in microcontroller development. Additionally, it provides information about the author's background and the importance of hands-on projects for understanding the material.

Uploaded by

altaiikudo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
60 views

Programming With STM32: Getting Started With the Nucleo Board and C/C++ Donald Norris - Download the ebook today and own the complete version

The document promotes various eBooks related to programming and development with STM32 microcontrollers, Arduino, and Raspberry Pi, available for download at ebookmass.com. It includes a detailed overview of the contents of the book 'Programming With STM32' by Donald Norris, which serves as a guide for beginners in microcontroller development. Additionally, it provides information about the author's background and the importance of hands-on projects for understanding the material.

Uploaded by

altaiikudo
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 59

Visit ebookmass.

com to download the full version and


explore more ebook or textbook

Programming With STM32: Getting Started With the


Nucleo Board and C/C++ Donald Norris

_____ Click the link below to download _____


https://ebookmass.com/product/programming-with-
stm32-getting-started-with-the-nucleo-board-and-c-c-donald-
norris/

Explore and download more ebook or textbook at ebookmass.com


Here are some recommended products that we believe you will be
interested in. You can click the link to download.

Programming the Intel Galileo: Getting Started with the


Arduino -Compatible Development Board Christopher Rush

https://ebookmass.com/product/programming-the-intel-galileo-getting-
started-with-the-arduino-compatible-development-board-christopher-
rush/

Programming Arduino: Getting Started with Sketches (Tab)


Monk

https://ebookmass.com/product/programming-arduino-getting-started-
with-sketches-tab-monk/

Programming Arduino: Getting Started with Sketches, Third


Edition Simon Monk

https://ebookmass.com/product/programming-arduino-getting-started-
with-sketches-third-edition-simon-monk/

Programming Arduino: Getting Started with Sketches 3rd


Edition Simon Monk

https://ebookmass.com/product/programming-arduino-getting-started-
with-sketches-3rd-edition-simon-monk/
Programming the Photon: Getting Started with the Internet
of Things Rush Christopher.

https://ebookmass.com/product/programming-the-photon-getting-started-
with-the-internet-of-things-rush-christopher/

Programming the Raspberry Pi, Third Edition: Getting


Started with Python Simon Monk

https://ebookmass.com/product/programming-the-raspberry-pi-third-
edition-getting-started-with-python-simon-monk/

Programming the Photon: Getting Started with the Internet


of Things (Tab) Christopher Rush

https://ebookmass.com/product/programming-the-photon-getting-started-
with-the-internet-of-things-tab-christopher-rush/

Getting Started with SQL and Databases: Managing and


Manipulating Data with SQL Mark Simon

https://ebookmass.com/product/getting-started-with-sql-and-databases-
managing-and-manipulating-data-with-sql-mark-simon/

Getting Started with SQL and Databases: Managing and


Manipulating Data with SQL 1st Edition Mark Simon

https://ebookmass.com/product/getting-started-with-sql-and-databases-
managing-and-manipulating-data-with-sql-1st-edition-mark-simon/
Copyright © 2018 by McGraw-Hill Education. All rights reserved. Except as
permitted under the United States Copyright Act of 1976, no part of this
publication may be reproduced or distributed in any form or by any means, or
stored in a database or retrieval system, without the prior written permission of
the publisher.

ISBN: 978-1-26-003132-4
MHID: 1-26-003132-2

The material in this eBook also appears in the print version of this title: ISBN:
978-1-26-003131-7, MHID: 1-26-003131-4.

eBook conversion by codeMantra


Version 1.0

All trademarks are trademarks of their respective owners. Rather than put a
trademark symbol after every occurrence of a trademarked name, we use names
in an editorial fashion only, and to the benefit of the trademark owner, with no
intention of infringement of the trademark. Where such designations appear in
this book, they have been printed with initial caps.

McGraw-Hill Education eBooks are available at special quantity discounts to use


as premiums and sales promotions or for use in corporate training programs. To
contact a representative, please visit the Contact Us page at
www.mhprofessional.com.

Information contained in this work has been obtained by McGraw-Hill


Education from sources believed to be reliable. However, neither McGraw-Hill
Education nor its authors guarantee the accuracy or completeness of any
information published herein, and neither McGraw-Hill Education nor its
authors shall be responsible for any errors, omissions, or damages arising out of
use of this information. This work is published with the understanding that
McGraw-Hill Education and its authors are supplying information but are not
attempting to render engineering or other professional services. If such services
are required, the assistance of an appropriate professional should be sought.
TERMS OF USE

This is a copyrighted work and McGraw-Hill Education and its licensors reserve
all rights in and to the work. Use of this work is subject to these terms. Except as
permitted under the Copyright Act of 1976 and the right to store and retrieve one
copy of the work, you may not decompile, disassemble, reverse engineer,
reproduce, modify, create derivative works based upon, transmit, distribute,
disseminate, sell, publish or sublicense the work or any part of it without
McGraw-Hill Education’s prior consent. You may use the work for your own
noncommercial and personal use; any other use of the work is strictly prohibited.
Your right to use the work may be terminated if you fail to comply with these
terms.

THE WORK IS PROVIDED “AS IS.” McGRAW-HILL EDUCATION AND


ITS LICENSORS MAKE NO GUARANTEES OR WARRANTIES AS TO
THE ACCURACY, ADEQUACY OR COMPLETENESS OF OR RESULTS
TO BE OBTAINED FROM USING THE WORK, INCLUDING ANY
INFORMATION THAT CAN BE ACCESSED THROUGH THE WORK VIA
HYPERLINK OR OTHERWISE, AND EXPRESSLY DISCLAIM ANY
WARRANTY, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED
TO IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR
A PARTICULAR PURPOSE. McGraw-Hill Education and its licensors do not
warrant or guarantee that the functions contained in the work will meet your
requirements or that its operation will be uninterrupted or error free. Neither
McGraw-Hill Education nor its licensors shall be liable to you or anyone else for
any inaccuracy, error or omission, regardless of cause, in the work or for any
damages resulting therefrom. McGraw-Hill Education has no responsibility for
the content of any information accessed through the work. Under no
circumstances shall McGraw-Hill Education and/or its licensors be liable for any
indirect, incidental, special, punitive, consequential or similar damages that
result from the use of or inability to use the work, even if any of them has been
advised of the possibility of such damages. This limitation of liability shall apply
to any claim or cause whatsoever whether such claim or cause arises in contract,
tort or otherwise.
About the Author

Donald J. Norris has a degree in electrical engineering and an MBA


specializing in production management. He is currently an adjunct professor
teaching an Embedded Systems course in the College of Engineering,
Technology and Aeronautics, part of the Southern New Hampshire University
(SNHU). He has also taught many different undergrad and grad courses mainly
in the computer science and technology areas at SNHU and other regional
schools for the past 33 years. Don created and taught the initial robotics courses
at SNHU both on-campus and online.
Don retired from civilian government service with the U.S. Navy, where he
specialized in underwater acoustics related to nuclear submarines and associated
advanced digital signal processing systems. Since then, he has spent more than
23 years as a professional software developer using the C, C#, C++, Python,
Micro Python, Node.JS, JavaScript, PHP, and Java languages in varied
development projects. He also has been a certified IT security consultant for the
last six years.
He has written and had published seven books including three involving the
Raspberry Pi, one on how to build and fly your own drone, a book on the Intel
Edison, one on the Internet of Things, and one on Micro Python.
Don started a consultancy, Norris Embedded Software Solutions (dba NESS
LLC), which specializes in developing application solutions using
microcontrollers, sensors, and actuators. The business has also recently
completed several robotics projects for clients.
Don likes to think of himself as a perpetual hobbyist and geek and is
constantly trying out new technologies and out-of-box experiments. He is a
licensed private pilot, photography buff, amateur extra class operator, avid
runner, and most importantly, a proud grandfather of three great kids,
Evangeline, Hudson, and Holton.
This book is dedicated to Dr. Peter Kachavos, my son-in-law, who is a
remarkably intelligent man with an equally remarkable long medical career in
service to his patients and the community. Until recently, Peter was a practicing
internist with an office in Manchester, NH. He recently retired after 25 years
from that practice and soon will be pursuing other interesting opportunities in
the medical field.

Peter enjoys cooking, fine wine, traveling, and spending quality time with his
family. His wife is my daughter, Shauna, and their child is my two-year-old
granddaughter, Evangeline.

Peter and I have spent many hours discussing many topics ranging from ancient
Greek artifacts to the latest technologies impacting modern society. I always
look forward to those interesting and challenging discussions.
CONTENTS AT A GLANCE

1 Introduction to the STMicroelectronics Line of Microcontrollers

2 STM MCU Software

3 STM32CubeMX Application

4 STM Project Development

5 General-Purpose Input Output (GPIO) and the STM Hardware Abstraction


Layer (HAL)

6 Interrupts

7 Timers

8 Bit Serial Communications

9 Analog-to-Digital Conversion

10 Pulse Width Modulation (PWM)

11 Direct Memory Access (DMA) and the Digital-to-Analog Converter (DAC)

Index
CONTENTS

Preface

1 Introduction to the STMicroelectronics Line of Microcontrollers


Microcomputer vs Microcontroller
STM Nucleo Boards
Principal MCU Components
Bit Serial Ports
Nucleo-64 Board Options
Summary

2 STM MCU Software


Open-Source versus Commercial Proprietary Software
Bare Metal Development
Brief History of MCU
The MCU Toolchain
Configuring a STM32 Toolchain
Summary

3 STM32CubeMX Application
Pinout Tab
MCU Alternative Functions
Integrated Peripheral (IP) Tree Pane
Creating an Example Project using CubeMX
The main.c Code Listing
ARM Cortex Microcontroller Software Interface Standard (CMSIS)
CubeMX-Generated C Code
Compiling and Downloading the Project
Downloading the Hex Code
Summary

4 STM Project Development


Hello World Project
Creating the Hello Nucleo Project
Adding Functionality to the Program
Visit https://ebookmass.com today to explore
a vast collection of ebooks across various
genres, available in popular formats like
PDF, EPUB, and MOBI, fully compatible with
all devices. Enjoy a seamless reading
experience and effortlessly download high-
quality materials in just a few simple steps.
Plus, don’t miss out on exciting offers that
let you access a wealth of knowledge at the
best prices!
Compiling and Executing the Modified Program
Simple Modification for the main.c Function
Complex Modification for the main.c File
Summary

5 General-Purpose Input Output (GPIO) and the STM Hardware


Abstraction Layer (HAL)
Memory-Mapped Peripherals
Core Memory Addresses
Peripheral Memory Addresses
HAL_GPIO Module
GPIO Pin Hardware
LED Test Demonstration
Enabling Multiple Outputs
Push-Button Test Demonstration
Clock Speed Demonstration
Setting the Pin Clock Speeds
Summary

6 Interrupts
Interrupts
NVIC Specifications
Interrupt Process
External Interrupts
Interrupt Demonstration
Summary

7 Timers
STM Timer Peripherals
STM Timer Configuration
Update Event Calculation
Polled or Non-interrupt Blink LED Timer Demonstration
Test Run
Interrupt-Driven Blink LED Timer Demonstration
Test Run
Multi-rate Interrupt-Driven Blink LED Timer Demonstration
Test Run
Modification to the Multi-rate Program
Test Run
Summary

8 Bit Serial Communications


UARTs and USARTs
USART Configuration
Windows Terminal Program
Enabling USART2
USART Transmit Demonstration Program
Test Run
USART Receive Demonstration Program
Test Run
Summary

9 Analog-to-Digital Conversion
ADC Functions
ADC Module with HAL
ADC Conversion Modes
Channels, Groups, and Ranks
ADC Demonstration
ADC Demonstration Software
Summary

10 Pulse Width Modulation (PWM)


General-Purpose Timer PWM Signal Generation
Timer Hardware Architecture
PWM Signals with HAL
Enabling the PWM Function
PWM Demonstration Software
Demonstration One
Demonstration Two
Demonstration Three
Demonstration Four
Adding Functional Test Code
Test Results
Summary

11 Direct Memory Access (DMA) and the Digital-to-Analog


Converter (DAC)
DMA
Basic Data Transfer Concepts
DMA Controller Details
Using HAL with DMA
Demonstration One
DAC Peripheral
DAC Principles
HAL Software for the DAC
Demonstration Two
Demonstration Three
Summary
PREFACE

This book will serve both as an introduction to the STMicroelectronics line


of STM32 microcontrollers (MCUs) and also as an easy-to-follow Getting
Started Guide for readers interested in developing with a STM MCU. I will be
using one of the very inexpensive STM Nucleo-64 development boards for all of
the book projects, which should make it inviting for most readers to become
involved with the hardware. In fact, doing the book demonstration projects is
really the only way you can really be assured that you have gained a good
comprehension of the material in this book.
I will state from the beginning that it is simply not possible to gain a total
understanding of how a STM MCU functions by only reading this book. The
manufacturer datasheets that describe individual STM MCUs are often over
1,000 pages in length, which describes the enormity of the task of trying to
master the voluminous amount of information that describes these devices.
Instead, the book contents focus on a few of the core components that make up a
STM MCU and how to program those components to accomplish fairly simple
tasks.
Some readers will have trepidation about starting to develop with what are
typically considered professional grade MCUs. I wish to allay that fear and state
that I have found that developing applications with at least one representative
sample STM MCU to be remarkably easy and straightforward. In fact, I will
state that in some aspects it is easier to develop with a STM MCU than with an
Arduino or Raspberry Pi, which many readers will already be quite familiar and
probably have already created projects with those boards.
Often, the single biggest issue with developing with MCUs is setting up a
stable development toolchain. I will describe how to do this in a simple to
follow, step-by-step process, which if you rigorously follow will guarantee that
you will be able to quickly and without much trouble generate working binary
programs. These programs will then be quickly downloaded into the
development board for execution.
1
Introduction to the
STMicroelectronics Line of
Microcontrollers

This chapter provides you with an introduction to the very comprehensive


STMicroelectronics (STM) line of microcontrollers (MCUs). I will be focusing
only on several specific controllers throughout the book, but that should provide
you with an adequate representation of the functions and capabilities of the full
line of STM MCUs.

Microcomputer vs Microcontroller
I believe at the start of this book that it must make very clear the differences
between a microcomputer and a MCU. The reason for this distinction is very
simple: STM is a company that designs and manufacturers MCUs, not
microcomputers. I think my following definition of a MCU is as good as any
that I have read:

A microcontroller is an integrated system containing a minimum of a


microprocessor, dynamic and non-volatile memory, and a set of peripherals
consistent with all design requirements.

Right away, you can see from the definition that a MCU contains a
microprocessor which is sometimes referred to as a microcomputer. There also
must be both dynamic or volatile memory as well as nonvolatile or static
memory, where the latter holds any programs or scripts necessary to run the
microprocessor. Finally, there are always peripherals added to the design that
allow for the input and output of digital signals. There are often additional
peripherals such as timers, interrupt controllers, serial data ports, and a variety of
others depending upon what requirements the MCU must meet.
I discuss all the principal MCU components below to provide you with a solid
background to understand how a MCU functions. Most of the following
explanations are based on the voluminous amount of information provided by
STM on their microcontrollers. The reason behind STM providing such a large
amount of information is to allow engineers/software developers access to all the
data they need in order to incorporate STM products into original equipment
manufacturer (OEM) designs and products. This approach is fundamentally
different than the approach taken by suppliers of maker style boards and
products, such as the Arduino, Raspberry Pi, BeagleBone, and so forth. In the
case of the latter, board documentation is geared toward how to use a board in a
project. The STM data is extremely specific describing items such as the
nanosecond timing pulses between memory chips and processor buses. This is
exactly the reason why some of the STM MCU datasheets are over 1,100 pages
in length. Fortunately, the datasheet for the primary STM MCU I will be using in
this book is only 138 pages. I will provide later in this chapter the website where
you can download the datasheet.

STM Nucleo Boards


MCU manufacturers such as STM have long recognized that they just couldn’t
provide only chips to potential customers as most would have no way to
effectively evaluate them for potential use in their products. This is the reason
why the manufacturers offer relatively low-cost evaluation and demonstration
boards, which have representative MCUs all setup and ready to run. STM offers
a series of such boards that it calls the Nucleo line. I will be using a fairly simple
Nucleo-64 board for the book projects. STM has actually embraced the maker
community by marketing the Nucleo lineup as boards suitable for maker project
use. These boards are very inexpensive, usually about US$10–15, which leads
me to believe that STM is striving to gain a foothold in the maker community by
actually subsidizing the manufacturing costs for the boards. In any case, this is a
boon for makers and hobbyists and one that we should embrace.
Figure 1-1 shows the three basic Nucleo boards available at the time of
writing this book.
Figure 1-1 Three basic Nucleo boards.

The boards are named Nucleo-32, Nucleo-64, and Nucleo-144 from left to
right, respectively, as shown in Figure 1-1. The number in each name represents
the number of pins present in the MCU chip. Nucleo-64 is the principal board
used in this book.

Principal MCU Components


The first component to consider is the processor or microcomputer.

Processor
The processor used in Nucleo-32 and Nucleo-64 boards is the ARM Cortex M-4
32-bit processor. It too has a lengthy 278-page user guide available from
infocenter.arm.com/help/topic/com.arm.doc.dui0553a/DUI0553A_cortex_m4_dgug.pdf
The actual processor circuitry is part of the STM MCU because STM has
purchased intellectual property (IP) rights from the ARM Corporation in order to
integrate it into its chips. However, for all practical purposes, the ARM
processor is programmed using the tools and techniques promulgated by the
ARM Corporation to support its processor IP. This distinction is of no
consequence in our case because the software tools to be used for the book
projects have all been carefully crafted and tested to work seamlessly together by
STM. Any license issues have already been resolved without bothering the end
user.
The following list contains some of the important specifications for the
Cortex M-4 processor for interested readers:
• Full-featured ARMv7-M instruction set, optimized for embedded
applications
• Floating point unit (FPU)
• Low-power 32-bit processor
• Memory protection unit (MPU)
• Nested vector interrupt controller (NVIC)
• Trace, breakpoint, and JTAG capabilities
• Advanced Microcontroller Bus Architecture (AMBA)
• Advanced High-Performance Bus (AHB5, AHB-Lite)

There are many more features to the Cortex M-4 processor as the 278-page
user guide would suggest. I would also recommend Joseph Yiu’s book, The
Definitive Guide to ARM® Cortex®-M3 and Cortex®-M4 Processors, Third
Edition, to readers who really want to delve into this processor to a great depth.
Figure 1-2 is a block diagram of the Cortex M-4 processor showing all of the
listed items and more.
Figure 1-2 ARM Cortex M-4 block diagram.

STM is responsible for the design and implementation of all components


outside of the box shown in Figure 1-2. Of course, the STM design must be
compliant with the ARM processor specifications. One item missing in the
figure is a clock input. The reason for it being missing is that the block diagram
is from the ARM Cortex M-4 user guide, while the clock circuitry is the
responsibility of STM, the MCU designer. STM has set the base processor clock
frequency at 72 MHz, which appears to be very low in today’s world of multi-
gigahertz clock rates for most PCs. In fact, the latest Raspberry Pi model 3 has a
1.2-GHz clock rate. But first appearances are deceiving in this case. The Cortex
M-4 processor uses an extremely efficient instruction set, with three-stage
pipelining, which maximizes the performance of the underlying reduced
instruction set computing (RISC) that the processor employs. In addition, many
common microcontroller tasks, which I discuss below, have been implemented
in a combination of hardware and firmware, further improving the overall
performance, while keeping the power consumption as low as possible. Power
consumption and performance are two key microcontroller attributes that system
designers always keep in mind. Keeping the clock rate as low as possible will
always minimize the power consumed as well as increase the longevity of the
chip.

Memory
The Cortex M-4 processor uses a Harvard architecture. This means that program
instructions are stored and retrieved from a memory separate and distinct from
the memory that holds data. The other common computer architecture is named
von Neumann in which instructions and data share a common memory. MCUs
have very limited memory and take advantage of the speed-up available by using
concurrent instruction and data access. Additionally, having separate memories
means that the processor is no longer constrained to the same sized data widths.
This means instructions can be fetched and executed in 4-byte chunks or 32 bits,
while data can be simultaneously handled with 1-byte or 8-bit chunks, thus
speeding up the overall throughput to and from the processor and memory.
Another advantage the Harvard architecture has over the von Neumann form is
that instruction prefetches can now be done in parallel with regular instruction
executions, thus further speeding up the overall system performance. Finally,
concurrent instruction and data access eliminates the need for data caches, which
are typically used in von Neumann machines. This further reduces system
complexity and power consumption.
The Nucleo-64 board used in this book is the STM MCU, model number
STM32F302R8. This chip has a 64-KB flash memory and a 16-KB static
random access memory (SRAM). Yes, those are kilobytes, not mega- or
gigabytes. You cannot expect to create any graphical programs that run in this
limited memory space. Microcontroller programs are truly a throwback to the
earliest days of computing where memory was very limited and developers had
to use every available byte to store and execute programs. Having mentioned the
scarce memory resources, you will be able to use a variety of modern-day
graphic-based programs to develop the MCU program, but they will run on a
PC. The compiled and optimized binary code will be downloaded into the MCU
from the PC.
It turns out that 64 KB is plenty of space to run fairly large programs because
the C/C++ cross-compiler used for this book’s projects produces optimize code,
eliminating all but the essential instructions needed for the program. The 16-KB
SRAM size is more than adequate for the dynamic memory requirements to
support a maximum 64-KB sized program. The actual memory is integrated onto
Visit https://ebookmass.com today to explore
a vast collection of ebooks across various
genres, available in popular formats like
PDF, EPUB, and MOBI, fully compatible with
all devices. Enjoy a seamless reading
experience and effortlessly download high-
quality materials in just a few simple steps.
Plus, don’t miss out on exciting offers that
let you access a wealth of knowledge at the
best prices!
Other documents randomly have
different content
XXXIV. The Same
The Opinion of Octavius
XXXV.
Fanks

THE SEALED MESSAGE


>
By Fergus Hume

CONTENTS

I. A QUEER FISH THE UNEXPECTED


XIV.
II. THE MESSAGE HAPPENS
III. FAIRYLAND XV. A TRAGEDY
IV. THE FAIRY PRINCESS XVI. THE DWARF "SCHAIBAR"
V. GOLDEN HOURS "AS IN A LOOKING-
XVII.
THE PAST OF ADONIS GLASS"
VI. XVIII. THE FIRST MARRIAGE
GEARY
VII. LOVE XIX. SIGNOR VENOSTA
VIII. LEGAL ADVICE XX. A DARK MYSTERY
IX. MRS. CROSBIE XXI. MAJOR REBB AT BAY
X. THE AMULET XXII. A CONFESSION
XI. THE OTHER GIRL XXIII. TOD'S DISCOVERY
A WONDERFUL XXIV. THE SECOND MARRIAGE
XII.
DISCOVERY XXV. GEARY'S ACCUSATION
XIII. THE TABLES TURNED XXVI. THE GODS ARE JUST
THE SPIDER.
By Fergus Hume

CONTENTS

I. A POSSIBLE PARTNERSHIP A TEMPTING


XII.
A CONFIDENTIAL OFFER
II.
COMMUNICATION XIII. THE BAZAAR
III. HOW THE TRAP WAS SET XIV. RUN TO EARTH
WHO WAS CAUGHT IN THE XV. FACE TO FACE
IV.
TRAP XVI. THE SEARCH
V. AFTER THE TRAGEDY XVII. IN THE TRAIN
VI. WHAT MR. IRELAND KNEW XVIII. AT BOWDERSTYKE
VII. AFTER THE TRAGEDY XIX. A BOLD OFFER
VIII. THE GRIEF OF IDA XX. GERBY HALL
IX. WITCHCRAFT XXI. JUSTICE
X. WITCHCRAFT THE END OF IT
XXII.
XI. THE NEEDLE IN THE HAYSTACK ALL

THE LOST PARCHMENT


By Fergus Hume
CONTENTS

CHAP XI. Carringtons Advice


I. Schoolfellows XII. On the Track
II. The Vicar XIII. Confession
III. Lovers XIV. A Clue
IV. The Cottage XV. Circumstantial Evidence
V. A Revelation XVI. A New Witness
VI. Counsels Opinion XVII. Difficulties
VII. A Nine Days Wonder XVIII. Setting a Trap
VIII. Mallien Speaks XIX. Resurgam
IX. A Serious Position XX. A Weird Story
X. Dorinda XXI. A Final Surprise

THE LADY FROM NOWHERE


By Fergus Hume
CONTENTS

XIV. A Surprising Discovery


The Tragedy of the Strange
I. The Revelation of Mr.
Room XV.
Prain
II. The Death-card
XVI. Miss Wedderburn
III. A Woman without a Past
XVII. An Explanation
IV. The Five Landladies
XVIII. What Mrs. Presk found
V. A Friend in Need
XIX. The Unexpected occurs
VI. The Crime of Kirkstone Hall
XX. A Needle in a Haystack
VII. Comments on the Crime
XXI. Found at Last
VIII. Mr. Prain, Solicitor
XXII. A Secret Hoard
IX. Kirkstone Hall
XXIII. The Convict's Defence
X. Strange Behaviour
XXIV. Proof Positive
XI. The Mad Gardener
How the Deed was
XII. The Diamond Necklace XXV.
done
XIII. Arthur Ferris
XXVI. The End of it All

THE MILLIONAIRE MYSTERY


By Fergus Hume
CONTENTS

A MIDNIGHT A STRANGE STORY--


I. XIII.
SURPRISE continued
THE HUT ON THE THE ENMITY OF CAPTAIN
II. XIV.
HEATH LESTRANGE
III. AN ELEGANT EPISTLE XV. TROUBLE
IV. ANOTHER SURPRISE XVI. ALAN'S DEFENCE
A NINE DAYS' XVII. JOE'S EVIDENCE
V.
WONDER XVIII. A PORTION OF THE TRUTH
VI. THE MISSING KEY XIX. A REAPPEARANCE
VII. IN DIXON'S RENTS THE AMAZEMENT OF ALAN
XX.
AN IMPORTANT THOROLD
VIII.
INTERVIEW XXI. THE STORY OF THE PAST
IX. INVESTIGATION THE BEGINNING OF THE
XXII.
ANOTHER END
X.
DISAPPEARANCE XXIII. ONE PART OF THE TRUTH
XI. THE STRANGER THE OTHER PART OF THE
XXIV.
XII. A STRANGE STORY TRUTH
THE FEVER OF LIFE
CONTENTS

I. PINCHLER'S DOCKYARD. THE OUTER


XIX.
II. WANTED, A CHAPERON. DARKNESS.
THE WOMAN WITH THE A MYSTERIOUS
III. XX.
FIERCE EYES. AFFAIR.
WHAT MRS. BELSWIN HAD ARCHIE MAKES HIS
IV. XXI.
TO SAY. PLANS.
V. THE PRODIGAL SON. MRS. B. CONSIDERS
XXII.
VI. THE DRAGON. WAYS & MEANS.
THE GARDEN OF BETTER LEAVE WELL
VII. XXIII.
HESPERIDES. ALONE.
MRS. BELSWIN'S A MEMORY OF THE
VIII. XXIV.
CORRESPONDENCE. PAST.
IX. A RUSTIC APOLLO. SILAS PLAYS HIS
XXV.
LITTLE GAME.
A BOUDOIR
X. XXVI. VAE VICTIS.
CONSULTATION.
XI. THE ART OF DINING. XXVII. THE CASE.
XII. ARS AMORIS. WHAT MRS. BELK
XXVIII.
FOUND.
XIII. EXIT MRS. BELSWIN.
XXIX. DANGER.
SIGNOR FERRARI
XIV. XXX. CLEVER DEFENCE.
DECLINES.
THE RETURN OF THE A TRAGIC
XV. XXXI.
WANDERER. SITUATION.
FOREWARNED IS NEWS FROM
XVI. XXXII.
FOREARMED. AUSTRALIA.
XVII. BEFORE THE STORM. MR. DOMBRAIN
XXXIII.
SHOWS HIS TEETH.
XVIII. FACE TO FACE.
XXXIV. IN OPEN COURT.
XXXV. EXPIATION.
A MEMORY OF THE
XXXVI.
PAST.

A TRAITOR IN LONDON
By Fergus Hume
CONTENTS

CUPID IN LEADING
I.
STRINGS.
A SHOT IN THE
II. THE GIRL HE LEFT
DARKNESS. XV.
THE NAME OF THE BEHIND HIM.
III. THE UNEXPECTED
VICTIM. XVI.
A STRANGE PIECE OF HAPPENS.
IV. XVII. CHECKMATED.
EVIDENCE.
VAN ZWIETEN SHOWS XVIII. EXIT VAN ZWIETEN.
V.
HIS TEETH. XIX. A TERRIBLE LETTER.
WHAT MR. SCARSE XX. ON THE TRACK.
VI.
ADMITTED. XXI. IN SOUTH AFRICA.
VII. AUNT JUDY. XXII. AT THE FRONT.
VIII. BAD NEWS. XXIII. A DUTCH LOCHINVAR.
MRS. ST. LEGER IS AN UNEXPECTED
IX. XXIV.
DISCREET. MEETING.
X. THE MASS MEETING. XXV. BESIEGED.
A STARTLING XXVI. IN CAPTIVITY.
XI.
DISCOVERY. XXVII. NEMESIS.
XII. A STORY OF THE PAST. XXVIII. CALM AFTER STORM.
XIII. THE END OF THE STORY.
WHAT VAN ZWIETEN
XIV.
KNEW.
IN QUEER STREET
By Fergus Hume
CONTENTS

CHAPTER
XI. MACBETH'S BANQUET
THE BOARDING-
I. XII. CUPID'S GARDEN
HOUSE
XIII. DANGER
OLD SCHOOL-
II. XIV. AT BAY
FELLOWS
III. MAN PROPOSES XV. A FRIEND IN NEED
IV. THE ADVERTISEMENT XVI. EXPLANATIONS
V. THE NEXT STEP XVII. BLACKMAIL
VI. SEEKING TROUBLE XVIII. HENCH'S DIPLOMACY
AN AMAZING XIX. A DENIAL
VII. REAPING THE
DISCOVERY XX.
VIII. FAMILY HISTORY WHIRLWIND
IX. GWEN THE SUNSHINE OR
XXI.
LIFE
X. VANE'S AUNT

THE AMETHYST CROSS


By Fergus Hume
CONTENTS

THE BEGINNING OF A
I. XIV. THE FAMILY LAWYER
MYSTERY
XV. A STARTLING LETTER
THE UNEXPECTED
II. XVI. RECOGNITION
HAPPENS
III. ANOTHER MYSTERY XVII. DISGRACE
IV. A FAMILY HISTORY LADY CHARVINGTON'S
XVIII.
ACCUSATIONS
MRS. WALKER'S
V. XIX. MR. HALE EXPLAINS
OPINION
PURPLE AND FINE JOURNEYS END IN LOVERS'
VI. XX.
LINEN MEETING
VII. AFTER MIDNIGHT XXI. TWO INTERVIEWS
VIII. UNDER A CLOUD XXII. THE PLOT
IX. TWO GIRLS XXIII. ONE PART OF THE TRUTH
X. THE DEUS EX MACHINA ANOTHER PART OF THE
XXIV.
TRUTH
XI. THE SEAMY SIDE
XXV. REVENGE
XII. A COUNTERPLOT
XXVI. THE END OF IT ALL
XIII. MRS. WALKER'S VISIT
THE PURPLE FERN
By Fergus Hume
CONTENTS

I. THE MAN IN GREY XIV. PRUDENCE


II. AN ADVENTURE XV. THE VICAR'S TROUBLES
III. TWINS A STRANGE
XVI.
IV. A MYSTERY COMMUNICATION
V. THE VICAR XVII. THE RECALL OF DR. JERCE
VI. A DISCOVERY XVIII. THE UNEXPECTED HAPPENS
VII. DR. JERCE EXPLAINS XIX. ZARA, THE BUTTERFLY
WHAT HAPPENED XX. PROOF POSITIVE
VIII.
NEXT XXI. ACKWORTH'S NEWS
IX. THE INQUEST XXII. THE ANONYMOUS LETTER
X. A CHANCE WHISPER XXIII. AN IMPORTANT DISCOVERY
XI. THE DOG XXIV. FERDINAND BAIRD AT BAY
XII. BUSINESS AFFAIRS XXV. THE WHOLE TRUTH
XIII. THE NEW EPOCH XXVI. NEMESIS

THE PINK SHOP


By Fergus Hume
CONTENTS

I. IN THE EVENING. AN AMAZING


XIV.
II. IN THE MORNING. DISCOVERY.
III. THE LOST BAG. XV. RALPH'S SUSPICION.
IV. THE INQUEST. XVI. A DILEMMA.
SIR JOSEPH'S WHAT AUDREY
V. XVII.
INTENTIONS. OVERHEARD.
AUDREY'S KNIGHT XVIII. A LEGAL OPINION.
VI.
ERRANT. MATRIMONIAL
XIX.
VII. THE LADY DETECTIVE. ARRANGEMENTS.
A MYSTERIOUS XX. A MUSIC HALL ARTIST.
VIII.
COMMUNICATION. XXI. THE MARRIAGE.
THE QUESTION OF THE XXII. THE PHOTOGRAPH.
IX.
CLOCK. ONE PART OF THE
XXIII.
X. A SURPRISE. TRUTH.
XI. A STORY OF THE PAST. ANOTHER PART OF THE
XXIV.
THE UNKNOWN TRUTH.
XII.
CUSTOMER. XXV. REVENGE.
XIII. A BLIND CLUE. XXVI. FINAL EXPLANATIONS.
THE INDIAN BANGLE
By Fergus Hume
CONTENTS

PROLOGUE
THE FIRST SCENE: AT CASTERWELL.
CHAPTER.
I. DAVID AND JONATHAN.
II. THE SEALED LETTER.
III. AT THE MANOR HOUSE.
IV. A QUEER COINCIDENCE.
V. THE SUSPICIONS OF LAURENCE MALLOW.
VI. THE REVEREND MANNERS BROCK.
VII. MARGERY.
VIII. JEPHTHAH'S DAUGHTER.
IX. "TWENTY-ONE."
X. A PRE-NUPTIAL CONTRACT.
XI. THE NEW MAID.
XII. "WEDDING-BELLS."
THE SECOND SCENE: AT SANDBEACH.
I. "THE HAPPY PAIR."
II. "THE BROOCH."
III. "CLARA'S LETTER."
IV. "MORE MYSTERY."
THE THIRD SCENE IN LONDON.
I. "MYSTERIOUS MRS. ARNE."
II. "MRS. PURCELL."
III. "A PRIVATE INQUIRY AGENT."
IV. "ONE OF US."
V. "MADAME DEATH-IN-LIFE."
VI. "ANOTHER LINK."
VII. "AN UNEXPECTED MEETING."
VIII. "THE LIGHT-HAIRED MAN."
IX. "MAN PROPOSES."
X. "WOMAN DISPOSES."
THE FOURTH SCENE: IN FLORENCE.
I. "ON THE LONG TRAIL."
II. "ONE PORTION OF THE CONSPIRACY."
III. THE SANDAL-WOOD CHEST.
IV. "ANOTHER PORTION OF THE CONSPIRACY."
THE FIFTH SCENE: IN LONDON.
I. "THE MISSING MAN."
II. "MONSIEUR ROUGE IS CONFIDENTIAL."
III. "A TERRIBLE ADVENTURE."
IV. "THE ISHMAELS OF HUMANITY."
THE SIXTH SCENE: AT CASTERWELL.
I. "AN UNEXPECTED ARRIVAL."
II. "THE PENANCE OF MARGERY."
III. "MR. BROCK AND THE LETTER."
IV. "THE TREASURES AT KIKAT."
V. "LET THE DEAD PAST BURY ITS DEAD."
VI. "MR. BROCK'S ADDENDA."
VII. "THE CIPHER DIARY."
VIII. "A ROGUE'S MEMOIRS."
EPILOGUE
THE GATES OF DAWN
By Fergus Hume

CONTENTS

The Pleasures of the


I. XVI. Afternoon Tea.
Road.
The Second Letter to a
II. Palmistry. XVII.
London Friend.
III. Tithonus.
XVIII. An Elizabethan Ancestor.
The Peacock in
IV. XIX. The Pale Ladye.
Jackdaw's Feathers.
XX. In the Oak Parlour.
V. Tinker Tim.
XXI. The Days pass by.
The First Letter to a
VI. XXII. A Dreamer of Dreams.
London Friend.
VII. Diana of Farbis. Parson Jarner is
XXIII.
astonished.
VIII. The Recluse.
XXIV. A Woman scorned.
IX. Village Gossip.
XXV. Jealousy.
X. Parson Jarner.
XXVI. Cupid in Arcady.
XI. Farbis Court.
The Third Letter to a
The Portrait in the XXVII.
XII. London Friend.
Gallery.
XXVIII. Fire and Flame.
Under the Greenwood
XIII. XXIX. The Gipsy's Prophecy.
Tree.
XIV. Dan's Secret. The Final Letter to a
XXX.
London Friend.
XV. Retrospection.
THE MIKADO JEWEL
By Fergus Hume
CONTENTS

XI. HARRY'S SWEETHEART


I. A MYSTERIOUS MISSION
A JAPANESE
II. WHAT HAPPENED XII.
DIPLOMATIST
III. AFTERWARDS
XIII. THE UNEXPECTED
IV. THE INQUEST
XIV. THE JEWEL
THE INQUEST
V. XV. PENTREDDLE'S STORY
CONTINUED
XVI. LOVERS
VI. A FAMILY LEGEND
XVII. TROUBLE
VII. THE GARDEN OF SLEEP
XVIII. PLEASURE
VIII. THEODORE
XIX. THE TRUTH
IX. BASIL
A FURTHER
X. THE NEW-COMER XX.
EXPLANATION

THE SCARLET BAT


By Fergus Hume
CONTENTS

I. Sowing The Wind XIV. A Public Clue


II. Reaping The Whirlwind A Strange
XV.
III. A Friend In Need Disappearance
Two Hundred Pounds XVI. What Mildred Knew
IV.
Reward XVII. The Sealed Letter
V. The Inquest XVIII. A Queer Visitor
VI. A Scrap Of Paper XIX. A Story Of The Past
VII. Cupid's Bargain XX. A Strange Will
VIII. A Pleasant Surprise XXI. An Unexpected Meeting
IX. The Old Romance XXII. Miss Cork Explains
X. A Queer Mark XXIII. Balkis
XI. Frank's Story XXIV. Tamaroo Speaks
XII. The Unexpected Happens XXV. Nemesis
XIII. A Quaker Lady XXVI. A Wedding Present

JONAH'S LUCK
By Fergus Hume
CONTENTS

AN UNEXPECTED
CHAP. XIV.
ARRIVAL
THE ADVENTURE OF
I. XV. A FRIEND IN NEED
THE INN
XVI. M. GOWRIE'S PLOTTING
II. A RECOGNITION
XVII. MAUD'S INHERITANCE
CIRCUMSTANTIAL
III. XVIII. A SURPRISING DEFENCE
EVIDENCE
IV. WHAT HAPPENED NEXT XIX. MRS. MOUNTFORD'S
ACCUSATION
V. HUE AND CRY
XX. AT THE "MARSH INN"
VI. THE CARAVAN
XXI. ON BOARD THE YACHT
VII. KIND'S OPINIONS
XXII. ANOTHER MYSTERY
VIII. MISS MAUD TEDDER
XXIII. AN EXPLANATION
IX. THE SOLICITOR
XXIV. STARTLING NEWS
X. THE INQUEST
XXV. THE CAPTAIN'S STORY
XI. LOVERS
THE BEGINNING OF THE
XII. THE STRANGE WORD XXVI.
END
XIII. A MEXICAN BEAUTY
XXVII. THE END
THE PEACOCK OF JEWELS
By Fergus Hume
CONTENTS

THE ROTHERHITHE
I.
CRIME. XII. AN INDIAN CLIENT.
II. AT THE VICARAGE. XIII. AN UNEXPECTED VISITOR.
III. A STORY OF THE PAST. XIV. FACE TO FACE.
AN UNEXPECTED XV. THE BLACK BAG.
IV.
VISITOR. MISS INDERWICK'S
XVI.
V. THE LETTER. EXCURSION.
THE BOARDING- XVII. THE SECRET.
VI.
HOUSE. XVIII. THE TREASURE HUNT.
VII. YULETIDE. XIX. AT DAWN.
VIII. AN EXPLANATION. XX. WHO IS GUILTY?
IX. ANOTHER TRAIL. XXI. THE TRUTH.
X. MR. SORLEY'S JEWELS. XXII. CALM AFTER STORM.
XI. JOTTY.

THE DISAPPEARING EYE


By Fergus Hume

CONTENTS

I. A WEIRD DISCOVERY. XXII. GERTRUDE'S DEFENCE.


THE BEGINNING OF A XIII. LOVE.
II.
MYSTERY. THE UNFORESEEN
XIV.
III. AFTER EVENTS. HAPPENS.
IV. FACTS. XV. AN EXPLANATION.
AN IMPORTANT XVI. STRIVER'S THREAT.
V.
DISCOVERY. XVII. LADY MABEL'S VISIT.
VI. MY RIVAL. AN ALARMING
XVIII.
VII. A FRIEND IN NEED. MESSAGE.
THE BEAUTY OF THE A DANGEROUS
VIII. XIX.
WORLD. POSITION.
IX. GERTRUDE'S FATHER. XX. THE CIPHER.
X. A SURPRISE. XXI. THE AIRSHIP.
XI. MISS DESTINY SPEAKS. XXII. THE WHOLE TRUTH.
*** END OF THE PROJECT GUTENBERG EBOOK INDEX OF THE
PROJECT GUTENBERG WORKS OF FERGUS HUME ***

Updated editions will replace the previous one—the old editions will
be renamed.

Creating the works from print editions not protected by U.S.


copyright law means that no one owns a United States copyright in
these works, so the Foundation (and you!) can copy and distribute it
in the United States without permission and without paying
copyright royalties. Special rules, set forth in the General Terms of
Use part of this license, apply to copying and distributing Project
Gutenberg™ electronic works to protect the PROJECT GUTENBERG™
concept and trademark. Project Gutenberg is a registered trademark,
and may not be used if you charge for an eBook, except by following
the terms of the trademark license, including paying royalties for use
of the Project Gutenberg trademark. If you do not charge anything
for copies of this eBook, complying with the trademark license is
very easy. You may use this eBook for nearly any purpose such as
creation of derivative works, reports, performances and research.
Project Gutenberg eBooks may be modified and printed and given
away—you may do practically ANYTHING in the United States with
eBooks not protected by U.S. copyright law. Redistribution is subject
to the trademark license, especially commercial redistribution.

START: FULL LICENSE


THE FULL PROJECT GUTENBERG LICENSE
PLEASE READ THIS BEFORE YOU DISTRIBUTE OR USE THIS WORK

To protect the Project Gutenberg™ mission of promoting the free


distribution of electronic works, by using or distributing this work (or
any other work associated in any way with the phrase “Project
Gutenberg”), you agree to comply with all the terms of the Full
Project Gutenberg™ License available with this file or online at
www.gutenberg.org/license.

Section 1. General Terms of Use and


Redistributing Project Gutenberg™
electronic works
1.A. By reading or using any part of this Project Gutenberg™
electronic work, you indicate that you have read, understand, agree
to and accept all the terms of this license and intellectual property
(trademark/copyright) agreement. If you do not agree to abide by all
the terms of this agreement, you must cease using and return or
destroy all copies of Project Gutenberg™ electronic works in your
possession. If you paid a fee for obtaining a copy of or access to a
Project Gutenberg™ electronic work and you do not agree to be
bound by the terms of this agreement, you may obtain a refund
from the person or entity to whom you paid the fee as set forth in
paragraph 1.E.8.

1.B. “Project Gutenberg” is a registered trademark. It may only be


used on or associated in any way with an electronic work by people
who agree to be bound by the terms of this agreement. There are a
few things that you can do with most Project Gutenberg™ electronic
works even without complying with the full terms of this agreement.
See paragraph 1.C below. There are a lot of things you can do with
Project Gutenberg™ electronic works if you follow the terms of this
agreement and help preserve free future access to Project
Gutenberg™ electronic works. See paragraph 1.E below.
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade

Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.

Let us accompany you on the journey of exploring knowledge and


personal growth!

ebookmass.com

You might also like