The Godfather talking
This is god damn my place! Capisci?
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 08, 2024, 03:17:26 15:17


Login with username, password and session length


Pages: [1]
Print
Author Topic: Basic Compiler for a PIC "Clone" IC Possible?  (Read 7840 times)
0 Members and 1 Guest are viewing this topic.
madhan7710
Junior Member
**
Offline Offline

Posts: 74

Thank You
-Given: 48
-Receive: 155


« on: May 06, 2020, 05:29:04 17:29 »

Hi,

I came across a chinese MCU which is a PIC clone. Seems very cheaper. The company recommends PICC 9.83 as compiler. Though it has few additional features than PIC which some minor changes are needed with device header files. Is it possible to use proton or pbp to add a new device to make the clone device to work with basic compilers? Has anyone tried to add a new device in any of these compilers?
Logged
TucoRamirez
Senior Member
****
Offline Offline

Posts: 307

Thank You
-Given: 257
-Receive: 115


Tuco ... dead or Alive


« Reply #1 on: May 06, 2020, 05:31:19 17:31 »

any link or name of the component?
Logged

Whoever double crosses me and leaves me alive... he understands nothing about Tuco.
papy_bidouille
Newbie
*
Offline Offline

Posts: 24

Thank You
-Given: 132
-Receive: 22


« Reply #2 on: May 06, 2020, 07:11:59 19:11 »

clone of which pic 10fxx, 12fxx, 16fxx 18, 24, 32 ??

picss there are many
Logged
madhan7710
Junior Member
**
Offline Offline

Posts: 74

Thank You
-Given: 48
-Receive: 155


« Reply #3 on: May 06, 2020, 07:21:32 19:21 »

any link or name of the component?
MDT series. I can attach a datasheet tomorrow.
Logged
Sideshow Bob
Cracking Team
Hero Member
****
Offline Offline

Posts: 1002

Thank You
-Given: 231
-Receive: 986



« Reply #4 on: May 06, 2020, 07:50:27 19:50 »

MDT series. I can attach a datasheet tomorrow.
Post a link like you should have on your first post. Anyway be sure they do not have OTP rom. OTP is an abbreviation for one time programmable. So for a hobbyist that is not very smart. And they do most probably lack any debug options. You will not save anything on these chips
Logged

I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum
sadman
Hero Member
*****
Offline Offline

Posts: 709

Thank You
-Given: 1833
-Receive: 2899


Sow The Seeds of Love


« Reply #5 on: May 06, 2020, 11:52:53 23:52 »

Hi,

I came across a chinese MCU which is a PIC clone. Seems very cheaper. The company recommends PICC 9.83 as compiler. Though it has few additional features than PIC which some minor changes are needed with device header files. Is it possible to use proton or pbp to add a new device to make the clone device to work with basic compilers? Has anyone tried to add a new device in any of these compilers?

Better share link to that web page so every one can check and analyze
Logged
madhan7710
Junior Member
**
Offline Offline

Posts: 74

Thank You
-Given: 48
-Receive: 155


« Reply #6 on: May 07, 2020, 04:34:51 04:34 »

Post a link like you should have on your first post. Anyway be sure they do not have OTP rom. OTP is an abbreviation for one time programmable. So for a hobbyist that is not very smart. And they do most probably lack any debug options. You will not save anything on these chips
Ofcourse OTP is not useful for many and this is not OTP...

Link:
http://www.origin-gd.com/

Attached a datasheet for reference. unfortunately there is no English datasheet available for now. Though the MCU is based on PIC16 Coreit cannot be programmed with PICKIT2 or PK3. They have changed the programming protocol to their own which needs a dedicated programmer from them. Its something like LGT MCU which is a AVR clone.

Note: They have 2 types of PIC clone. One starts with MDT and another series starts with MS which the later series is the latest one.

EDIT : Attached datasheet is equivalent to PIC16F630.

