Fermé

Serial Programmer Decoding

Hello,

I am looking to sniff a couple of lines off a Serial ISP Programmer. The serial programmer target device is an OKI - L66Q592 16-bit microcontroller. I have looked nearly all over the internet and exhausted all of my resources to get the programming protocol for this device and couldn’t find anything. So here I am trying to use a off the shelf hardware sniffer to capture the serial information as it programs the device. The serial information will have to be decoded and written back to the hardware device. Developer will choose an analyzer that their familiar with and has the ability to log, analyze and write back over the serial network.

Attached is a datasheet named L66 Serial.PDF. In section 2.4 it explains how the serial mode programming is accomplished using an YDC programmer which they do not sell anymore. The datasheet also shows the pins that are used for serial mode. This section is exactly how the current programmer is completing the programming operation now.

There are certain states the OKI processor must be in order for it to the accept changes written over the serial network. There will be a small hardware development that will take place to pull the TEST pin to high voltage. The EA pin is the input to set serial mode, it should be connected to Vdd. I took some time with a continuity meter and beeped the serial programmer PCB. I attached a schematic Image of how the serial programmer PCB is laid out and how it’s connected to the OKI processor.

The Pins to access the Flash memory:

Pin 95 - P11_2 FLACLK (Serial clock input)

Pin 93 - P11_0 FLADAT (Serial data I/O)

Pin 92 - TEST FLAMOD (High voltage input for serial mode setting)

Pin 3 - EA Input for serial mode setting

VDD

GND

1st step I will purchase a logic analyzer recommended by the developer which he or she is familiar with. The analyzer will be used to see what’s going on with the 4 pins. Create a hardware interface to mimic the states of the pins

2nd step I will purchase an off the shelf serial analyzer which will capture the data and determine the baud rate. The analyzer must have the ability to write back over the serial network.

3rd step will be to decode the data get the writing protocol and reading protocol documented.

4th step Create a Basic GUI that has 4 functions. Open serial Hex file, Save Serial Hex file, Write and Read.

Please note the step above is just a small flow of how the job might follow. The developer may have another method. Also the hardware above could be the most basic. USB to Serial would be a method of my choice. If I have to assembly anything parts should be through-hole.

Developer Knowledge: C++, C, Serial, USB, Decoding Serial, Electrical Engineer

You can download the files here [url removed, login to view]

Thanks

Compétences : Programmation C, Programmation C++, Génie Électrique, Logiciels Embarqués, Microcontrôleur

Voir plus : writing analyzer, what to sell as freelancer, what to get an engineer, what to do in order to be a electrical engineer, what's freelancer, what is network programming, what is network flow, what is bit freelancer, what is an interface in programming, what is a network flow, what is a method in programming, what freelancer c programmer do, what are the functions of a freelancer, to do job over internet as freelancer, the freelancer programmer, setting-out engineer, serial programming, see writing method, reading job freelancer, rate of programmer, programming resources, Programming Logic, programming job over internet, programming job freelancer, programming in assembly

Concernant l'employeur :
( 1 commentaire ) Davie, United States

N° du projet : #2364459

1 freelance a fait une offre moyenne de 750 $ pour ce travail

betaenergy

Dear Sir, I have 10 year experience on analog design, audio system, power electronics, digital motor control, invertetrs, converters, DC-DC converters, power distribution sysetms, PCB design, circuit simulation, sys Plus

600 $ USD en 12 jours
(16 Commentaires)
4.8
moreshkashikar

Hi I'm Asst Prof. at an Engineering college and i have taught Microprocessor and programming language. so has a thru knowledge abt it.

750 $ USD en 20 jours
(0 Commentaires)
0.0