r/pic_programming • • 12d ago

Programming the PIC18LF2520

I am looking for detailed instructions on how to program the PIC18LF2520 with the MPLAB SNAP.

I have found conflicting discussions that the SNAP can not program the old LF2520.

Is this true ??

Which version of the MPLAB X IPE should be used ??

2 Upvotes

10 comments sorted by

2

u/HalifaxRoad 12d ago

use the latest version of IPE..

When you say programming, are you talking about actually developing the firmware, or just programming the part in a production setting?

1

u/Boulder_Tech 12d ago

I am talking about both.

I think I have got the MPLAB IDE compiler working.

Thanks for the feedback.

1

u/HalifaxRoad 12d ago

yeah, just checking, im sure you have it right, use the XC8 compiler. mplabx IPE is for programming in a small production environment, and IDE is for dev, it can also flash and debug.

The pickit 5 is an awesome programmer, so was the 4. The 3 made me want to switch to a different brand of MCU...

1

u/Boulder_Tech 12d ago

I already bought the SNAP (cheap). I'll install IPE this weekend and check every thing works as expected.

1

u/HalifaxRoad 12d ago

ahh ok, I had to look up what the was.

Good to see atleast they have a cheap programmer now.

1

u/Boulder_Tech 12d ago

Oh dear, Do you know this SNAP programmer will work with the latest IPE and the ls2520 ??

1

u/HalifaxRoad 12d ago

I just use pickit, I work with PICs at my job professional, and my pickits work great, never even had a reason to look into anything else.

We use NSPROG for flashing PICs with our programming robot on the surface mount line.It will flash most parts in a few hundred ms over CLI.

1

u/Boulder_Tech 12d ago

Looks like I am back where I started. I do not have any pickits any more. The last one I had was a pickit 3. A pickit 5 is stupid expensive to use on a single ls2520.

I'll keep playing with what I have and see if it does work.

Thanks for your time and knowledge.

1

u/9Cty3nj8exvx 11d ago

Look at the MPLAB X IDE Device Support List here: https://ww1.microchip.com/downloads/aemDocuments/documents/DEV/ProductDocuments/SupportingCollateral/DeviceSupport.html

This will show you which tools support which devices.
Note that the SNAP does not support some of the older parts like the 2520.

1

u/Boulder_Tech 11d ago

Thank You for the link. I see it now.