Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics 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.

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
15,155
Helped
4,944
Reputation
9,909
Reaction score
4,755
Trophy points
1,393
Location
Aberdyfi, West Wales, UK
Activity points
128,711
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

  • serv675c.zip
    777 bytes · Views: 12

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
48,925
Helped
14,335
Reputation
28,934
Reaction score
13,083
Trophy points
1,393
Location
Bochum, Germany
Activity points
282,304
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
15,155
Helped
4,944
Reputation
9,909
Reaction score
4,755
Trophy points
1,393
Location
Aberdyfi, West Wales, UK
Activity points
128,711
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.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top