robosang WROTE:I think you are using Assembly code, right?
i use notepad to open the ASM file, then copy the code inside and paste to the MPLAB, then try to create HEX file
it can't be do like that?
robosang WROTE:I think you are using Assembly code, right?
robosang WROTE:Where did you get the assembly code? Didn't they show the method?
Open the asm file in MPLAB IDE, goto project, Quick Build.
ober WROTE:There are many different method to generate hex code from a source code. As robosang highlighted, if you are using assembly code, example from DIY project 1, the LED blinking for PIC16F84A. You can actually refer to the Details Description and follow the step at the back. And that is just one of the methods to generate hex code from assembly code.
If you are using C code, again, there are many methods. We are using MPLAB IDE + Hi-TECH C compiler for PIC16F and MCC18 for PIC18F. The youtube link that I show is the method to compile (in other words, to generate hex code) the C code and further get the hex code.
sxmplab WROTE:ober WROTE:There are many different method to generate hex code from a source code. As robosang highlighted, if you are using assembly code, example from DIY project 1, the LED blinking for PIC16F84A. You can actually refer to the Details Description and follow the step at the back. And that is just one of the methods to generate hex code from assembly code.
If you are using C code, again, there are many methods. We are using MPLAB IDE + Hi-TECH C compiler for PIC16F and MCC18 for PIC18F. The youtube link that I show is the method to compile (in other words, to generate hex code) the C code and further get the hex code.
i try to get HEX file from this but fail , could u teach me how to get it?
http://www.micro-examples.com/public/mi ... clock.html
i no build it just want learn to get HEX file from very beginning source code by using MPLAB only
zhenning WROTE:sxmplab WROTE:ober WROTE:There are many different method to generate hex code from a source code. As robosang highlighted, if you are using assembly code, example from DIY project 1, the LED blinking for PIC16F84A. You can actually refer to the Details Description and follow the step at the back. And that is just one of the methods to generate hex code from assembly code.
If you are using C code, again, there are many methods. We are using MPLAB IDE + Hi-TECH C compiler for PIC16F and MCC18 for PIC18F. The youtube link that I show is the method to compile (in other words, to generate hex code) the C code and further get the hex code.
i try to get HEX file from this but fail , could u teach me how to get it?
http://www.micro-examples.com/public/mi ... clock.html
i no build it just want learn to get HEX file from very beginning source code by using MPLAB only
No wonder you are getting error. It is BASIC source code. You need a BASIC compiler.This is one of the compiler:
http://www.sfcompiler.co.uk/swordfish/
zhenning WROTE:It is written there its written using mikroBASIC. You will need that. I guess it would be a better option compared to proton basic
Users browsing this forum: No registered users and 11 guests