We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
im facing problem to acess the data bytes serially to the code memory.if it is possible give me a solution.
i can write to the code memory statically. example unsigned char code array[10]={10,20,30------} this is working but wen i write the databytes from serial port it is not possible why?????????????? example wat im trying out---
unsigned char code array[10]; array[i]=SBUF; i++;
if possible give me an example code
"i can write to the code memory statically."
No, you can't.
"example
unsigned char code array[10]={10,20,30------}
this is working"
That's because the data is loaded into your PROM by your PROM programmer - it is not loaded at run-time by the processor.
"wen i write the databytes from serial port it is not possible why?"
I explained that to you in my previous post.