Category Archives: Tips and Tricks

Notes for PIC32 Experts

A rainy Sunday afternoon  gave me the perfect motivation to begin re-testing the projects and code examples of the “Graphics, Touch, Sound and USB” book with a PIC32 Mikromedia board to verify the claimed portability of the whole experience across … Continue reading

Posted in PIC32, Tips and Tricks | Tagged , , | Comments Off on Notes for PIC32 Experts

Progress on PIC32MX Video Player Performance

I recently got a few inquiries regarding an old project about a AVI Video Player for the PIC32. I had done the initial work in 2009 on one of the earliest prototypes of the PIC32 Multimedia board and later updated … Continue reading

Posted in Graphics, PIC32, Tips and Tricks | Comments Off on Progress on PIC32MX Video Player Performance

Generating Map files with MPLAB X

I started using MPLAB X since the very first betas were made available so I have eventually acquired a little confidence with the tool. Occasionally though I can still find myself hunting around for a feature/configuration parameter that is not … Continue reading

Posted in PIC24, PIC32, Tips and Tricks, Tools | Comments Off on Generating Map files with MPLAB X

Designing a good API

I have recently re-discovered Youtube. In a sense I have been on a learning path for several years now and I have changed my perspective on this “tool” multiple times. In the beginning there was the enthusiasm about the new … Continue reading

Posted in Tips and Tricks | Comments Off on Designing a good API

Dmitry Grinberg

  There are rare times when you realize unmistakably that you are in the presence of true genius. Visiting Dmitry’s web site today was one of them! Check out this project and you will get the picture! Now genius and … Continue reading

Posted in Tips and Tricks | Tagged | Comments Off on Dmitry Grinberg

PIC32MX7 PIM, RB5 pin conflict (solved)

I need to thank Martin K. for bringing to my attention an issue that appears to be affecting quite a few of the readers of my PIC32 book when they attempt to use one of the new MX7 PIMs on … Continue reading

Posted in PIC32, Tips and Tricks | Comments Off on PIC32MX7 PIM, RB5 pin conflict (solved)

Good old printf() (continued)

Continuing on the subject of using printf() as the most basic debugging tool, if you are using the MPLAB SIM software simulator to test portions of your code, you might be aware that the PIC simulator offers the possibility to … Continue reading

Posted in PIC32, Tips and Tricks | 3 Comments

Where is my RAM?

I know there are gobbles of RAM in a PIC32 (more than the entire FLASH bank in most other PIC16/18… ) but RAM is one of those things in life you can never have enough of! Plus, I am an … Continue reading

Posted in PIC32, Tips and Tricks | 1 Comment

Reporting Memory Usage

I think I can say we all love the little Memory Usage gauges introduced in MPLAB a couple of years ago.. or was it more? When working in assembly with an 8-bit microcontroller and a couple of Kbytes of FLASH … Continue reading

Posted in PIC32, Tips and Tricks | Comments Off on Reporting Memory Usage

Good Old printf()

Good old printf() is probably the oldest debugging tool ever used, I mean beside a light bulb (nowadays replaced by an LED) … yet it represents a pretty sophisticated one when working in a deeply embedded control project. If you … Continue reading

Posted in PIC32, Tips and Tricks | Tagged | Comments Off on Good Old printf()