News:

PROTON pic BASIC Compilers for PIC, PIC24, dsPIC33

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.