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.
In my application, I want to easily change address of SFR include user's commands. Such as: sbit ram_en=P1^0; ...... /*In another place, I want to change ram_en to P1^2 dynamiclly.*/ I am try to do this(not definition field) in my code: ... sbit ram_en=P1^2; .... But it can not pass when compiling. So, how can I implement this function? Best regards!
"Sorry, that's my mistake, it should be 'processor'..." Hmmm... "C51 structure processor" still doesn't mean anything. What do you mean? "Thus it does not need re-compile code. This can give user more flexibility and more convenience." Well, yes - more flexibility and more convenience, but fundamentally impossible on an 8051! I think you would be misleading your students by suggesting that they can do this without having to recompile. Anyhow, how long does it take to recompile such student projects?
Hehe, I believe it will take less time to re-compile project code. But I just want to make one system that can cast off IDE and programmer when I change some pin functions, that's it. If so, it seems I have to give up this idea.... Thanks for your help!
You might be able to do this using the Crossbar feature on (some of) the Silicon Labs (nee Cygnal) parts...
OK, I see, thanks again!