Author Topic: Chinese ATMega88 clone  (Read 23676 times)

0 Members and 1 Guest are viewing this topic.

Offline JopeTopic starter

  • Regular Contributor
  • *
  • Posts: 109
  • Country: de
Chinese ATMega88 clone
« on: December 15, 2013, 07:35:57 pm »
Itead Studio is currently running an Indiegogo campaign for their Arduino-like 'Iteaduino Lite' board.
The interesting thing is that they don't use an original Atmel AVR, but a Chinese clone of an ATmega88, the LGT8F88 from a company named LogicGreen.
They have a comparison sheet on their website.
 

Offline Svuppe

  • Regular Contributor
  • *
  • Posts: 92
  • Country: dk
Re: Chinese ATMega88 clone
« Reply #1 on: December 15, 2013, 09:00:39 pm »
Wow. They have removed 2 out of 3 gnd pins, and added 8 high sink port pins. I would expect massive ground bounce problems.
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Chinese ATMega88 clone
« Reply #2 on: December 15, 2013, 09:09:58 pm »
Quote
Chinese clone

Bad for Atmel giving that a lot of their business comes from within China which is driving their success so far.

However, I am not sure to what extent volume buyers will embrace a clone. For the one-off market (aka arduino) i don't know who's willing to put up with the potential hustle of a new clone to save a few cents.

Quote
massive ground bounce problems.

Be real.
================================
https://dannyelectronics.wordpress.com/
 

Offline miceuz

  • Frequent Contributor
  • **
  • Posts: 387
  • Country: lt
    • chirp - a soil moisture meter / plant watering alarm
Re: Chinese ATMega88 clone
« Reply #3 on: December 15, 2013, 09:19:34 pm »
I wander what's ADC performance with no separate power pins for ADC and switcher as the main power source...

Offline tszaboo

  • Super Contributor
  • ***
  • Posts: 7369
  • Country: nl
  • Current job: ATEX product design
Re: Chinese ATMega88 clone
« Reply #4 on: December 15, 2013, 09:32:22 pm »
They keep the cost low by welding the components on, not soldering:
"these pins will not be welded on it,"
I wonder why don't they have someone read it before writing these kind of mistakes. It is not like they cannot e-mail it to some Indian proofread company to correct it for 1 USD per page. Does anyone know if the memory size is useful? I've only programmed Atmegas in ASM.
 

Offline Svuppe

  • Regular Contributor
  • *
  • Posts: 92
  • Country: dk
Re: Chinese ATMega88 clone
« Reply #5 on: December 15, 2013, 10:01:30 pm »
Be real.
I am quite serious. 8 pins sinking up to 80 mA each, and everything has to exit through one single gnd pin. I wouldn't trust the ADC for anything, and I would have my doubts about other parts too.
 

Offline andersm

  • Super Contributor
  • ***
  • Posts: 1198
  • Country: fi
Re: Chinese ATMega88 clone
« Reply #6 on: December 15, 2013, 11:02:37 pm »
I fully expect there to be all kinds of problems with the first iterations of the chip, but I'm actually kind of excited to see a real second source for a microcontroller on the market. The instruction timing differences means it's not a 100% drop-in replacement, but it should work for the majority of applications. I wonder what this will do to the counterfeit AVR market?

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4199
  • Country: us
Re: Chinese ATMega88 clone
« Reply #7 on: December 15, 2013, 11:46:08 pm »
It's NOT a "real second source."  It's not quite compatible.  (in relatively interesting ways, actually.  Implying that it's not just a clone, either.  (particularly interesting is the lack of bootloader support, the odd eeprom size, and a different multiplier.)

The single set of power pins IS rather troubling...  Maybe you can do that if you implement the core in smaller geometries, and just dedicate extra transistors to the output drivers?
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Chinese ATMega88 clone
« Reply #8 on: December 15, 2013, 11:50:52 pm »
Quote
and everything has to exit through one single gnd pin.

Sure. But none of that necessarily leads to "massive ground bounce problems".

Quote
I wouldn't trust the ADC for anything, and I would have my doubts about other parts too.

You are obviously free to speculate. But unless you have hard data, it remains your speculation.
================================
https://dannyelectronics.wordpress.com/
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Chinese ATMega88 clone
« Reply #9 on: December 15, 2013, 11:54:02 pm »
Quote
instruction timing differences means it's not a 100% drop-in replacement

It is instruction compatible with avrs. I doubt there are a lot of code out there that take (dis)advantage of original avr's timing to the extent to break its execution on this clone.
================================
https://dannyelectronics.wordpress.com/
 

Offline MatCat

  • Frequent Contributor
  • **
  • Posts: 377
  • Country: us
Re: Chinese ATMega88 clone
« Reply #10 on: December 15, 2013, 11:56:25 pm »
I especially love where it says only LogicGreen's ISP will program it... I think I would rather stick with Atmel for now.
 

Offline baoshi

  • Regular Contributor
  • *
  • Posts: 167
  • Country: sg
    • Digital Me
Chinese ATMega88 clone
« Reply #11 on: December 16, 2013, 12:43:47 am »
Their ISP is a VUSB based board, perhaps a USBISP clone. You can take a look here, last 3 items are Emulator, Programmer and Demo board.

http://www.mailshop.cn/product_list.jsp?class_id=3640&super_id=1024

I heard the dev platform is AVRGCC??!


« Last Edit: December 16, 2013, 12:50:36 am by baoshi »
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Chinese ATMega88 clone
« Reply #12 on: December 16, 2013, 01:13:46 am »
Quote
I heard the dev platform is AVRGCC??!

Yes, according to their own comparison, all toolchains for avr are good for this clone - how that's going to sustain in a legal challenge is unknown.
================================
https://dannyelectronics.wordpress.com/
 

Offline baoshi

  • Regular Contributor
  • *
  • Posts: 167
  • Country: sg
    • Digital Me
Chinese ATMega88 clone
« Reply #13 on: December 16, 2013, 02:24:11 am »
The company does not have an address, contact number is a mobile, support is on an forum. If I were Atmel I'll go for their customer (if any ;) ).


Sent from my iPhone using Tapatalk
 

Offline Rick Law

  • Super Contributor
  • ***
  • Posts: 3439
  • Country: us
Re: Chinese ATMega88 clone
« Reply #14 on: December 16, 2013, 04:00:04 am »
Anytime there is more competition, the consumers benefit.  As long as it is a legitimately done clone, I think it is a good thing for the industry.  I am sure there will be tons of issues to iron out.  This may be their learning process.

I would not find the clone they have depicted as interesting.  When sold installed in a board, it diluted whatever price-advantage their CPU offers.  Beside, I wouldn't want a board that I cannot replace a blown CPU.

Personally, I prefer to see a dip drop in replacement that enhances the original - like the way Intel (and competitor) CPUs were in the early x86 era.  Motherboard permitting, one can drop in a 90MHz and replace the 66MHz P4/P5 and off you go with bigger/better system.  Say, with this enhance CPU drop in, you have 2K of ram instead of 1, or 48K of flash instead of 32K, or a 12 bit ADC instead of 10...  That approach may take the market by storm.  Those with a Arduino board may find it a lot easier to buy another chip to plug into their existing board then purchasing yet another.  With that, they can builds experience for their designers, market understanding, and builds name recognition for their product (AMD, etc vs Intel) along the way.  Eventually they would earn enough name recognition that they can sell a CPU entirely of their own design instead of a work-alike of someone elses' design.
 

Offline andersm

  • Super Contributor
  • ***
  • Posts: 1198
  • Country: fi
Re: Chinese ATMega88 clone
« Reply #15 on: December 16, 2013, 06:08:51 am »
Quote
I heard the dev platform is AVRGCC??!
Yes, according to their own comparison, all toolchains for avr are good for this clone - how that's going to sustain in a legal challenge is unknown.
It at least used to be the case that you couldn't copyright an instruction set, although parts could be covered by patents.

Offline Svuppe

  • Regular Contributor
  • *
  • Posts: 92
  • Country: dk
Re: Chinese ATMega88 clone
« Reply #16 on: December 16, 2013, 09:22:37 am »
Sure. But none of that necessarily leads to "massive ground bounce problems".
Well, perhaps "massive" was too harsh a word.
And after reading the datasheet, I see that the intention is to use the 80 mA pins for multiplexing common-cathode LED displays, which means only one pin sinking the high current at any given time. Not all 8 pins with 80 mA each. That is something different altogether.
Unfortunately, the datasheet does not specify the total current allowed for the entire chip.
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Chinese ATMega88 clone
« Reply #17 on: December 16, 2013, 11:23:18 am »
Quote
That approach may take the market by storm.

Given how mcus are used, that kind of market and demand must be tiny.
================================
https://dannyelectronics.wordpress.com/
 

Offline poorchava

  • Super Contributor
  • ***
  • Posts: 1672
  • Country: pl
  • Troll Cave Electronics!
Re: Chinese ATMega88 clone
« Reply #18 on: December 16, 2013, 12:35:29 pm »
Quote
but I'm actually kind of excited to see a real second source for a microcontroller on the market

This is not very prevalent in retail sale, but when you go into volume production, such things happen quite often. Granted - the different sources are almost never 100% compatible (99% would be my guess), but they are usable.
I love the smell of FR4 in the morning!
 

Offline Rick Law

  • Super Contributor
  • ***
  • Posts: 3439
  • Country: us
Re: Chinese ATMega88 clone
« Reply #19 on: December 16, 2013, 10:54:31 pm »
Quote
That approach may take the market by storm.

Given how mcus are used, that kind of market and demand must be tiny.

Yeah, I suppose you are right.  I was thinking merely of the experimenter market rather than the whole market.  Consumers isn't likely going to choose a Microwave oven based on the MCU they use.
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4199
  • Country: us
Re: Chinese ATMega88 clone
« Reply #20 on: December 17, 2013, 06:35:17 am »
I would expect that the chip is aimed at whatever market is responsible for all those "ATmega8 for $1" China gray-market deals you see on eBay (but I don't know what those are!)
 

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8264
Re: Chinese ATMega88 clone
« Reply #21 on: December 17, 2013, 01:14:50 pm »
Not surprising, Holtek made PIC clones before so I guess the next logical step is an AVR clone.

But the Chinese still seem to prefer 8051 clones (AFAIK Intel doesn't make them anymore) for "general purpose" MCU.
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Chinese ATMega88 clone
« Reply #22 on: December 17, 2013, 01:52:53 pm »
Quote
But the Chinese still seem to prefer 8051 clones

The 8051 is such a wonderful chip. Way ahead of its time.
================================
https://dannyelectronics.wordpress.com/
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11238
  • Country: us
    • Personal site
Re: Chinese ATMega88 clone
« Reply #23 on: December 17, 2013, 05:10:41 pm »
The 8051 is such a wonderful chip. Way ahead of its time.
And way behind modern times.
Alex
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Chinese ATMega88 clone
« Reply #24 on: December 17, 2013, 07:13:44 pm »
Sure, if you let mkting think for you.
================================
https://dannyelectronics.wordpress.com/
 

Offline Stonent

  • Super Contributor
  • ***
  • Posts: 3824
  • Country: us
Re: Chinese ATMega88 clone
« Reply #25 on: December 17, 2013, 07:24:02 pm »
The 8051 is such a wonderful chip. Way ahead of its time.
And way behind modern times.

Almost every tutorial on the 8051 I see on youtube is hosted by someone from India or a nearby country.
So at least some people in India seem to think it's useful. I've had some interest in watching videos on it, but eventually I seem to exit out because I have to concentrate too hard on understanding the instructor.

The larger the government, the smaller the citizen.
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11238
  • Country: us
    • Personal site
Re: Chinese ATMega88 clone
« Reply #26 on: December 17, 2013, 07:28:11 pm »
There is still obviously a huge market for those chips - instruction set is patent-free and there is plenty of tools.

But I'm not doing any designs on the architecture with a single accumulator register, it is just too much pain for no particular gain.
Alex
 

Offline Rick Law

  • Super Contributor
  • ***
  • Posts: 3439
  • Country: us
Re: Chinese ATMega88 clone
« Reply #27 on: December 17, 2013, 08:34:37 pm »
The 8051 is such a wonderful chip. Way ahead of its time.
And way behind modern times.

Almost every tutorial on the 8051 I see on youtube is hosted by someone from India or a nearby country.
So at least some people in India seem to think it's useful...
...

You know, between India and China, you are talking 1/2 the world's population.  I recall reading that India (or China, don't recall which) each year graduate more engineers than the entire engineering population of the USA.  So there is a lot of engineers out there and soon to be a lot more.

China may make "crap" now, so did the Japanese in the 50's, 60's, and perhaps even 70's.  Soon, perhaps, Chinese could become a must-learn for engineers....
 

Offline AndersAnd

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: dk
Re: Chinese ATMega88 clone
« Reply #28 on: December 17, 2013, 09:12:14 pm »
They have a comparison sheet on their website.
Quote
Internal 32MHz Calibrated Oscillator
It claims both MCUs has a 32 MHz internal oscillator. :-//  ATmega88A only has a 128 kHz [edit: and a 8 MHz] Internal Oscillator. A 32 MHz oscillator wouldn't make sense on an ATmega only specified to 20 MHz anyway.

LGT8F88A is however specified to 32 MHz and the block diagram shows both a 32 MHz and a 32 kHz internal RC oscillator:
« Last Edit: December 17, 2013, 09:49:22 pm by AndersAnd »
 

Offline andersm

  • Super Contributor
  • ***
  • Posts: 1198
  • Country: fi
Re: Chinese ATMega88 clone
« Reply #29 on: December 17, 2013, 09:36:51 pm »
ATmega88A only has a 128 kHz Internal Oscillator.
It has two internal RC oscillators, one 128kHz and one 8MHz.

Offline AndersAnd

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: dk
Re: Chinese ATMega88 clone
« Reply #30 on: December 17, 2013, 09:48:09 pm »
ATmega88A only has a 128 kHz Internal Oscillator.
It has two internal RC oscillators, one 128kHz and one 8MHz.
Yes you're right, but not a 32 MHz oscillator like the comparison table shows.
 

Offline firewalker

  • Super Contributor
  • ***
  • Posts: 2450
  • Country: gr
Re: Chinese ATMega88 clone
« Reply #31 on: December 17, 2013, 10:44:49 pm »
Have they issued AVRGCC patches for their mcu?

Alexander.
Become a realist, stay a dreamer.

 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11238
  • Country: us
    • Personal site
Re: Chinese ATMega88 clone
« Reply #32 on: December 17, 2013, 10:50:31 pm »
It is fully compatible with all existing compilers. At least that's what they claim.
Alex
 

Offline AndersAnd

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: dk
Re: Chinese ATMega88 clone
« Reply #33 on: December 17, 2013, 11:08:30 pm »
LogicGreen has another MCU series named LGT8F0XA too, with an MVR8X 8-bit RISC core.
Anyone know if these are clones of other MCUs too and if so which ones? Are these ATtiny clones or something?
These are only specified up to 3.6 V though.
http://www.mcugreen.com/?page_id=4431
Quote


LGT8F08A – SOP28L
LGT8F04A – SOP24L/SSOP24L/SOP20L/SSOP20L
LGT8F02A – SOP14L
LGT8F01A – SOP8L

0 ~ 16MHz @1.8V ~ 3.0V
0 ~ 25MHz @3.0V ~ 3.6V
« Last Edit: December 17, 2013, 11:10:04 pm by AndersAnd »
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11238
  • Country: us
    • Personal site
Re: Chinese ATMega88 clone
« Reply #34 on: December 17, 2013, 11:22:18 pm »
They are AVR clones as well, but more sophisticated than ATTiny, it might be some earlier ATMegas or not a complete clone (peripheral-wise).
Alex
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11238
  • Country: us
    • Personal site
Re: Chinese ATMega88 clone
« Reply #35 on: December 17, 2013, 11:26:40 pm »
They actually provide a header file for this part. I don't read Chinese, but it looks like it is a modified version of atmega164 with reduced memory.
Alex
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4199
  • Country: us
Re: Chinese ATMega88 clone
« Reply #36 on: December 18, 2013, 03:26:20 am »
Quote
I'm not doing any designs on the architecture with a single accumulator
Your choice, of course.  But that does does eliminate a LOT of 8bit microcontrollers!
No Freescale 8bit controllers.
No Microchip 8bit controllers.
No 8051 based controllers from anyone
No STM8.
I think it pretty much only leaves AVR and some 8080/Z80 derivatives (Zilog, Renesas) ?

(actually, I'd claim that learning a "single accumulator architecture" is pretty important if you're going to bother with 8bit microcontrollers at all (an arguable topic, of course), and that that a lot of the *interesting* architectural differences show up in the things that are done to entice embedded developers, like the bit processor in 8051, or the direct test instructions on "memory.")

What do you care, if you're programming in a HLL anyway?
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11238
  • Country: us
    • Personal site
Re: Chinese ATMega88 clone
« Reply #37 on: December 18, 2013, 03:38:09 am »
Yes, and I try avoid all mentioned MCUs. I've started with singe accumulator MCUs and I'm not sure if studying them can be of any benefit, except for broadening the knowledge, of course.

It also leaves ARM, which is my current first choice. I like to have free and open development tools that I can run on any platform I choose.
Alex
 

Offline andersm

  • Super Contributor
  • ***
  • Posts: 1198
  • Country: fi
Re: Chinese ATMega88 clone
« Reply #38 on: December 18, 2013, 05:21:59 am »
It is fully compatible with all existing compilers. At least that's what they claim.
A patch with the changed instruction costs may let the compiler generate better code for their chip.

Offline amyk

  • Super Contributor
  • ***
  • Posts: 8264
Re: Chinese ATMega88 clone
« Reply #39 on: December 18, 2013, 06:20:12 am »
Quote
A patch with the changed instruction costs may let the compiler generate better code for their chip.
I think there's something great about some unknown Chinese company being able to come up with an AVR-compatible core and making it faster the Atmel's. Almost like Intel vs AMD...?

FYI for the 8051 and related single-accumulator architectures (6502 comes to mind), the first 128 or so bytes of "memory" are to be treated as registers.
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11238
  • Country: us
    • Personal site
Re: Chinese ATMega88 clone
« Reply #40 on: December 18, 2013, 06:26:01 am »
There is plenty of open AVR cores out there, you don't need to invent anything.

"Faster" is also questionable. Just yesterday I ran Xmega chip at 48 MHz (32 MHz maximum frequency according to the datasheet). I just needed to test that clock for USB is ok. This does not mean that Xmega can run at 48 MHz over entire temperature range.

And Atmel is liable if parts do not work as claimed in the DS. Do you trust that some Chinese company, for which there is no contact information to be found, made all the test and can guarantee that parts actually perform according to the DS (which is only available in Chinese)?
« Last Edit: December 18, 2013, 06:34:56 am by ataradov »
Alex
 

Offline Rick Law

  • Super Contributor
  • ***
  • Posts: 3439
  • Country: us
Re: Chinese ATMega88 clone
« Reply #41 on: December 18, 2013, 06:28:19 am »
Quote
A patch with the changed instruction costs may let the compiler generate better code for their chip.
I think there's something great about some unknown Chinese company being able to come up with an AVR-compatible core and making it faster the Atmel's. Almost like Intel vs AMD...?

FYI for the 8051 and related single-accumulator architectures (6502 comes to mind), the first 128 or so bytes of "memory" are to be treated as registers.

If memory serves, AMD was a "second source" manufacturer making the 486 (386?) under Intel license.  So they AMD not start from scratch.  There were however a few other manufacturers (Cyrix, VIA...)  I believe at least one of these two is Chinese owned.
 

Offline andersm

  • Super Contributor
  • ***
  • Posts: 1198
  • Country: fi
Re: Chinese ATMega88 clone
« Reply #42 on: December 18, 2013, 06:51:46 am »
"Faster" is also questionable. Just yesterday I ran Xmega chip at 48 MHz (32 MHz maximum frequency according to the datasheet). I just needed to test that clock for USB is ok. This does not mean that Xmega can run at 48 MHz over entire temperature range.
Several instructions execute in fewer clock cycles on the LGT8F88A, so clock-for-clock it is faster than the ATMega88

Offline Rick Law

  • Super Contributor
  • ***
  • Posts: 3439
  • Country: us
Re: Chinese ATMega88 clone
« Reply #43 on: December 18, 2013, 07:00:48 am »
There is plenty of open AVR cores out there, you don't need to invent anything.

"Faster" is also questionable. Just yesterday I ran Xmega chip at 48 MHz (32 MHz maximum frequency according to the datasheet). I just needed to test that clock for USB is ok. This does not mean that Xmega can run at 48 MHz over entire temperature range.

And Atmel is liable if parts do not work as claimed in the DS. Do you trust that some Chinese company, for which there is contact information to be found, made all the test and can guarantee that parts actually perform according to the DS (which is only available in Chinese)?

Why not?  One just needs to know who is behind the guarantee.

If you own a laptop, chances are, (80-90% probability?) they are made by a Chinese manufacturer.  Got a microwave oven?  Chances are, they are made by a Chinese manufacturer.  So plenty of the Chinese manufacturers and designers seem to be doing an adequate or even a good job doing what they are/were contracted to do, and their US counterpart feels the stuff done is good enough that they have no problem standing behind their products made by their Chinese contractors.

Obviously, HP (or GE, or...) wouldn't just do a web-search to decide who would be their OEM manufacturer.  They choose carefully and the quality of the choice is reflected by the quality of their own decision making process.

There are good companies there as well as here (where ever here is), and there are bad companies there as well as here.  One just need to be careful and know the company (brand/dealer) one deals with.

eBay or AlliExpress permit a kind of business model that can be abused by crooks easier than other business models.  I would not judge all Chinese companies by the crooks and products one can find on web-retailers.  Unfortunately we being forum readers on the internet likely let internet experience weight too much in our judgement.

When I was working in New York City over 10 years ago, I could readily buy a "genuine Rolex" for $10 within blocks from my office.  I can also get camcorders, VCR, walkman tape players...  I am sure I will get what is coming if I spend $6 for a "genuine new Sony Walkman" and expected a real Sony Walkman.  Shopping in NYC then (and perhaps now) was no different than strolling down the web.  You got to do your homework - and if the deal seems to good to be true, it probably is too good to be true.
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11238
  • Country: us
    • Personal site
Re: Chinese ATMega88 clone
« Reply #44 on: December 18, 2013, 07:01:36 am »
Ah, that. That is also a characteristic of the available open cores, they often don't follow original timings and sometimes they are faster. We can give them that, but I don't really think it is important. You don't use AVRs for high performance applications.
Alex
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11238
  • Country: us
    • Personal site
Re: Chinese ATMega88 clone
« Reply #45 on: December 18, 2013, 07:08:03 am »
There are good companies there as well as here (where ever here is), and there are bad companies there as well as here.  One just need to be careful and know the company (brand/dealer) one deals with.

I'm not saying that all Chinese companies are bad, and I see that a lot of electronics comes from China.

But this particular one is bugging me more than any other. For one, it is not clear what the legal status of their product, we'll have to wait for Atmel's reaction.

I personally don't understand what exactly is patentable about MCU architecture/instruction set, but something is holding everyone else from making AVR-compatible chips. And I also know that there is something in ARMv3 and above that prevents open implementations, so there is something you can patent and I'd really like to hear an explanation of what it is exactly.
Alex
 

Offline firewalker

  • Super Contributor
  • ***
  • Posts: 2450
  • Country: gr
Re: Chinese ATMega88 clone
« Reply #46 on: December 18, 2013, 02:06:09 pm »
Is there any source code/make files available for their clone. I wasn't able to locate an AVRGCC example.

I they are offering more options how can the compiler make use of those option without being patched for?

-mmcu= ???

Alexander.
Become a realist, stay a dreamer.

 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Chinese ATMega88 clone
« Reply #47 on: December 18, 2013, 03:09:11 pm »
"-mmcu"

what did they say this chip is a clone of?
================================
https://dannyelectronics.wordpress.com/
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11238
  • Country: us
    • Personal site
Re: Chinese ATMega88 clone
« Reply #48 on: December 18, 2013, 05:03:13 pm »
I they are offering more options how can the compiler make use of those option without being patched for?
They are not offering anything extra, they just have some instructions that take less time to execute than their counterparts from the "prototype" device.  So just select mega88 and you will be fine.
Alex
 

Offline baljemmett

  • Supporter
  • ****
  • Posts: 665
  • Country: gb
Re: Chinese ATMega88 clone
« Reply #49 on: December 18, 2013, 10:13:23 pm »
If memory serves, AMD was a "second source" manufacturer making the 486 (386?) under Intel license.

Going back further than that, too -- I've seen AMD-fabbed 80186s, for instance.  Not sure about anything older than that, though.
 

Offline Stonent

  • Super Contributor
  • ***
  • Posts: 3824
  • Country: us
Re: Chinese ATMega88 clone
« Reply #50 on: December 19, 2013, 03:27:26 am »
If memory serves, AMD was a "second source" manufacturer making the 486 (386?) under Intel license.

Going back further than that, too -- I've seen AMD-fabbed 80186s, for instance.  Not sure about anything older than that, though.

I think it was 8080 through 286. When Intel started reconfiguring for the 386, AMD started making faster 286 CPUs. Then Intel decided to end their relationship with AMD because they didn't want to share the 386 market with them. Lawsuits back and forth took place.  AMD wasn't sure if they'd win in the end so they started a clean-room reverse engineering of the 386 and made socket compatible CPUs through the P55C architecture. When Intel released the Pentium II, AMD continued the P55C/Socket 7 platform by upping the data bus to 100MHz.

When the Athlon came out, the bus it used was based on the DEC Alpha 21264 EV6 bus but coupled to DDR RAM, while Intel was making a failed attempt at supporting SDRAM and Rambus at the same time.  (Which also included motherboard recalls due to design flaws in the SDRAM support)

The larger the government, the smaller the citizen.
 

Offline Rick Law

  • Super Contributor
  • ***
  • Posts: 3439
  • Country: us
Re: Chinese ATMega88 clone
« Reply #51 on: December 19, 2013, 06:53:06 pm »
If memory serves, AMD was a "second source" manufacturer making the 486 (386?) under Intel license.

Going back further than that, too -- I've seen AMD-fabbed 80186s, for instance.  Not sure about anything older than that, though.

I think it was 8080 through 286. When Intel started reconfiguring for the 386, AMD started making faster 286 CPUs. Then Intel decided to end their relationship with AMD because they didn't want to share the 386 market with them. Lawsuits back and forth took place.  AMD wasn't sure if they'd win in the end so they started a clean-room reverse engineering of the 386 and made socket compatible CPUs through the P55C architecture. When Intel released the Pentium II, AMD continued the P55C/Socket 7 platform by upping the data bus to 100MHz.

When the Athlon came out, the bus it used was based on the DEC Alpha 21264 EV6 bus but coupled to DDR RAM, while Intel was making a failed attempt at supporting SDRAM and Rambus at the same time.  (Which also included motherboard recalls due to design flaws in the SDRAM support)

I guess I forgot more than I remembered...

Someone once said, 5 years in business is a life time (and he was not even referring to computers).  The 8080... that was many many life times ago for the microprocessor business.
 

Offline AndersAnd

  • Frequent Contributor
  • **
  • Posts: 572
  • Country: dk
Re: Chinese ATMega88 clone
« Reply #52 on: January 07, 2014, 05:54:38 pm »
They have a comparison sheet on their website.
They also added a new PDF document a couple of weeks ago:

Migrating from ATMega88 to LGT8F88A http://www.lgtic.com/wp-content/uploads/2013/12/migrating_from_atmega88_to_lgt8f88a_v1.0.pdf

Quote
DEVELOPMENT AND DEBUG

LGT8F88A is fully compatible with ATMega88 from architecture view. It support most of instructions from AVR8L sets, except for SPM which implemented with another way. So any software development environments for ATMega88 are also working for LGT8F88A. Here we give some of them for example:
  • AVR Studio 4.18, AVR Studio 6.0 build 1843 & 1996 (support hardware debug)
  • IAR Workbench for AVR (any version, support hardware debug)
  • Image craft compiler for AVR
  • Code Vision AVR C compiler
  • WinAVR (support debug by GDB)
  • CrossPack for AVR (for Mac OSX)
  • AVRGCC tool chain (for Linux)
But for development hardware support, the difference comes again. You cannot use debug or ISP hardware for ATMega88 to connect with LGT8F88A. Instead, we provide our own debugger and ISP hardware.
We provide SWDICE_mkII hardware to support debugger & ISP. This is only hardware you need to do debug and program.
SWDICE_mkII is also compatible with AVR Studio, you can just treat it as JTAGICE_mkII, but is only designed for LGT8F88A. Besides a debugger, SWDICE_mkII can be reused as a programmer hardware.
There are many popular ASP&ISP toolkit for AVR, the avrdude is the famous one. SWDICE_mkII can also support avrdude through jtag2isp protocol.
We also provide a dedicated ISP toolkit for LGT8F88A, LGTMix_ISP, can be get from our official web site.
LGTMix_ISP support SWDICE_mkII, can be used as a full feature ISP toolkit for LGT8F88A and also for all other microcontrollers designed by LogicGreen.
For usage details of LGTMix_ISP toolkit, please refer to “In system programming” section.

As shown from above picture, ICCAVR and CVAVR which have no debugger and programmer support can be used together with LGTMix_ISP and SWDICE_mkII to burn generated firmware code to target boarder.
We have also port optiboot to support LGT8F88A, so if you got a LGT8F88A Arduino compatible board, you can update firmware by Arduino or avrdude directly.
« Last Edit: January 07, 2014, 06:18:08 pm by AndersAnd »
 

Offline LukeW

  • Frequent Contributor
  • **
  • Posts: 686
Re: Chinese ATMega88 clone
« Reply #53 on: January 08, 2014, 03:04:01 pm »
Personally I'm not convinced that much good comes from this "race to the bottom of the market" in terms of ultra-cheap hardware with every possible corner cut off it.

They've used a CP2102 as the USB virtual UART chipset. How fast is this virtual UART? Probably significantly slower than the speeds you will expect with an ATmega8U2-based system. And you'll need the drivers for that chipset installed on your PC, too. Are working drivers available to suit your operating system? Maybe.

You need a custom-patched version of the Arduino IDE to add support for this hardware target. You can't just use it with a stock Arduino IDE that you've downloaded and installed.

And if the firmware on the microcontroller is somehow corrupted or replaced, are the appropriate files, toolchain and documentation available to allow you to successfully re-flash it? It's not clear that this is available. And if not, what? You throw the hardware in the bin?

In some of the photos it looks like they're not even populating a crystal on the board. Are they using an internal RC oscillator? Then for best results the user should understand that that's the case, and that you can't have really accurate timing.

And they've changed the voltage regulators... how well documented is that? Are the specs really trustworthy?

They specify the maximum allowable input voltage is 24V... and you can clearly see there are a couple of 25V rated tantalum caps in the power supply input part of the board. Thick purple tantalum smoke here we come!  Even if you use the board within a reasonable voltage limit of say 15V, what is the realistic current output available from the 5V and 3.3V pins to power external loads?

And even if the microcontroller really was "close enough" to an ATmega88, you have to recognize the memory limitations of an ATmega88 compared to an ATmega328 you might be used to. Even with support for that chip added to the Arduino IDE, it is likely that many existing Arduino programs that are tested and working on a real Arduino Uno or equivalent will not work.

Many of today's Arduino programs/examples out there in the community will fail to work on an Arduino bootloader equipped ATmega168 with 16k of Flash, and going to an ATmega88 is half as much again.

And when it all goes pear shaped, somebody who doesn't really know what they're buying goes and posts on the Arduino forums etc and says I bought an "Arduino" and it doesn't work! And the Arduino team in Italy, understandably, gets pissed off.

If the third-party company released Arduino-compatible products clearly labelled with their own brand, under their own name, with their own website where you could go to for support questions for that company's products, and it was clear that this is not "from Arduino", it's released and supported and manufactured by a third party company even though it is Arduino-compatible. A lot of the cheap Chinese hardware makers really fail to do this at all and I think this is what pisses off the Arduino team in Italy, whereas Sparkfun or Freetronics, for example, are responsible in this regard.

Basically, lots of little subtle complexities make it harder to use, especially for less experienced users who are just starting out learning to work with Arduino. For users who are just starting out learning to work with Arduino, I would recommend buying a known reliable, well supported hardware platform, from the official Italian Arduino team or from Freetronics for example.

The people that this hurts the most are newbie Arduino beginners, not experienced electronics enthusiasts who understand what they are and are not buying.
And then they go and complain to the Arduino forums or something that "their Arduino does't work!"

And then what? The Arduino team gets pissed off about "counterfeiting", the Arduino team is more likely, perhaps, to move away from openness in the future and start keeping designs closed, and people think that Open Source Hardware is a failure from a business perspective and the misconception persists that you can't build a viable business around OSHW because China rips it off.

And the misconception persists that everything China makes is shit, and the misconception persists that as an engineer you can't touch China at all and you must not have them involved with your manufacturing at all because they are nothing but poor quality, IP theft and generally engineering poison. Are these misconceptions good for Chinese business? Wouldn't it be in their best interests to address them?
« Last Edit: January 08, 2014, 03:06:23 pm by LukeW »
 

Offline dannyf

  • Super Contributor
  • ***
  • Posts: 8221
  • Country: 00
Re: Chinese ATMega88 clone
« Reply #54 on: January 08, 2014, 03:40:18 pm »
Quote
Personally I'm not convinced that much good comes from this "race to the bottom of the market" in terms of ultra-cheap hardware with every possible corner cut off it.

I think for a market to flourish, you need a broad spectrum of products, from Chevys to BMWs. As long as there are demands for such low-quality products, there should be such low-quality products - who are we to say only XYZ should be produced but not ABC? The freedom to choose includes the freedom to choose sub-par products - each and everyone of us does that everyday.

Quote
Are these misconceptions good for Chinese business?

It depends on how you position your products. If you are in the business of selling Chevys, you should not use high quality interior or fancy engines.

"Selling Chevys" is effectively where they are in their development cycle: they are following the footsteps of the Japanese (in the 60's and 70's) and the Americans (in the 30's and 40's).

20 years ago, China was the in the business of primarily exporting toys, shows and pencils. Give them another 20 years, god know what they will be exporting then.

So I wouldn't worry for them.
================================
https://dannyelectronics.wordpress.com/
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 11238
  • Country: us
    • Personal site
Re: Chinese ATMega88 clone
« Reply #55 on: January 13, 2014, 05:00:34 pm »
It is not like this is an official Arduino product. And there has been plenty of "compatible" clones, their market is so small that no one will notice.
Alex
 

Offline westfw

  • Super Contributor
  • ***
  • Posts: 4199
  • Country: us
Re: Chinese ATMega88 clone
« Reply #56 on: January 13, 2014, 05:14:41 pm »
I have a relatively large amount of respect for Itead and Seeed; they seem to "get" the open-source hardware culture, and their clones have been (frequently) boards with significant additional thought and design applied.   This is an interesting experiment on their part, and I hope it works out for them.  As others have pointed out, the "slightly cheaper clone of an Atmega88 *chip*" isn't very interesting "over here"; I do wonder whether it has implications for shipping the board to other parts of the world, though...
 

Offline miceuz

  • Frequent Contributor
  • **
  • Posts: 387
  • Country: lt
    • chirp - a soil moisture meter / plant watering alarm
Re: Chinese ATMega88 clone
« Reply #57 on: January 16, 2014, 12:24:41 pm »
I have chiped in for this board, yesterday got email, they are already shipping. It's easy to run electronics crowdfunding projects when you are basically a fab frontend :)

Will write a report when I get it.


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf