![]() |
![]() |
![]() |
|
|
|||||||
| Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Hello
I have been learning how to design with PIC and on my way I decide to use the Free(demo) version of MicroC for writting the source codes and I use ISIS Professional for simulating the written codes with the schematic circuits from ISIS Professional. When I write the code it compile well (on microC) and the hex code generated is not greater than 2K( which is the maximum amount hex code the demo version of microC can generate). When I link the hex code and the circuit from ISIS Professional and simulate I got the following ERROR MESSAGE ERROR: [U1] Error reading file [Testcode.hex] at line 31: Program location 0x2007 is out of range for operand 0x3FF9. [DSIM] BOOT Error. Real Time Simulation failed to start U1 is PIC16f84. Whats is the problem? I really need help on this from you gurus of PIC. Can I have another tool for simulating the circuit before I implement them on hardware? Thank you in advance I present. |
|
|
|
|
|
|
(permalink) |
|
MPLAB is the simulator from MicroChip, it's free, so why not use that?.
I would also strongly suggest you don't use the antique 16F84, it was replaced by the 16F628 (better spec and cheaper) last century. |
|
|
|
|
|
|
(permalink) | |
|
Quote:
|
||
|
|
|
|
|
(permalink) | |
|
Quote:
Ask gramo, he has experience in ISIS
__________________
Superman returns..
|
||
|
|
|
|
|
(permalink) | |
|
Quote:
harebosi, can you attach your code and .dsn file? I'll have a look at where you went wrong. It's probably something very simple
__________________
Spency. PIC Micro's - Your mind is the limit PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net |
||
|
|
|
|
|
(permalink) |
|
It is true that I don't own the simulator. There are at least two ways to specify information that is outside the traditional code space.
The error message itself is really stupid. The simulator is assuming it knows better than the tool that generated the object file. What hubris! If you don't know what a piece of data is about you should issue a warning, say you don't know what to do, and go on. Last edited by Papabravo; 6th June 2007 at 11:39 AM. |
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| Picture from ISIS | Medtronic | Micro Controllers | 3 | 7th January 2008 11:36 PM |
| How to make proffesional panels at home? | cybe | General Electronics Chat | 7 | 19th April 2005 08:47 AM |