摘要 |
The present invention relates to a method and an article of manufacture for differentiating between an in-circuit programming read-only memory ("ROM") and a ROM emulator for purposes of in-circuit programming. In one aspect, the invention relates to a method to determine whether a software program is executing in a non-volatile memory device or an emulator. The method includes reading a binary representation of a first value stored at a predetermined test location and changing the binary representation of the first value to create a binary representation of a second value. The method further includes writing the binary representation of the second value to the test location and reading a resulting value stored at the test location. The method further includes determining whether the resulting value corresponds to the first value or the second value.
|