Skip to content

Xueming Yu

Good to Best

Menu
  • Home
  • Category
  • About
  • Contact

Author: Xueming

Posted onMay 14, 2025May 17, 2025Hobby

Fixing CEPH OSD “Down” and “Out” Glitch After Power Outage

by XuemingLeave a comment on Fixing CEPH OSD “Down” and “Out” Glitch After Power Outage

I have been running my home server on a mini setup of a CEPH system, which is composed of three monitors and six OSDs. The monitors are running off SBCs…

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 onMarch 8, 2025May 7, 2025Python

pdf2img2pdf, A Python Code to Compress PDF files

by XuemingLeave a comment on pdf2img2pdf, A Python Code to Compress PDF files

I ran into a new problem when making my PDFs unsearchable in my last post — The size of the newly generated PDFs were much larger than the original ones.…

Read More
Posted onMarch 8, 2025May 7, 2025Python

pdf2img2pdf, A Python Code to Make a PDF Unsearchable, Converting Text-Based PDFs to Image-Based

by XuemingLeave a comment on pdf2img2pdf, A Python Code to Make a PDF Unsearchable, Converting Text-Based PDFs to Image-Based

It may sound a little wired as why anyone would want to make their PDFs unsearchable. The truth is — it’s not an uncommon request of doing so: protecting your…

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

Posts pagination

Page 1 Page 2 … Page 4 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