New answers tagged


The larger device is suspected to cause the kernel to switch it between modes of operation/memory banks, which puts it into an unexpected state after the reboot. This causes reads to either return unexpected data or nothing at all. A reset command, specially 0x66 0x99 seems to work for this device.


This is a common confusion, and some international standards organizations are trying to prevent it. New prefixes have been introduced for integer powers of 2, to go along with the existing prefixes that are integer powers of 10. The correct way to describe 1024 bytes is a 1 KiB (kibibyte). Likewise, \$2^{20}\$ bytes is 1 MiB (mebibyte) and \$2^{30}\$ is 1 ...


It is explicit from the context. Just look at how memory addresses are given in hex or binary when they are used in each command. 1 Kbyte means 1024 bytes and 1 Mbit means 1048576 bits. The chip datasheet says it has a size of 8 megabits. Memory locations are accessed as 8-bit bytes, so there are 1 megabyte of addresses, or in other words, 20 bits of address ...

Top 50 recent answers are included