Closed NeuerUser closed 5 years ago
Try a git pull. I had that problem with an earlier version, and everything is working properly for me now.
I am on commit b9509a2f8ba3b568af51939232b86f58773a00c1 (so, only the port.h commit missing). I rebuilt all programs via "make clean" and "make" in the sw/host directory. Same result.
Ok, I see the bug here ... I was chasing down a bus error some time ago (never found it) in dumpflash, and so I had modified the code so that it would look only at the end of the flash.
I just pushed a working version of dumpflash.cpp to the repo. Let me know if that works for you.
Yes, seems to work now. (but taking ages, of course, so I probably will cancel the transfer before it is finished...)
Yes to taking ages. I think I left it running for about 10 hrs before it finally got to the end.
Also ... the vector read is about 3x faster, but I turned that off in case you wanted to interrupt it mid-way. I might go back to vector reads, but instead to doing them in chunks so that you can interrupt it and get the results, while also having it run 3x as fast.
Before this test I had run "hello", so that the flash got successfully written to.
The file is 8MB large, but contains only zeros.