News:

Let's find out together what makes a PIC Tick!

Main Menu

Dspic 30f2010

Started by Abdullah, Jun 06, 2026, 03:12 PM

Previous topic - Next topic

Abdullah



Hello everyone,

I want to develop a program for the dsPIC30F2010, but this device is not available in Proton IDE. Is there any other dsPIC30F or dsPIC33F series device that is pin-to-pin compatible with the dsPIC30F2010 and whose HEX file can be uploaded to the dsPIC30F2010 without any issues?

I am looking for a device that is 100% compatible so that I can write the program for it and then upload the generated HEX file directly to the dsPIC30F2010.
Abdullah

top204

As I have stated before, the dsPIC30 devices are different to the dsPIC33 devices, and they are now very outdated and redundant.

It would take a major re-write of many assembler routines for them, and take months of work and testing for redundant devices!

So I will not be adding them to the compiler.

I didn't add them at first with the 16-bit compiler, because they were redundant 18 years ago, when the PIC24 and dsPIC33 devices were released.

Regards
Les

Fanie

Abdullah
I suggest you spend some time to find pin compatible micro's, there are a few in different ranges.
On the Microchip web site they suggest which are new and which are older, rather go for the newer which will be available for some time.
I always try to use the more popular versions, they are made more available, and are usually less expensive as well.
It seems many pics are made for a specific purpose, ie motor control.  So even if you have a different version that fit the same footprint, they may not work for your application.
If you can get away with a more general purpose good-for-most-apps, I think the 18F and even 16F could be more suitable and probably less expensive.  And the newer smaller pics have larger memory and are quite fast as well.

Abdullah

Quote from: Fanie on Jun 11, 2026, 09:02 PMAbdullah
I suggest you spend some time to find pin compatible micro's, there are a few in different ranges.
On the Microchip web site they suggest which are new and which are older, rather go for the newer which will be available for some time.
I always try to use the more popular versions, they are made more available, and are usually less expensive as well.
It seems many pics are made for a specific purpose, ie motor control.  So even if you have a different version that fit the same footprint, they may not work for your application.
If you can get away with a more general purpose good-for-most-apps, I think the 18F and even 16F could be more suitable and probably less expensive.  And the newer smaller pics have larger memory and are quite fast as well.


Hello Sir, thank you very much. The actual issue is not that. In our country, only a few PIC models are available, and one of them is the dsPIC30F2010. If we count all the PIC microcontrollers that are easily available in Pakistan, their number would be less than 50. Among them, only the dsPIC30F series is available, while the 16F, 12F, and 18F series are commonly available.

I can easily find other part numbers that would perfectly suit my application, but they are not available here. If I purchase them from another country, they become very expensive. Even if I order just one or two units for testing, the cost is still too high for me.
Abdullah

Fanie

Same problem here, which is why more and more people look at using the Chinese micro's.
Exactly what I mentioned here
https://protoncompiler.com/index.php/topic,3311.msg24222/topicseen.html#msg24222

Fanie

If you are interested, here are some available.
https://protoncompiler.com/index.php/topic,3313.msg24200/topicseen.html#msg24200

Perhaps if you can find a Canadian visiting Pakistan or a Pakistani visiting Canada...

Fanie

Very interesting !

Pakistan, officially the Islamic Republic of Pakistan, is a country in South Asia. It is the fifth-most populous country, with a population of over 241.5 million, having the second-largest Muslim population as of 2023. Islamabad is the nation's capital, while Karachi is its largest city and financial centre. Pakistan is the 33rd-largest country by area. Bounded by the Arabian Sea on the south, the Gulf of Oman on the southwest, and the Sir Creek on the southeast, it shares land borders with India to the east; Afghanistan to the west; Iran to the southwest; and China to the northeast. It shares a maritime border with Oman in the Gulf of Oman, and is separated from Tajikistan in the northwest by Afghanistan's narrow Wakhan Corridor. Pakistan is the site of several ancient cultures, including the 8,500-year-old Neolithic site of Mehrgarh in Balochistan, the Indus Valley Civilisation of the Bronze Age, and the ancient Gandhara civilisation.

JonW

CCS C supports those devices, you can buy the hobby version for $100 that has 10 devices.  It is C, but is similar to Positron with a single IDE and well-built functions.

Abdullah

Quote from: JonW on Today at 08:34 AMCCS C supports those devices, you can buy the hobby version for $100 that has 10 devices.  It is C, but is similar to Positron with a single IDE and well-built functions.
Hello Sir, I have worked a little with CCS, and this device is available in it. However, I started from the beginning with Positron/Proton, so I do not know the C language at all. Because of that, it is difficult for me. Should I first learn C and then start working with this IC?
Abdullah

Abdullah

Quote from: Fanie on Today at 07:44 AMVery interesting !

Pakistan, officially the Islamic Republic of Pakistan, is a country in South Asia. It is the fifth-most populous country, with a population of over 241.5 million, having the second-largest Muslim population as of 2023. Islamabad is the nation's capital, while Karachi is its largest city and financial centre. Pakistan is the 33rd-largest country by area. Bounded by the Arabian Sea on the south, the Gulf of Oman on the southwest, and the Sir Creek on the southeast, it shares land borders with India to the east; Afghanistan to the west; Iran to the southwest; and China to the northeast. It shares a maritime border with Oman in the Gulf of Oman, and is separated from Tajikistan in the northwest by Afghanistan's narrow Wakhan Corridor. Pakistan is the site of several ancient cultures, including the 8,500-year-old Neolithic site of Mehrgarh in Balochistan, the Indus Valley Civilisation of the Bronze Age, and the ancient Gandhara civilisation.
Hi sir
I am very happy to hear that. You know a lot of things, and what you explained is something that perhaps even I did not know myself.
Abdullah

Abdullah

Quote from: Fanie on Today at 07:20 AMSame problem here, which is why more and more people look at using the Chinese micro's.
Exactly what I mentioned here
https://protoncompiler.com/index.php/topic,3311.msg24222/topicseen.html#msg24222


"This page is not opening for me. However, I use Chinese MDT microcontrollers as alternatives to the PIC16F676, PIC16F684, PIC16F72, and PIC16F73."
Abdullah

Fanie

The MDT controllers show listed here in google but on the distributer web site not listed.
Probably not allowed here...

The Wests controllers are obsessed with ancient artifacts, they want to reverse engineer the technology which was more advanced than what we have today.  The same likely wiped the dinosaurs and caused the worlds previous reset, likely split atom explosions which is the way we are already heading.

For those who think aliens are a myth, during the Bush War I was in, the SADF shot an alien craft down.  I actually spoke with someone who was directly involved in the incident. 
Here is a reflection on that, probably animated somewhat.
https://www.ufocasebook.com/2024/kalahari-ufo-crash.html

JonW

Hi Abdullah

I really dont think this necessary to fully learn C as CCS is not pure Ansi.  With AI you can write in basic and get it to rewrite it in ccs c.  I recon you can learn to code with AI and CCS in a couple of hours

charliecoutas

Fanie, I certainly thought that aliens were a myth. Thanks for providing such convincing evidence.

Charlie