Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 22, 2024, 08:28:58 08:28


Login with username, password and session length


Pages: [1]
Print
Author Topic: .  (Read 10377 times)
0 Members and 1 Guest are viewing this topic.
Maddman7887
Inactive

Offline Offline

Posts: 4

Thank You
-Given: 1
-Receive: 2


.
« on: September 20, 2010, 03:44:54 15:44 »

.
« Last Edit: May 29, 2012, 01:31:01 13:31 by Maddman7887 » Logged
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2429

Thank You
-Given: 405
-Receive: 545


Uhm? where did pickit put my mute button


« Reply #1 on: September 20, 2010, 04:33:54 16:33 »

maybe simpler to start from scratch , post the schematic and tell us what it does
Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
LabVIEWguru
Senior Member
****
Offline Offline

Posts: 300

Thank You
-Given: 273
-Receive: 593



« Reply #2 on: September 20, 2010, 06:27:39 18:27 »

Get a book on the particular processor. See where the NMI (non-maskable interrupt) vectors to. This is your start point in the program. You are going to need the addresses of all registers, ports, timers and so on from the book so you can go step-by-step with a sheet of paper and a pencil and do a hand dissassembly of the program. You will also need beer or Xanax. Unless it is something real secret, or you want an intimate knowledge of assembly language, it may be as bbarney says. Many of us have done what you want to do, and it is not a trivial matter to do.
Logged
pickit2
Moderator
Hero Member
*****
Offline Offline

Posts: 4671

Thank You
-Given: 835
-Receive: 4330


There is no evidence that I muted SoNsIvRi


« Reply #3 on: September 20, 2010, 07:20:29 19:20 »

Quote
Hex file that needs converting to C.
Why C? The original would have been in Basic, and you need Asm to basic but maybe to C.
Quote
I understand i would not get the comments back.
True All named Labels & Comments are lost in complie

Quote
The device is a: PIC16F877A-IPT.
I have a Schematic design of the unit.
why not build schematic in proteus or post it here, Im sure someone will take it on.
Logged

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

Posts: 442

Thank You
-Given: 167
-Receive: 149



« Reply #4 on: September 20, 2010, 08:06:41 20:06 »

first u should load on proteus. and debug step by step and see resister (bank) edit it with proper name. then make lbl to subroutine. its need time. Undecided
Logged
TomJackson69
Active Member
***
Offline Offline

Posts: 218

Thank You
-Given: 26
-Receive: 63


« Reply #5 on: September 20, 2010, 08:27:34 20:27 »

If you don't know assembly then it is easier to start from scratch as bbarney already said.

Do you write any program in assembly?
Do you write any program in C?

If you know C then I think start the whole project in C. Since you already have schematic and the function of what the program does then, it is easy to write the program in C instead of assembly.

I have an idea. As you have mentioned, you wouldn't mind to pay for some one to do the job. Well, may be SONSIVRI should start to have a section for JOB BIDDING then you can post your requirement and then some of the member will bid if interesting. The payment will go through Sonsivri and bidder.

Tom
Logged

Con Rong Chau Tien
ALLPIC
Active Member
***
Offline Offline

Posts: 114

Thank You
-Given: 64
-Receive: 72


« Reply #6 on: September 24, 2010, 05:18:09 05:18 »

"I have an idea. As you have mentioned, you wouldn't mind to pay for some one to do the job. Well, may be SONSIVRI should start to have a section for JOB BIDDING then you can post your requirement and then some of the member will bid if interesting. The payment will go through Sonsivri and bidder.

Tom"

Nice Idea. I like it

Or if possible in free time we all come together and make his work more simpler.

Ah Hex to C I will not prefear, I will see schematics and if possible I will add something new so that product will be different
Logged
Maddman7887
Inactive

Offline Offline

Posts: 4

Thank You
-Given: 1
-Receive: 2


.
« Reply #7 on: September 28, 2010, 04:37:29 04:37 »

.
« Last Edit: May 29, 2012, 01:31:26 13:31 by Maddman7887 » Logged
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2429

Thank You
-Given: 405
-Receive: 545


Uhm? where did pickit put my mute button


« Reply #8 on: September 28, 2010, 06:56:25 06:56 »

After a quick look at the schematic you would sure benefit by moving up to an 18f series pic with usb and preferably canbus capabilty of which there are a lot of choices, just something to think about staying with an 16f877 with those other oics avaible would be foolish if your looking to expand it's usability.have you ever visited scantool.net http://www.scantool.net/
Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
Maddman7887
Inactive

Offline Offline

Posts: 4

Thank You
-Given: 1
-Receive: 2


.
« Reply #9 on: October 01, 2010, 03:53:44 03:53 »

.
« Last Edit: May 29, 2012, 01:31:50 13:31 by Maddman7887 » Logged
sphinx
Hero Member
*****
Offline Offline

Posts: 920

Thank You
-Given: 615
-Receive: 272



« Reply #10 on: October 01, 2010, 05:25:29 05:25 »

well if i am not to wrong here i think this is some sort of modem/adaptor to car ECU unit,
 but for that to work there is also the need of pc software for it work properly. this unit
 might work with several brands of car or just a few depending on computer software and
 hardware of adaptor.

there are different systems on the market is it for older or newer cars, since some newer
 cars have ODB-II. but without the software interface which might be made specificly to this
 adaptor, there might be som generic software as well but i am not into deep into that so i
 dont know.

to me this adaptor without computer software or any other info i think its really hard to make
 it work. but you might have software and/or more info on it that works with this unit, otherwise
 it to me looks like a black box that you need to figure out and then make some software to it,
 and thats lot of work, might even get pretty complicated as well.

i remember that elektor had an odb-II adaptor as a project which migh help on continuing developing
 this unit.

best of luch on your project.
 regards mike
Logged

laws of physics are not laws at all, just assumptions and formulas that work as long as we don't figure something new that wrecks the calculations. the infinite onion try to peel that one
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2429

Thank You
-Given: 405
-Receive: 545


Uhm? where did pickit put my mute button


« Reply #11 on: October 01, 2010, 07:23:56 07:23 »

sphinx
your right about the OBII and needing a computer hookup via usb or serial (check my link scantool) , that's basically what this is -- the actual reading of the codes is a standard thing that's the OBII standard that is almost the same world wide but not quite some japanese cars are a lttle different with their code and protocol but most use the same so you build a simple code reader ( checkout the Elm chip) than the PC software which there are alot of free one;s interperts the code and tells you in an easier to understand format what the code is.
Bi-directional isn't as common but most of them are to some degree but limited to turning off trouble codes or the check enigne light the really exspensive ones allow you to change shift points in the transmission and  turn on ABS solenoids to test them etc
If one knows the codes it's just a matter of making the software read the canbus and convert the bits to english  Grin sounds simple right  Grin
heres some links and microchip now has a canbus analizer that looks like a pickit2 that would be very cheap and handy if your really interested in learning this
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1406&dDocName=en546534
http://www.interfacebus.com/Design_Connector_CAN.html
http://www.vector.com/va_index_us.html
http://www.sonsivri.com/forum/index.php?topic=5505.0
Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
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