![]() | ![]() | ![]() |
| |||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
![]() |
| | Tools |
| | #1 |
|
I'm busy building a LCF project from an elektor magazine. I've got the asm and hex file and would like to know how to program it with mplab (using a inchworm) If I open the asm file and compiled it with mplab there's a ton or errors, so I thought since i've also got the compiled .hex file I could just write it to the PIC. Can I just open the hex file in mplab and program it? Or does mplab automatically compile the asm file and them program it. | |
| |
| | #2 |
|
If it's the one I'm thinking of?, the HEX file doesn't work either - it was bizzarely asembled with masses of blank bytes stored in the HEX file, and pieces of the code missing.
| |
| |
| | #3 |
|
Its the one by John Becker - LCFmet790.asm Correction - Its also from everyday practical eletronics and not elektor.
| |
| |
| | #4 | |
| Quote:
The source code probably isn't written for MPASM, John Becker had never even heard of MPASM until I told him about it years back, he was using a shareware assembler instead?. To load the HEX file, try File/Import. | ||
| |
| | #5 |
|
Aah - thanks. That did the trick. Didnt see that import there before | |
| |
|
| Tags |
| file, hex, mplab or inchworm, programming |
| Thread Tools | |
| Display Modes | |
| |
Similar | ||||
| Title | Starter | Forum | Replies | Latest |
| UNIT Committment solution using Dynamic programming | arijit18 | Electronic Projects | 1 | 18th October 2007 09:28 PM |
| Good Programing Techniques | Suraj143 | Micro Controllers | 5 | 27th April 2007 08:27 AM |
| Standalone Pic Programmer Using ICSP or RS232 | Neiwiertz | Micro Controllers | 11 | 27th May 2006 02:23 AM |
| Need Help GAL/PAL Programming | Steel | General Electronics Chat | 2 | 15th May 2004 12:16 AM |
| how would i generate HEX file for multiple assembly files? | belinda_sg | Micro Controllers | 2 | 30th March 2004 08:54 AM |