What programmer for dsPIC33CK

Thread Starter

Motanache

Joined Mar 2, 2015
540
I was surprised to find that my PicKit2 programmer is outdated.

I also have a USB-TTL converter.

How to program(flash) dsPIC33CK256MP502? family 508
 

Thread Starter

Motanache

Joined Mar 2, 2015
540
3:36 from the video:
What's wrong with this picture?
What's wrong is that sales of programming and demonstration kits have increased But that is not the purpose.
The purpose is for these microcontrollers to be applied in commercial products,
not to increase the sale of development kits.

Some prefer Atmel, but what to see? Atmel was bought by Microchip.

Why is most Arduino with Atmel?

I'm a hobbyist and I have ideas in SMPS.
I tried with dsPIC30F2020 THT(flash with PicKIt2) which works at 120MHz, 4 clock per instruction.
I quickly abandoned it because it disappointed me or maybe I didn't know how to use it.

I got much better results with Attiny45 in SMPS . 2x 8 bit high speed PWM and 10 bit fast ADC.
I programmed Attinu45 with Pickit2 and Avrdude 6.
But it could be simple:
https://www.aliexpress.com/item/330...earchweb0_0,searchweb201602_,searchweb201603_

Digispark is 2$ Ardunio with Attiny85. Although this integrated does not have a USB interface, they have created the soft USB interface from digital pins (TTL)
They solved this with resistors and zener.

You don't even need a USB cable.


dsPIC30CK 5MS/s ADC/ channel ..... PWM with 250pS res.
But how to use it?

1. I will try an older version of MPLab X that accepts pickit2

2. AVR DUDE if is Open Source to be modified

3. Pickit 2 command line that is open source to be modified.

4. There are many Arduinos that program PIC - Explored this

5. Curiosity Development Board uses USB2422T USB interface that I don't have. if it can be replaced with a USB-TTL converter.
https://ww1.microchip.com/downloads...evelopment-Board-User's-Guide-ds50002859A.pdf
 

trebla

Joined Jun 29, 2019
433
dsPIC30CK 5MS/s ADC/ channel ..... PWM with 250pS res.
But how to use it?

1. I will try an older version of MPLab X that accepts pickit2

2. AVR DUDE if is Open Source to be modified

3. Pickit 2 command line that is open source to be modified.

4. There are many Arduinos that program PIC - Explored this

5. Curiosity Development Board uses USB2422T USB interface that I don't have. if it can be replaced with a USB-TTL converter
If you have Curiosity for dsPIC33CK already then you don't need additional programmer device because this board has PKOB (Pic Kit On Board). This board has also an USB-UART converter chip installed. You need install MPLABX (better latest version) IDE for use this board. Read instructions for this board and learn demo code for this board.
 

Thread Starter

Motanache

Joined Mar 2, 2015
540
And how can I be sure that Pickit4 can program PIC33CK256MP508?
It does not have a list of supported microcontrollers as Pickit2 has.

I do not have Curiosity for dsPIC33CK.
 

Thread Starter

Motanache

Joined Mar 2, 2015
540
MPLABX the latest version with an Assembler compiler takes a lot of memory.

Compared to MikroC for dsPIC the latest version........ MikroC occupies only 50MB.

MikroC also has an extensive library, including for LCD display.
The C compiler also includes the Assembler compiler...................
 
Last edited:

trebla

Joined Jun 29, 2019
433
MikroC also has an extensive library, including for LCD display
I agree and use MikroC if needed. But MikroC libraries are compiled and you can't see their source code. In MPLABX libraries and MCC generated drivers are open to view and change. Also, MPLABX XC compilers supports latest chips, MikroC is far behind :(
 

Thread Starter

Motanache

Joined Mar 2, 2015
540
I tried several versions of MPLabX in the hope that they will accept PICKit2.
Up to version 5 does not support PIC33CK.

There is software that makes MPLabX support Pickit2. It's called PicKitPlus or PicKit +.
But this software costs about as much as you would buy a PicKit3.

Why didn't Microchip release such software?
Because the price proves that such software is desired
 

trebla

Joined Jun 29, 2019
433
There is software that makes MPLabX support Pickit2. It's called PicKitPlus or PicKit +.
But this software costs about as much as you would buy a PicKit3
Why bother then? Buy PicKit4 and with MPLABX it supports most of PICs, dsPICs and Atmel MCUs, including the ATtiny45, you mentioned. If you want go serious with programming these MCUs then get at least PICkit4 and/or some Curiosity or Xplained board for start. There are of course other options do things in harder way or just abandon all.
 

Thread Starter

Motanache

Joined Mar 2, 2015
540
I just wanted to test PIC33CK if in practice it will work better than the Atmel used by me.
I have not decided that I will deal with this PIC more.

The price for PICkit4 or Curiosity it seems unjustifiably big to me.
About $ 100.

Curiosity is based $ 2 USB2422T
It can only be a test and the components were bought unnecessarily.

This after the disappointment with dsPIC30F2020 which does not differ much.

But I saw a youtube video with dsPIC33CK that encouraged me.

It's the first microcontroller I can't program.

It's like making you buy a expensive product so you can taste a piece of food that you don't know if you'll like or not.
 
Last edited:
Top