« Last Edit: May 07, 2020, 04:38:18 04:38 by madhan7710 » Logged
Ahmad_k
SCG Moderator
Hero Member
*****
Offline Offline

Posts: 763

Thank You
-Given: 173
-Receive: 1298



« Reply #7 on: May 07, 2020, 05:20:17 05:20 »

As i can see the assembly language syntax is different, so no you cannot use PROTON or any other compiler made specially and only for PIC series . Maybe you can take the assembly file generated by your favorite compiler, change assembly syntax and rebuild it using MPLAB or MPASM command line.

I have searched all resources on HITECH, those are supported. So maybe this company will provide you with a modified version of C compiler
« Last Edit: May 07, 2020, 05:26:01 05:26 by Ahmad_k » Logged
madhan7710
Junior Member
**
Offline Offline

Posts: 74

Thank You
-Given: 48
-Receive: 155


« Reply #8 on: May 07, 2020, 06:51:06 06:51 »

They have sent the same Hitech picc 9.83 version only to compile. They have sent few sample codes too. If you are interested i can send them to you... The price of the mcu is so cheap and that's the reason i thought  we should give a try.
Logged
Ahmad_k
SCG Moderator
Hero Member
*****
Offline Offline

Posts: 763

Thank You
-Given: 173
-Receive: 1298



« Reply #9 on: May 07, 2020, 07:03:40 07:03 »

I am not interrested and i won't even give it a try. i don't trust those kind of chips. Genuine PIC16 microchip is also very cheap in bulk quantity.
Logged
Sideshow Bob
Cracking Team
Hero Member
****
Offline Offline

Posts: 1002

Thank You
-Given: 231
-Receive: 986



« Reply #10 on: May 07, 2020, 07:15:04 07:15 »

I do not understand. The firm Hitech was acquired by Microchip in about 2012. Any Hitech PIC C compiler has not been maintained since then. And you can not use a standard PIC programmer. The site is only in Chinese. And the same goes for the documentation. Unless you can read Chinese fluent. I do not see how these chips can be good for you. And I am also sure the pricing is for a minimum order of 1000 or more. Do you need that many chips?
Logged

I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 4668

Thank You
-Given: 835
-Receive: 4328


There is no evidence that I muted SoNsIvRi


« Reply #11 on: May 07, 2020, 08:58:09 08:58 »

I find it strange that Microchip state on their datasheets, Not to be used for Medical Projects.
most members here will use a device that is well supported, users that need to buy devices in bulk.
will do so with deals.
Most will tend to use the same devices they learnt at school, or their workplace.

Logged

Note: I stoped Muteing bad members OK I now put thier account in sleep mode
Sideshow Bob
Cracking Team
Hero Member
****
Offline Offline

Posts: 1002

Thank You
-Given: 231
-Receive: 986



« Reply #12 on: May 07, 2020, 09:06:56 09:06 »

I find it strange that Microchip state on their datasheets, Not to be used for Medical Projects.
most members here will use a device that is well supported, users that need to buy devices in bulk.
will do so with deals.
Most will tend to use the same devices they learnt at school, or their workplace.


I think that is more related to an exclusion of liability for the US market. Like we told you not to do that. So do not even think to sue us. 
Logged

I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum
madhan7710
Junior Member
**
Offline Offline

Posts: 74

Thank You
-Given: 48
-Receive: 155


« Reply #13 on: May 07, 2020, 09:38:06 09:38 »

There is no MOQ and the approximate price for a 2K flash MCU is 0.1 USD + shipping & other taxes.

Edit : Seems they are microchip official design partner. Though am not sure if it is true.
« Last Edit: May 07, 2020, 09:50:54 09:50 by madhan7710 » Logged
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 4668

Thank You
-Given: 835
-Receive: 4328


There is no evidence that I muted SoNsIvRi


« Reply #14 on: May 07, 2020, 10:21:48 10:21 »

There is no MOQ and the approximate price for a 2K flash MCU is 0.1 USD + shipping & other taxes.

