Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

Can someone convert asm to hex please

Status
Not open for further replies.

macobt2011

Newbie level 5
Joined
May 5, 2011
Messages
10
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,356
I want to built the servo tester with pic12f675 but the code is in asm,I need to be into hex code to prograam the chip.
Here is web site with project servo pic12f675 and on bottom of site is source code in asm,I nees someone to convert into hex code please

Servo tester site here
 

betwixt

Super Moderator
Staff member
Joined
Jul 4, 2009
Messages
14,372
Helped
4,727
Reputation
9,469
Reaction score
4,496
Trophy points
1,393
Location
Aberdyfi, West Wales, UK
Activity points
122,634
All you need is MPLAB which is free from Microchip. I had to change the '.inc' file to "P12F675" before it would compile but I have attached the resulting HEX file for you. If you need to make any changes, I really recommend you download MPLAB.

Brian
 

Attachments


macobt

Member level 1
Joined
Sep 19, 2009
Messages
38
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,511
Thanks a lot betwixt,tomorow I will test the servo tester and I will reply.
Regards macobt
 

macobt

Member level 1
Joined
Sep 19, 2009
Messages
38
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,511
This hex dont work,please convert it again,I dont know to use it Mplab,anyone to help please :(
 

dayanpad

Advanced Member level 4
Joined
Mar 23, 2009
Messages
114
Helped
17
Reputation
34
Reaction score
17
Trophy points
1,298
Location
Colombo
Activity points
1,921
first of all create new folder then save your asm file in it
using MPLAB New project then project wizard then continue sure you will win
 

macobt

Member level 1
Joined
Sep 19, 2009
Messages
38
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,511
But I dont know to work with Mplab,that why I need help someone to convert for me please>
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
47,494
Helped
14,051
Reputation
28,357
Reaction score
12,709
Trophy points
1,393
Location
Bochum, Germany
Activity points
276,187
This hex dont work
How do you know? There are only few possibilities to compile it incorrect but many to screw up the circuit and some more to transfer the hex file incorrectly. What's your programmer? Obviously, you don't like MPLAB.
 

dayanpad

Advanced Member level 4
Joined
Mar 23, 2009
Messages
114
Helped
17
Reputation
34
Reaction score
17
Trophy points
1,298
Location
Colombo
Activity points
1,921
very difficult to understand you
please post your asm file then we will compile it and post hex file
 

macobt

Member level 1
Joined
Sep 19, 2009
Messages
38
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,511
I have pickit clone and the programming the chip its OK,I tested my project and all the wireing is ok,when I turn on the servo tester nothing!
 

macobt

Member level 1
Joined
Sep 19, 2009
Messages
38
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,511
Problem solved,thanks to alll
 

betwixt

Super Moderator
Staff member
Joined
Jul 4, 2009
Messages
14,372
Helped
4,727
Reputation
9,469
Reaction score
4,496
Trophy points
1,393
Location
Aberdyfi, West Wales, UK
Activity points
122,634
Please tell us what it was - I believe the asembling to HEX I did was correct, was it a hardware problem?

Brian.
 

macobt

Member level 1
Joined
Sep 19, 2009
Messages
38
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,511
Problem was the crystal,new crystal but with defect,I buy a new one and now work great
here is video of my servo tester
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top