Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A few typos in comments fixed #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions NewtonRomReader.ino
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
/*
* To compile this frimware for the Newton ROM Programmer
* - downlaod and insatll the Arduino developer environment from arduino.cc
* To compile this firmware for the Newton ROM Programmer
* - download and install the Arduino developer environment from arduino.cc
* - install the SdFat library by Bill Greiman (Sketch > Include Library > Manage Libraries...)
* - select the correct board (Tools > Board > Arduino ARM 32 > Arduino Due (Programming Port))
* - connect to the Due Programming Port via USB and slect the serial port (Tools > Port)
* - connect to the Due Programming Port via USB and select the serial port (Tools > Port)
* - open this .ino file in the Arduino developer environment
* - press Ctrl-R (Cmd-R on Mac) and the program should compile (there may be warnings, but no errors)
* - press Ctrl-U (Cmd-U on Mac) to upload your frimware into your Due
* - press Ctrl-U (Cmd-U on Mac) to upload your firmware into your Due
* - open the built-in Serial Monitor (Shift-Ctrl-M, Shift-Cmd-M), set the speed to 57600 baud.
* - you should see the ROM Programmer's menu on the serial port screen.
*/
Expand Down Expand Up @@ -94,7 +94,7 @@ int testForShortCircuits()
deactivateROMBus();
deactivateSDBus();

// check all pins for shortcuts agains ground
// check all pins for shortcuts against ground
printf("Testing for shorts to GND.\n");
for (size_t i = 0; i < sizeof(eggPin); i++) {
if (digitalRead(eggPin[i]) == 0) {
Expand Down Expand Up @@ -239,7 +239,7 @@ bool printMemoryBlock(uint32_t addr)
}

/**
* Interactively print memeory blocks for current page.
* Interactively print memory blocks for current page.
*/
void userPrintMemory()
{
Expand Down Expand Up @@ -519,7 +519,7 @@ bool programFlash(uint32_t inStart, uint32_t inEnd, String inFilename)
// ---- Verify Flash Memory Block -------------------------------------

/**
* Verify a block of Flash memeory to a file on SD Card or an OTG Drive.
* Verify a block of Flash memory to a file on SD Card or an OTG Drive.
*
* \param[in] inStart verification process starting at this address
* \param[in] inEnd verify up to this address or until the end of file
Expand Down Expand Up @@ -628,7 +628,7 @@ void verifyFlash(Page &inPage)
// ---- Read Flash Memory Block and write it to Mass Storage -------------------------------------

/**
* Read a block of Flash memeory and write it to a file on SD Card or an OTG Drive.
* Read a block of Flash memory and write it to a file on SD Card or an OTG Drive.
*
* \param[in] inStart copying process starting at this address
* \param[in] inEnd copy up to this address
Expand Down