Skip to content

Xueming Yu

Good to Best

Menu
  • Home
  • Category
  • About
  • Contact

Category: PIC Programming

Posted onMay 27, 2025May 27, 2025PIC Programming

Understand addresses in Microchip’s 16-bit MCU and its translation to Intel Hex32 format

by XuemingLeave a comment on Understand addresses in Microchip’s 16-bit MCU and its translation to Intel Hex32 format

Unlike most of the RISC architecture which utilizes the same map and bus for both data and instruction space, the Microchip’s 16-bit MCUs, such as the PIC24 and the dsPIC33…

Read More
Posted onApril 6, 2025May 15, 2025Embedded

Programming the USB module of PIC32MZ without Harmony (7) – Put USBDMA to work

by XuemingLeave a comment on Programming the USB module of PIC32MZ without Harmony (7) – Put USBDMA to work

The missing recipe from the Microchip’s datasheet Since Microchip doesn’t provide enough details with regard to the correct configuration of the USBDMA module, I had to piece together information from…

Read More
Posted onApril 6, 2025April 7, 2025Embedded

Programming the USB module of PIC32MZ without Harmony (6) – USBDMA

by XuemingLeave a comment on Programming the USB module of PIC32MZ without Harmony (6) – USBDMA

The power of USBDMA on PIC32MZ silicon In order to appreciate the power of USB DMA, we need to understand the ABCs of the DMA module. DMA, Direct Memory Access,…

Read More
Posted onApril 6, 2025April 7, 2025Embedded

Programming the USB module of PIC32MZ without Harmony (5) – Endpoint Configuration

by XuemingLeave a comment on Programming the USB module of PIC32MZ without Harmony (5) – Endpoint Configuration

So many details … The following codes work for my project. I must say the configuration of the endpoints is probably the most important step to make the USB module…

Read More
Posted onApril 6, 2025April 7, 2025Embedded

Programming the USB module of PIC32MZ without Harmony (4) – Descriptor

by XuemingLeave a comment on Programming the USB module of PIC32MZ without Harmony (4) – Descriptor

USB Device – Config – Interface – Endpoint Descriptor To understand “one config – multiple interfaces”, just to think about a printer-scanner comb machine – it’s one device with two…

Read More
Posted onApril 6, 2025April 7, 2025Embedded

Programming the USB module of PIC32MZ without Harmony (3) – Setup and Configuration as USB device

by XuemingLeave a comment on Programming the USB module of PIC32MZ without Harmony (3) – Setup and Configuration as USB device

Let’s start coding… Wait…. I need to list the procedures below how the USB device is setup through the enumeration process: Now let break down each item with the codes:…

Read More
Posted onFebruary 27, 2025February 28, 2025Embedded

Notes on Updating GPIO inside ISR for Microchip MCU

by XuemingLeave a comment on Notes on Updating GPIO inside ISR for Microchip MCU

This may apply to a wide range of Microchip MCU, or even other manufactory’s MCU. But I only verified on PIC32MZ2048EFH100. Writing to a GPIO, which is an SFR (Special…

Read More
Posted onFebruary 27, 2025February 28, 2025Embedded

How to Generate the Disassembly List on Microchip MPLAB IDE

by XuemingLeave a comment on How to Generate the Disassembly List on Microchip MPLAB IDE

On MPLAB, go to Project Properties -> Building. Check the box “Execute this line after build” and copy the following to the line: After compile, you will find the “list.lst”…

Read More
Posted onFebruary 25, 2025April 7, 2025Embedded

Programming the USB module of PIC32MZ without Harmony (2) – USB basics

by XuemingLeave a comment on Programming the USB module of PIC32MZ without Harmony (2) – USB basics

The scope of USB on PIC32MZ silicon USB is quite a complicated protocol. I would like to use this post to explain a few terminologies and concepts that we will…

Read More
Posted onFebruary 20, 2025May 30, 2025Embedded

Programming the USB module of PIC32MZ without Harmony (1)

by XuemingLeave a comment on Programming the USB module of PIC32MZ without Harmony (1)

Why not Harmony First of all, I’ve been a royal customer of Microchip’s MCU products for over a decade. From PIC24 to dsPIC33, from PIC32MX to PIC32MZ, Microchip’s MIPS line…

Read More

Posts pagination

Page 1 Page 2 Next Page

Categories

  • 3D Print
  • CAD
  • Circuit Design
  • dsPIC33e PIC24e Bootloader
  • Electrical Engineering
  • Embedded
  • Hobby
  • Home Server
  • Internet
  • Laser cut
  • Mechanics
  • PIC Programming
  • PIC32MZ USB NO Harmony
  • Python

Recent Posts

  • Understand addresses in Microchip’s 16-bit MCU and its translation to Intel Hex32 format
  • Fixing CEPH OSD “Down” and “Out” Glitch After Power Outage
  • Programming the USB module of PIC32MZ without Harmony (7) – Put USBDMA to work
  • Programming the USB module of PIC32MZ without Harmony (6) – USBDMA
  • Programming the USB module of PIC32MZ without Harmony (5) – Endpoint Configuration
  • Programming the USB module of PIC32MZ without Harmony (4) – Descriptor
  • Programming the USB module of PIC32MZ without Harmony (3) – Setup and Configuration as USB device

Recent Comments

  • agha on Designing bootloader for Microchip dsPIC33E/PIC24E micro-controller (5)
  • Xueming on Contact
  • Mike on Contact
  • Xueming on Designing bootloader for Microchip dsPIC33E/PIC24E micro-controller (5)
  • Xueming on How to rework small surface mount LED
Copyright Xueming Yu. All Rights Reserved.
Copyright © 2025 Xueming Yu ⋅ All Right Reserved