When testing communication with ds28e05, I found following bug:
REPRODUCTION PROCEDURE:
Set addres to write at 0x00. Write 32B of data.
RESULT:
Only 16B is actually written.
EXPECTED RESULT:
Full 32B is written.
PROPOSITION OF SOLUTION:
Function ds28e05WriteMemory():
This:
if ((length - wBytes) >= (BYTES_PER_PAGE))
instead of this:
if ((length - wBytes) > (BYTES_PER_PAGE))
This soultion was tested with writing 32B into memory.
All bytes was actually written.
When testing communication with ds28e05, I found following bug:
REPRODUCTION PROCEDURE:
Set addres to write at 0x00. Write 32B of data.
RESULT:
Only 16B is actually written.
EXPECTED RESULT:
Full 32B is written.
PROPOSITION OF SOLUTION:
Function ds28e05WriteMemory():
This:
if ((length - wBytes) >= (BYTES_PER_PAGE))
instead of this:
if ((length - wBytes) > (BYTES_PER_PAGE))
This soultion was tested with writing 32B into memory.
All bytes was actually written.