| Details | Message |
|---|
Read-Only Author sam bhoite Posted 5-Sep-2006 03:27 Toolset C51 |  *** error 65: access violation at I:0x80 : no 'write' permission sam bhoite hi i am sam and i m new user to keil using a eval version. currently i m getting error as follows but after certain time and after some definte loop, plz help me to solve this problem. *** error 65: access violation at I:0x80 : no 'write' permission |
|
Read-Only Author Andy Neil Posted 5-Sep-2006 06:00 Toolset C51 |  RE: *** error 65: access violation at I:0x80 : no 'write' permission Andy Neil Please remember to select a Toolset (Product)! "*** error 65: access violation at I:0x80 : no 'write' permission" Does your target actually have any writable memory at I:0x80; ie, address 0x80 in IDATA space? Remember: a true 8051 has only 128 bytes of internal RAM; the 8052 added the extra 128 bytes for IDATA addresses >0x7F |
|
Read-Only Author sameer bhoite Posted 5-Sep-2006 07:32 Toolset C51 |  RE: *** error 65: access violation at I:0x80 : no 'write' permission sameer bhoite i m working on the eval version 3,and prog. is in assembly lang. controller is 89c2051.in the prog there some fixed task which repeting again and again. the prog. work properly for some fix time but after that it jump's to any where in prog. |
|
Read-Only Author Andy Neil Posted 5-Sep-2006 07:40 Toolset C51 |  There is no memory at I:0x80 - hencre no permission to write to it! Andy Neil You didn't answer the question: Does your processor have any writable RAM at I:0x080? In fact, does your processor have any memory at all at I:0x080?? I you don't already know, you can find the answer in the chip's Datasheet (and if you've been writing programs without knowing, it is not surprising that they misbehave!) |
|
Read-Only Author sameer bhoite Posted 9-Sep-2006 06:20 Toolset C51 |  RE: There is no memory at I:0x80 - hencre no permission to write to it! sameer bhoite thank's for the help and i find the soln my way now the code is working properly on h\w. And compliting its all task without any trouble |
|
Read-Only Author Christoph Franck Posted 5-Sep-2006 08:03 Toolset C51 |  RE: *** error 65: access violation at I:0x80 : no 'write' permission Christoph Franck controller is 89c2051. In that case, have a look at the datasheet and check how much RAM the thing actually has. http://www.keil.com/dd/chip/2984.htm in the prog there some fixed task which repeting again and again. the prog. work properly for some fix time but after that it jump's to any where in prog. As long as you're not willing to be more specific (code examples would be nice. if you do post code, please read the guidelines on posting formatted source code), the only thing that can be stated about your program is that it is buggy. |
|
Read-Only Author Jon Ward Posted 5-Sep-2006 08:24 Toolset C51 |  RE: *** error 65: access violation at I:0x80 : no 'write' permission Jon Ward http://www.keil.com/support/docs/814.htm Jon |
|
Read-Only Author Andy Neil Posted 5-Sep-2006 09:02 Toolset C51 |  Code runs in Simulator, but not real hardware Andy Neil Yes, you can tell the Simulator to allow accesses to any addresses you like: http://www.keil.com/support/docs/814.htm But if the memory doesn't physically exist, your code won't work when you try it on a real target! This is a good illustration of one way to get code that won't work on real hardware, but will run in the simulator! |
|