Microcontrollers

PIC24 library collection

Welcome to the PIC24 library collection! These downloadable libraries, accompanied by detailed explanations in the textbook, supplemented with numerous real-world examples, and accompanied by extensive on-line documentation given below, enable developers to take advantage of the wide range of peripherals offered by the PIC24. The collection consists of the getting started guide; the PIC24 support library; ESOS, the Embedded Systems Operating System; and the robotics library, each of which is overviewed below.

Getting started

The getting started page walks newcomers through the first step in developing for the PIC24: installing software and obtaining necessary hardware. Next, examples introduce use of the libraries below. Finally, documentation below provides a detailed reference to each of the library's operation.

PIC24 support library

The PIC24 support library supports all the major subsystems of the PIC24: clock configuration, configuration bits, delays, interrupts, digital I/O, timers, serial I/O, SPI, I2C, ECAN, comparators, A/D conversion, FLASH reads/writes, and DMA. An extensive set of examples accompanying the library provide working sample code to guide newcomers to using the library.

ESOS

ESOS, the Embedded Systems Operating System, is a cooperative multitasking operating system with very low memory overhead. ESOS is a task-driven programming paradigm within an event-driven framework. ESOS gives the user timer, interrupt, and communication services commonly needed in embedded systems programs.

Robotics library

The robotics library, which is built on ESOS, supports common tasks used in robotics.

PIC24 Bootloader

The PIC24 Bully Bootloader is a serial bootloader for the PIC24H/F processors; it includes both firmware and a PC GUI in the downloadable libraries archive. Additional documentation can be found here (HTML) and here (.PDF).  After unpacking the code archive, the bootloader executable is named bin/winbootldr.exe, source is in the bootloader/24h_24_target directories, and pre-compiled bootloader hex files are in the hex/ directory. The Bully Bootloader is named after the Mississippi State mascot ("Bully", a bulldog).

Additional documentation

Additional documentation is available for:
  • A prototyping walk-through -- a guide on hooking up a breadboard version of the PIC24HJ32GP202 reference system discussed in Chapter 8.

License

These libraries are released under terms given in the license.

  Sign in   Home   Sitemap   Terms   Report Abuse   Print  |  Powered by Google Sites