Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
March 19, 2024, 12:25:44 12:25


Login with username, password and session length


Pages: [1]
Print
Author Topic: asm to hex files problem, --BUILD FAILED-- displayed.  (Read 5182 times)
0 Members and 1 Guest are viewing this topic.
sotos234
V.I.P
Newbie
*****
Offline Offline

Posts: 32

Thank You
-Given: 685
-Receive: 16


« on: February 08, 2010, 04:01:59 16:01 »

Hello everybody.
I have this problem trying to build hex from asm, with MPLAB IDE v 8.43. It won’t create a hex file, showing me the problem BUILD FAILED. Can please someone help?
This is a working project downloaded from EPE Magazine, may of 2000.
I have included the project.
Thank you in advance.
Sotiris.
Logged
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2430

Thank You
-Given: 405
-Receive: 545


Uhm? where did pickit put my mute button


« Reply #1 on: February 08, 2010, 06:06:24 18:06 »

It's more likely that it was written in TASM and not Assembly alot of EPE files are written in TASM especially the older ones and you might even have a hard time assembly it with their TK3 Toolkit if you can find it
Logged

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

Posts: 372

Thank You
-Given: 154
-Receive: 107


If the van is a Rockin'...


WWW
« Reply #2 on: February 08, 2010, 06:48:10 18:48 »

Appears to be for some other assembler than Microchip's, check the article.
Better still, post a ink to the article here.

MY Attempts to assemble any of the .ASM files produced bushels of errors in MPLAB's assembler.



Logged

Give a man a fish and you feed him for a day.
Teach a man to fish and he will sit around in a boat drinking beer all day.
sotos234
V.I.P
Newbie
*****
Offline Offline

Posts: 32

Thank You
-Given: 685
-Receive: 16


« Reply #3 on: February 08, 2010, 07:05:04 19:05 »

Thank you for your time.
Here is the article as is, from EPE magazine free projects.

Logged
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2430

Thank You
-Given: 405
-Receive: 545


Uhm? where did pickit put my mute button


« Reply #4 on: February 09, 2010, 07:04:51 07:04 »

Appears to be for some other assembler than Microchip's, check the article.
Better still, post a ink to the article here.

MY Attempts to assemble any of the .ASM files produced bushels of errors in MPLAB's assembler.

I told you it is written in Tasm assembler  YOU NOT READ MY POST ?
http://ftp://ftp.epemag.wimborne.co.uk/pub/PICS/TASM/
And here's the TK3 toolkit
http://ftp://ftp.epemag.wimborne.co.uk/pub/PICS/ToolkitTK3/

Logged

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

Posts: 372

Thank You
-Given: 154
-Receive: 107


If the van is a Rockin'...


WWW
« Reply #5 on: February 09, 2010, 08:44:27 08:44 »

bbarney:  I saw your response as I posted mine.  I had already tried Mpasm and typed most of my answer, but
got called away for quite a while. I should've edited my post to reflect that.  Also I see now that I should've
gotten off the shift key a fraction of a second sooner typing "My".  Sheesh my typing reeks some times.

Looking at this project, unless it was already perfect for my needs, I'd redo this using a single larger processor,
perhaps a 16F877A or an 18F452 in a 40-pin socketed PLCC package.  Software will be simpler and more direct. 
Processor prices have improved a bunch in th epast 10 years.

C compilers for the PIC have also advanced a bunch in the past 10 years; I'd write the new software in C or some
other hig-level language.
Logged

Give a man a fish and you feed him for a day.
Teach a man to fish and he will sit around in a boat drinking beer all day.
bbarney
Moderator
Hero Member
*****
Offline Offline

Posts: 2430

Thank You
-Given: 405
-Receive: 545


Uhm? where did pickit put my mute button


« Reply #6 on: February 09, 2010, 04:55:58 16:55 »

I've run into this problem with a lot of EPE's older projects and they never compile correctly even when using the toolkit that's supposed to convert the Tasm to MPLAB's assembler your best bet is to re-write in your choice of compiler the flow chart is in the article so that should help(try using Flowcode) and moving up to a 16F628 or 16F88 or even a 16F648 would be better chips and still fit the existing boards or do as Oldvan says and move upto a bigger single chip but than you'll need to re-design everything.
Oldvan your typing is wya bettre thyn mine  Wink
Logged

Ever wonder why Kamikaze pilot's wore helmet's ?
sotos234
V.I.P
Newbie
*****
Offline Offline

Posts: 32

Thank You
-Given: 685
-Receive: 16


« Reply #7 on: February 10, 2010, 12:54:40 12:54 »

Thanks everybody for your time, and answers.

I tried to install and run TK3 toolkit but it has a lot of problems, and cannot be installed, other problem with it, is windows 7 that I have.
That project should cost me halve an hour, to program and 1 hour to assemble the pcb, because it was ready and tested. Now I need a lot of time, as I am not good in programming.

I also ordered the PCBs from EPE magazine. lol.

I fell in a hole, trying to build this. After 10 years from the construction, what did I expect, of that project?
But it is a smart project I have to say.
Thank you again.
Sotiris.
Logged
Ichan
Hero Member
*****
Offline Offline

Posts: 833

Thank You
-Given: 312
-Receive: 392



WWW
« Reply #8 on: February 10, 2010, 03:59:00 15:59 »

You might try to do this:
1. Change the extension of .obj files to .rom
2. Open it with your PIC programming software (ponyprog2000 for example)
3. Save the file as .hex files
4. done.

Or just try the files attached.

You can examine the .hex from MPLAB by:
1. Set the device to 16f84, menu configure -> select device
2. Open the program memory window, menu View -> program memory
3. Import the hex file, menu File->Import

Hope this works.

-ichan
Logged

There is Gray, not only Black or White.
Ichan
Hero Member
*****
Offline Offline

Posts: 833

Thank You
-Given: 312
-Receive: 392



WWW
« Reply #9 on: February 10, 2010, 09:04:40 21:04 »

I play with TK3Toolkit from the link given above, it is a complete VB6 source code.

I successfully generate the 16ch asm into hex files, the result attached. I also rebuild the application and make the setup package for anyone interested to try it, the link is on the .txt file.

-ichan
Logged

There is Gray, not only Black or White.
sotos234
V.I.P
Newbie
*****
Offline Offline

Posts: 32

Thank You
-Given: 685
-Receive: 16


« Reply #10 on: February 12, 2010, 06:07:03 06:07 »

Thanks a lot, for your time, and the help. You are fantastic.

3-4 days from now I will receive the PCBs I ordered, I will construct the project and I will post the results.
Thanks again.

Sotiris.
Logged
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