Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When mass-producing a mask-ROM version after developing using a flash memory version, will some kind of code be written to areas not used by programs?

0
Posted

When mass-producing a mask-ROM version after developing using a flash memory version, will some kind of code be written to areas not used by programs?

0

A1 Yes. Some values are read if data is read from an unused area due to a bug. If an used area where no code has been generated is read, the value read when debugging and that read from a mask-ROM version may be different. If the program operation depends on the value read from this area, the operations with the mask-ROM version is deferent from those at the step of debugging. Since this situation must be avoided, it is necessary to use the same value as the fill value for areas outside the code area, so that the operations with the mask-ROM version are the same as those at the step of debugging. To prevent problems that can occur after ordering mask-ROM version production, we also recommend using the -U option to specify an evaluation when filling.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123