Edit : Seems they are microchip official design partner. Though am not sure if it is true.
they could be cheap microchip devices like the ones from the start of the production run.
they don't meet the full specs, or the tail end still out of spec.
or even a special order from microchip, with limited pinouts- or even re-ordered pins.
a company I word for ordered a special run that was two devices put on the same raft,
I had a photo of before it was encased, above my work bench, we had a site visit and one of the visitors
said 'we knew you done something like that, it took a while to workout what you had done.'
that photo was missing after the midday break. 
Logged

Note: I stoped Muteing bad members OK I now put thier account in sleep mode
Vineyards
Active Member
***
Offline Offline

Posts: 168

Thank You
-Given: 64
-Receive: 37


« Reply #15 on: May 07, 2020, 10:55:28 10:55 »

I find it strange that Microchip state on their datasheets, Not to be used for Medical Projects.

They are just walking in the footsteps of their bigger brother. Check this one out from Intel's website:

"Use of Intel Products: Intel products are not intended for use in medical, life saving, life sustaining applications. UNLESS OTHERWISE AGREED IN WRITING BY INTEL, THE INTEL PRODUCTS ARE NOT DESIGNED NOR INTENDED FOR ANY APPLICATION IN WHICH THE FAILURE OF THE INTEL PRODUCT COULD CREATE A SITUATION WHERE PERSONAL INJURY OR DEATH MAY OCCUR."
Logged
madhan7710
Junior Member
**
Offline Offline

Posts: 74

Thank You
-Given: 48
-Receive: 155


« Reply #16 on: May 07, 2020, 11:06:53 11:06 »

As pickit2 said they seem to manufacture only the baseline device from microchip. Maybe be they must have taken license to manufacture these out-of-date MCU with minor modifications from microchip. i have got the device selection guide and they don't have a MCU with greater than 4K flash and highest pin count is 20. Still seems good for some kind of bulk manufacturing to replace any digital logic ic to save space and cost. They do have OTP and they are half of their flash MCU cost.
Logged
Sideshow Bob
Cracking Team
Hero Member
****
Offline Offline

Posts: 1002

Thank You
-Given: 231
-Receive: 986



« Reply #17 on: May 07, 2020, 11:26:04 11:26 »

Well just order some and see how it goes. I would like to hear how it went.
Logged

I have come here to chew bubblegum and kick ass... and I'm all out of bubblegum
Manuel
Senior Member
****
Offline Offline

Posts: 329

Thank You
-Given: 680
-Receive: 192


« Reply #18 on: May 07, 2020, 01:26:13 13:26 »

Like Sideshow Bob,

waiting for news.....

X!
Logged

-> An Apple a Day does not Let U become a Macintosh!
TucoRamirez
Senior Member
****
Offline Offline

Posts: 307

Thank You
-Given: 257
-Receive: 115


Tuco ... dead or Alive


« Reply #19 on: May 07, 2020, 05:24:41 17:24 »

how long a partner certificate last?  theirs is from 2007?
Logged

Whoever double crosses me and leaves me alive... he understands nothing about Tuco.
madhan7710
Junior Member
**
Offline Offline

Posts: 74

Thank You
-Given: 48
-Receive: 155


« Reply #20 on: May 07, 2020, 05:36:08 17:36 »

Sideshow Bob & Manuel... Ordered few samples and a programmer. Dont know when it will reach my hand because of shipping delay. Will test and post an update as soon as i get them.

Don't know if they are still microchips design partner. I think it must have a validity of 2 to 5 years only.
Logged
tomywong
Active Member
***
Offline Offline

Posts: 140

Thank You
-Given: 101
-Receive: 213


« Reply #21 on: May 18, 2020, 10:03:56 10:03 »

I still use MDT2005 and MDT2020 at the moment. It is cheap, but it only can program once. I use CC5X C compiler for development. The chip quality not bad.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright © 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC