Author Topic: Is it worth using these PIC32?  (Read 5966 times)

0 Members and 1 Guest are viewing this topic.

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4199
  • Country: us
Re: Is it worth using these PIC32?
« Reply #25 on: March 04, 2022, 01:34:15 am »
Quote
The pragma configs are basically a shorthand notation for a bitfield that are written to a specific memory address.
the XC32 "pragma config" statements essentially set what would have been called the "fuse bits" on an 8bit chip.Many ARM chips have similar "config bits" somewhere, and I've never particularly seen complaints that ARM gcc doesn't support each particular chips' bits.  Usually that's handled outside of the source code (as part of the "project config" of a vendor-specific IDE, but ... still not insistent that the compiler do anything.)

Whether config bits SHOULD be in the source code is subject to debate.  My current complaint has been that "config" has expanded to include both things that are dependent on the hardware (and therefore shouldn't be in the C source) AND software-like things that it does make sense to include in the source, but have no way of separating them.

 

Offline nigelwright7557

  • Frequent Contributor
  • **
  • Posts: 689
  • Country: gb
    • Electronic controls
Re: Is it worth using these PIC32?
« Reply #26 on: March 17, 2022, 11:14:30 pm »
MPLAB X and Harmony are free to use unless you want top level optimisation.
But you will need a PICKIT programmer. I wouldn't recommend a Chinese copy.

Anyone who has bins with dozens of PIC32 parts on hand is likely to already have the tools needed to program them. I would not recommend a PICkit for a PIC32--it's ungodly slow. An ICD4 is much faster and will save a lot of frustration.

A Snap programmer is a fast and cheap option if you power pcb externally. PICKIT 4 is quite fast too.
ICD4 is a lot more expensive.
 

Offline Sal Ammoniac

  • Super Contributor
  • ***
  • Posts: 1668
  • Country: us
Re: Is it worth using these PIC32?
« Reply #27 on: June 02, 2022, 06:04:17 am »
MPLAB X and Harmony are free to use unless you want top level optimisation.
But you will need a PICKIT programmer. I wouldn't recommend a Chinese copy.

Anyone who has bins with dozens of PIC32 parts on hand is likely to already have the tools needed to program them. I would not recommend a PICkit for a PIC32--it's ungodly slow. An ICD4 is much faster and will save a lot of frustration.

A Snap programmer is a fast and cheap option if you power pcb externally. PICKIT 4 is quite fast too.
ICD4 is a lot more expensive.

I haven’t tried a PICKIT 4. It might be fast enough for use with a PIC32. I found the PICKIT 3 so frustratingly slow that I Widlarized mine, may it rest in peace.
Complexity is the number-one enemy of high-quality code.
 

Offline nigelwright7557

  • Frequent Contributor
  • **
  • Posts: 689
  • Country: gb
    • Electronic controls
Re: Is it worth using these PIC32?
« Reply #28 on: June 03, 2022, 01:22:03 am »

Anyone who has bins with dozens of PIC32 parts on hand is likely to already have the tools needed to program them. I would not recommend a PICkit for a PIC32--it's ungodly slow. An ICD4 is much faster and will save a lot of frustration.

The el cheapo Snap programmer is much faster than pk3.
I have done dozens of PIC32 projects without paying for the optimising compiler.
The free compiler can do a couple of levels of optimising anyway.

 

Offline Doctorandus_P

  • Super Contributor
  • ***
  • Posts: 3342
  • Country: nl
Re: Is it worth using these PIC32?
« Reply #29 on: June 13, 2022, 11:52:29 pm »
For me it's quite simple. I have no interest with fiddling with eula's, license keys, crippled software and arbitrary whims of manufacturers, and if a chip does not support GCC out of the box I am simply not interested. I may make an exception for for example SDCC.
 

Offline tepalia02

  • Regular Contributor
  • *
  • Posts: 100
  • Country: bd
Re: Is it worth using these PIC32?
« Reply #30 on: June 24, 2022, 12:17:13 pm »
There is a free version of MikroC Pro for PIC. I think you can use that.
 

Offline DonKu

  • Contributor
  • Posts: 40
  • Country: us
Re: Is it worth using these PIC32?
« Reply #31 on: July 04, 2022, 01:30:09 am »
For me it's quite simple. I have no interest with fiddling with eula's, license keys, crippled software and arbitrary whims of manufacturers, and if a chip does not support GCC out of the box I am simply not interested. I may make an exception for for example SDCC.

Yes. SDCC also became too much work in the middle of a IIC project.
 

Offline JPortici

  • Super Contributor
  • ***
  • Posts: 3461
  • Country: it
Re: Is it worth using these PIC32?
« Reply #32 on: July 04, 2022, 05:56:21 am »
There is a free version of MikroC Pro for PIC. I think you can use that.

why? XC32 can optimize, no stupid code size limit, actual support is only on XC32, software libraries are not closed source black boxes
(besides that i checked, only a few parts are supported by the compiler. PIC32MK not among them)
« Last Edit: July 04, 2022, 05:58:09 am by JPortici »
 
The following users thanked this post: Ian.M


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf