Author Topic: Example projects, programming and debugging tools to work with Elan EM78  (Read 6566 times)

0 Members and 1 Guest are viewing this topic.

Offline cybergibbonsTopic starter

  • Frequent Contributor
  • **
  • Posts: 400
I am working on several projects that involve reverse engineering of small microcontroller systems. Increasingly I am finding that these contain Elan Microelectronics Corp microcontrollers in them, most commonly the EM78 series (specifically the EM78P156K and EM78P418N). These appear to be very low cost 8-bit processors with fairly typical peripherals and OTP ROM. This wikipedia page and datasheets suggest they have some similarity with PIC processors, but it would be a stretch to call them clones based on just the information I have.

I presume that they are targeted at cheap mass-produced consumer electronics as OTP ROM makes development awkward.

I have found these in many products across a range of manufacturers now, and I am surprised at how little they are mentioned on the internet as a whole, and how poor the documentation is. EMC does not seem interested in helping those who aren't buying thousands of units.

Here is a PDF of a PowerPoint presentation that refers to the in-system-programming in a roundabout way.

There is a big page of supporting documentation. However, most of these 404 for me, and if I google for other copies, they are of poor quality and very disjointed. "AN-023 On Board Program for EM78 Family's OTP" looks interesting - but if this is a google cache of it (going by filename), then it isn't.

There are references to using the UWTR and DWTR programmers. I can't find where to buy these though. There have been listings on ebay, but they are untested and infrequent.

I have just found this document ("How to Implement ICP Using ELAN EM78PXXX
General Purpose OTP MCUs") which has a couple of interesting pieces of information:

> Note: for manufacturers wanting to develop their own OTP programming
> hardware,  Elan’s OTP  programming specifications are available free
> of charge under NonDisclosure Agreement (NDA).

and

> The EM78P156 is pin and function compatible with Microchip PIC
> 16C54/55/56 (see Elan application  note “Replacing Microchip’s  PIC
> 16C54/55/56/57 with Elan Microelectronic’s EM78P156/P447”).

I can't find this application note unfortunately.

There are also references to a robot kit called "Cybot" and how they are PIC clones.

I have yet to get any response from their support and I have tried calling and emailing. The domain "www.elan-europe.com" mentioned on some datasheets is dead, so I am stuck with Taiwan.

So, my questions are:

 1. How close are these to clones of PIC processors? Sounds like the EM78P156K is a direct clone - does this include ISP?
 2. Does anyone know of any example projects, hobbyist or commercial, that are documented on the internet and use this series of processors?
 3. Is there an open source or otherwise freely available toolchain for them?
 4. Mention is made of in system programming in several data sheets and pages, but I can't find any documentation. Does anyone know of any?
 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 8517
  • Country: us
    • SiliconValleyGarage
all those links work perfectly fine from here ...

here is some more stuff :
http://www.emc.com.tw/eng/st_8bit.asp##A000001
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline cybergibbonsTopic starter

  • Frequent Contributor
  • **
  • Posts: 400
Seriously - those links haven't worked for 7 months. I sent them another couple of emails nagging them about it this week as the non-English app notes worked fine. I wonder if they sorted them?

Still, there is no ISP protocol app note and the one about replacing pics is missing, an I can't purchase hardware that can be used by their software.
 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 8517
  • Country: us
    • SiliconValleyGarage
you got something wonky with your computer .... i just downloaded all of them without a single problem.
i sent you a pm to email me. i'll send you a zip file with all that stuff in it.
« Last Edit: May 14, 2012, 11:54:58 pm by free_electron »
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline steve_w

  • Regular Contributor
  • *
  • Posts: 190
  • Country: au
Worked OK for me too.

regards

SW
So long and thanks for all the fish
 

Offline amspire

  • Super Contributor
  • ***
  • Posts: 3802
  • Country: au
I have yet to get any response from their support and I have tried calling and emailing. The domain "www.elan-europe.com" mentioned on some datasheets is dead, so I am stuck with Taiwan.

all those links work perfectly fine from here ...

Someone has actually got this link to work?

As far as I can see, the DNS servers for this domain do not have any entry for this domain, so I am not sure how it can possibly work for anybody.

I double checked with Alertra.com and it didn't work from 10 different sites around the workd including the US, London, Singapore HK, and China.

As far as I can see, the domain has had no traffic for at least the last 3 months.

Richard.
« Last Edit: May 15, 2012, 12:55:17 am by amspire »
 

Offline free_electron

  • Super Contributor
  • ***
  • Posts: 8517
  • Country: us
    • SiliconValleyGarage
I can download all the files from that big documentation page without problems. A bunch of pdf files and a bunch of rar files. All work without error.

I have not tried the europe stuff. The op os after the appnotes and software. That all downloads fine from the taiwan site.
Professional Electron Wrangler.
Any comments, or points of view expressed, are my own and not endorsed , induced or compensated by my employer(s).
 

Offline cybergibbonsTopic starter

  • Frequent Contributor
  • **
  • Posts: 400
Sorry - maybe I wasn't clear on the the earlier reply - when I looked at the page 7 months ago, those links didn't work. I emailed about this at the time. I then came back to this project, and found they were still broken, emailed them last week and yesterday morning, and now they work fine. I think they may have finally fixed them. Previously I was getting a Chinese language 404.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf