Author Topic: Help needed in recognizing MCU (with picture)!  (Read 3177 times)

0 Members and 1 Guest are viewing this topic.

Offline FlizTopic starter

  • Contributor
  • Posts: 26
Help needed in recognizing MCU (with picture)!
« on: November 27, 2012, 03:27:29 pm »
Hi all,

I would need help in recognizing MCU that I took out from my bike light.
It's a cheap chinese light but it does a really good job, only downside are the modes in which this light can work.
So, I decided to change them but for that I have to reprogram MCU unfortunately all markings from top side of MCU were deleted :(
at the bottom there is only this code: 123SNAZ0B and some hieroglyphs that I cannot decipher!!!
Pictures attached:


Please, help, anyone!!!
« Last Edit: November 27, 2012, 03:30:58 pm by Fliz »
 

Offline alanb

  • Frequent Contributor
  • **
  • Posts: 344
  • Country: gb
Re: Help needed in recognizing MCU (with picture)!
« Reply #1 on: November 27, 2012, 05:09:38 pm »
Not all MCUs are reprogrammable. If you were able to identify the chip and assuming that it is re programmable  and had the correct programmer for it would still be a major challenge to re write the firmware without access to the original source code.

As an alternative you may be able to reverse engineer the PCB to get a schematic, then find an MCU with the correct pin outs and then write the firmware from scratch.

This would also be quite difficult to do.

Sorry I don't have a simple solution.
 

Offline TheDirty

  • Frequent Contributor
  • **
  • Posts: 440
  • Country: ca
Re: Help needed in recognizing MCU (with picture)!
« Reply #2 on: November 27, 2012, 05:46:43 pm »
Looks like pins 1 and 8 are VDD and VSS, so it looks like an 8pin PIC would work.  MCLR would have to be disabled.  It looks like it's being pulled down.  Everything would have to be checked on the board, but it looks like a good possibility.
Mark Higgins
 

Offline T4P

  • Super Contributor
  • ***
  • Posts: 3697
  • Country: sg
    • T4P
Re: Help needed in recognizing MCU (with picture)!
« Reply #3 on: November 27, 2012, 05:47:09 pm »
It's highly probably a PIC or a AVR  ::)
 

Offline jabramo

  • Regular Contributor
  • *
  • Posts: 59
  • Country: ca
Re: Help needed in recognizing MCU (with picture)!
« Reply #4 on: November 27, 2012, 06:01:52 pm »
^^ I doubt it.

This thing will have been cost cut to the max. AVR and PIC are defiantly not the cheapest so my guess it isn't one of the two. I think alanb is right I doubt it will be reprogrammable. I would guess this thing would have something similar in it as the MCU that electric toothbrush Dave took apart once.

You might be lucky to retrofit a PIC in there like TheDirty says
 

Offline T4P

  • Super Contributor
  • ***
  • Posts: 3697
  • Country: sg
    • T4P
Re: Help needed in recognizing MCU (with picture)!
« Reply #5 on: November 27, 2012, 06:09:14 pm »
You doubt it but chinese flashlights come with either ARM or PIC, what else can you find a SO-8 package?  :-DD
 

Offline FlizTopic starter

  • Contributor
  • Posts: 26
Re: Help needed in recognizing MCU (with picture)!
« Reply #6 on: November 27, 2012, 06:13:08 pm »
I know that all but (referring to a alanb post) I was still hoping to be able to reprogram the damn thing because it's much easier to do that (if it's not locked) then to unsolder original mcu and solder back the replacement... Original source code is not so important because I don't like it anyway.

As for reverse engineering: MSP430G2230 from Texas Instruments has a compatible pinout (datasheet, page 2), my friend (with same bike light) got one today, burned new UI to it and replaced original MCU with it, works better than the genuine MCU BUT, it's a pain in the "back" to do so and it can only be done once (soldering that thing is messy job), that's why I was hoping to discover what is the genuine MCU and I was hoping it's Attiny (something like 13a) only question in that case would be is it locked or not...

Cheers

P.S. P4T is right, chinese flashlights mostly use atmel atiny13a:
« Last Edit: November 27, 2012, 06:17:04 pm by Fliz »
 

Online amyk

  • Super Contributor
  • ***
  • Posts: 8275
Re: Help needed in recognizing MCU (with picture)!
« Reply #7 on: November 27, 2012, 06:17:40 pm »
What happened to R10?

The circuit looks simple enough to trace, and finding the positions of the power supply pins will get you a good idea of what the MCU is. Fortunately AVR and PIC have different pinouts. If all else fails a decap will give you exactly the model/make, as that is written on the die.
 

Offline FlizTopic starter

  • Contributor
  • Posts: 26
Re: Help needed in recognizing MCU (with picture)!
« Reply #8 on: November 27, 2012, 06:22:37 pm »
What happened to R10?
close encounter with hot soldering iron  ;D Guess who won :-DD

Does this look familiar to you AVR/PIC guys?
« Last Edit: November 27, 2012, 06:45:56 pm by Fliz »
 

Offline FlizTopic starter

  • Contributor
  • Posts: 26
Re: Help needed in recognizing MCU (with picture)!
« Reply #9 on: November 27, 2012, 06:35:50 pm »
PIC12F683 maybe???
For now, it's working OK with that TI MCU solution...
« Last Edit: November 30, 2012, 11:36:57 pm by Fliz »
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf