var f = require("Flash"),s = 0x68000;
for(var i = s;i < 0x80000;i+=4096){
console.log(i.toString(16),f.read(8,i));
}
for(i = 0x80000; i < 0x100000; i += 0x4000){
console.log(i.toString(16),f.read(8,i));
}
worked. Some results are strange in my eyes:
reading from 0x7E000 and 0x7F000 returns an empty array. This usually happens for areas, that can't be read using flash
same for 0x80000 and 0x84000
at 0x88000 is some data, is this some old data, or something totally different
Everything else looks fine to me.
Testing with wiflash will follow later, its time for bed now.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
@tve, your version made a test on 4MB version.
testing flash:
worked. Some results are strange in my eyes:
Everything else looks fine to me.
Testing with wiflash will follow later, its time for bed now.