+1 for STM32 both dev and debug tools. Bob ________________________________________ From: piclist-bounces@mit.edu on behalf of Neil=20 Sent: Monday, November 11, 2019 3:03 AM To: Microcontroller discussion list - Public. Subject: Re: [PIC] PIC32 Development My answer is from my experiences a couple/few years ago... When I decided to use PIC32's, I decided to stop being so hung up on extracting every last ounce of performance from the chips (as I did with PIC16's and PIC18's) and use the tools (Harmony) and libraries available to make things easier on myself. It was a frustrating process because documentation was scattered and lots of the software was in limbo. The help within the tool was telling me to use one of the libraries (PLIB or HAL), while the pdf help doc within the folder of the same installation was telling me to use the other. Lots of code just didn't work as expected and I sat down for coffee with my local FAE and proved it to him. I had also just started using MPLAB X and that added to the pain, as I was on a 1440-line resolution laptop and the fonts did not scale properly. Apparently they were hardcoded in some parts of the IDE and scalable in other parts. Some tools (such as the graphics generator) just flat out did not work. Also verified by my FAE. Updates were happening rapidly and the changes were significant. Around this time, there was a chip family called the PIC32MZ..EC, which was apparently VERY buggy. Even my FAE told me to avoid it. My impression was Microchip was scrambling to get a product (Harmony) out there to compete with others and was throwing out very unfinished code, while also changing directions during that time, so I was playing alpha-tester. And it made no sense to start learning an older code/library system (PLIB) as it would not be supported anymore. Now prior to this, I used the Chipkit boards for PIC32 code, and things were simpler and worked well, though a bit limiting, So I continued to used the PIC32 in that platform for other things. Around that time I got a customer gig to develop a product using an ARM processor (they wanted ARM because of the buzzword) and also started playing with STM32's, which was a much better experience. It was so much more mature. Since then I've stuck with STM32 processors. I haven't touched PIC32's for over a year or two now so can't provide a recent experience, but I would expect/hope they have their act together a bit more by now. Isaac (on here) is a big PIC32 fan so check with him for a different perspective. Cheers, -Neil. On 11/10/2019 9:25 PM, Josh Koffman wrote: > Hi all, > > I=92m considering starting my first project targeting the PIC32 series. I= =92ve > long been using the 8 bit chips, and I=92d like to try the 32 bit ones. T= he > main reason is that I=92m connecting to a module that the manufacturer > provides example PIC32 code for. Plus I=92m hoping I can get some faster = PWM > peripheral speeds due to faster clock (have to check this though). Also > feels like it might not be a bad idea to move to a processor a bit more > optimized for C programming. > > My current plan is to program in XC32. I=92m looking at the PIC32MX270 > family, but I am open to suggestions if there are newer/better choices > (particularly if they have newer PWM peripherals). > > My requirements on this first project are fairly simple - handle some set= up > of the module, pull data via I2C, and do some PWM. Future projects will g= et > more complex. > > So on to the questions: > > What dev tools are people currently using? I=92ve been looking at the Seg= ger > J-Link devices. I believe they integrate into MPLAB, though I need to > verify that. I have never used JTAG before, but from the brief bits I=92v= e > read I believe it would be faster than ICSP on these chips. Would I also > need something like a PICkit or ICD to program for standalone running? > > Any general advice on XC32 or the chips in general? I know I need to chec= k > errata carefully. Anything else? What toolchains are other people using? > > Thank you! > > Josh --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .