Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
LinkBack Thread Tools Display Modes
Old 30th March 2004, 02:29 AM   (permalink)
Default how would i generate HEX file for multiple assembly files?

hi, i am using PICDEM 2 PLUS demo board ,PIC16F877 and MPLAB ICD2 when i bought the board, one demo program is included for the PIC16F877.

for the program, it has 3 assembly files and one linker file, i want to genenrate the HEX file. but when i only build one assembly file or i create one project file containing three assembly files and the linker file, some error messages will appeared.

what should i do to generate the HEX file?
belinda_sg is offline  
Old 30th March 2004, 06:11 AM   (permalink)
Default

What is the error Msg?
What version of MPLAB?

I have also had trouble in the past using more then one asm file, I just put it all in one.

But, if this came from microchip that way, it should work.
kentken is offline  
Old 30th March 2004, 08:54 AM   (permalink)
Default

Use include "filename.asm" in the main asm file, it should then, according to my knowledge, automaticly include all the files you have included 8)
hantto is offline  
Reply

Bookmarks

Thread Tools
Display Modes





All times are GMT. The time now is 05:26 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker