Skip to content

Xueming Yu

Good to Best

Menu
  • Home
  • Category
  • About
  • Contact

Tag: Microchip

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, 2025April 7, 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’m a royal promotor of Microchip’s MCU products for over a decade. From pic24 to dspic33, from PIC32MX to PIC32MZ, Microchip’s MIPS line never…

Read More
Posted onAugust 3, 2013May 17, 2025Bootloader

Designing bootloader for Microchip dsPIC33E/PIC24E micro-controller (4)

by XuemingLeave a comment on Designing bootloader for Microchip dsPIC33E/PIC24E micro-controller (4)

If you have read my previous post about how to extract useful data from INTE HEX32 format hex file, you are just one step away from being able to burn…

Read More

Posts pagination

Page 1 Page 2 Next Page

Categories

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

Recent Posts

  • 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
  • pdf2img2pdf, A Python Code to Compress PDF files

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