This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Allocate the global variables to XDATA in small memory model

I have a MCS51 project which is compiled in small memory model, now I want to add a module to the project, the source files of the module comes from other non-C51 project, so I want to compile these source files with C51 in small memory model, but want to allocate all the global variables in this module to the XDATA ram.
I don't want to modify each variable to XDATA one by one, so is there any simple way to implement this requirment?

Your kind support is highly appreciated!

Thanks & Regards
aolin

Parents
  • At least for really old chips, the specification may be only 1000 rewrite cycles. It is these great improvements in number of rewrite cycles for the flash technology which allow USB thumb drives.

    The stated rewrite count is normally a statisticial minimum for the full temperature range, which means that a device operating in room temperature will normally support many more programming cycles.

    As Drew Davis notes, the figures are statistical minimums, i.e. the majority of all chips will manage that number of rewrites with a certain probability. Most memory manufactorers (and some microcontroller manufacturers) have test specifications for their reliability tests directly available on their web servers. Alas, some manufacturers do not want the test routines and the results of the tests known without an NDA agreement :(

Reply
  • At least for really old chips, the specification may be only 1000 rewrite cycles. It is these great improvements in number of rewrite cycles for the flash technology which allow USB thumb drives.

    The stated rewrite count is normally a statisticial minimum for the full temperature range, which means that a device operating in room temperature will normally support many more programming cycles.

    As Drew Davis notes, the figures are statistical minimums, i.e. the majority of all chips will manage that number of rewrites with a certain probability. Most memory manufactorers (and some microcontroller manufacturers) have test specifications for their reliability tests directly available on their web servers. Alas, some manufacturers do not want the test routines and the results of the tests known without an NDA agreement :(

Children
No data