Running MPLAB simulation problems
Running MPLAB simulation problems
I'm trying to run MPLAB to simulate an 18F8520 but I cannot get it to work as the assembler objects to the code produced by MikroC can anyone give me any guidance?
The asm code produced is not compatible with MPLAB the main problems are the line numbers which all have to be taken out and the variable declarations which have to be included.
This has problem has come up before, my advice is have a little moan to mE and if enough people want MPLAB compatible assembly then they will probably do something about it.
This has problem has come up before, my advice is have a little moan to mE and if enough people want MPLAB compatible assembly then they will probably do something about it.
Graham Ambrose
Re: Running MPLAB simulation problems
From MPLAB main menu: File->Import, then point to your HEX made in mC and then run the simulator... It always works.
Re: Ok but...
MPLAB is very complicated to configure. You have to try various settings in Project->Edit Project
-
- Posts: 6
- Joined: 30 Jul 2005 01:56
MPLAB simulation
Can any one tell me how to import MikroC into MPLAB so that I can program a chip via my ICD2 programmer.
With MPLAB runing, ICD2 selected as the programmer, and the target PIC
selected, click File >> Import, and load the compiled .hex file.
MikroC won't integrate (as a language tool) into MPLAB, but you can still
use ICD2 to program code generated by MikroC into the target.
selected, click File >> Import, and load the compiled .hex file.
MikroC won't integrate (as a language tool) into MPLAB, but you can still
use ICD2 to program code generated by MikroC into the target.
regards,
Bruce
http://www.rentron.com
Bruce
http://www.rentron.com