hi all ...
after building my code, I want to debug with step into button to watch memory. however, whenever I press step into it gives an error like : *** error 65: access violation at C:0x0000 : no 'execute/read' permission
I looked for MAP command. and made *.ini file in which I tiped MAP 0x21, 0x7F READ WRITE Am I mistaking with memory ranges ??
Source code is simply
org 2100h setb P1.0 loop: mov C, P1.0 mov P1.7, C sjmp loop end
any help is appreciated
8051 restarts execution at 0000h
Your code starts at 2100h
Try changing your org statement to:
org 0000h
and build your knowledge from there.
you r using eval version man...code size limit is 2k for eval version...so start with org 00h...it works
thank you guys ... it works ... one question more from newbie :) ... I couldnt watch the memory. for this piece of code above how can I see registers P1 , C and etc...
hey go to peripherals->porti/o==>to check for ports. select watch&callstack window->window1->f2 to edit->type the name of register u want to view