Ewen McNeill

Results 94 comments of Ewen McNeill

Weirdly, I was getting that kind of message on MimasV2 and Arty just now, while trying to test something else; I'm a bit unclear what's changed in the way "make...

In https://github.com/timvideos/litex-buildenv/issues/100#issuecomment-466281982 I wrote: > Weirdly, I was getting that kind of message on MimasV2 and Arty just now, while trying to test something else; I'm a bit unclear what's...

FWIW, my theory is that it actually *does* write all the bytes, but it doesn't *read* all the bytes, due to the way that `read()` works on linux/unix, and this...

@zrecore We've previously found (at least in older) `tinyprog` versions, that there were issues with programming files of a specific size, and from memory the default firmware (HDMI2USB basic firmware)...

Looks like that's reproducible -- the upload image for `FIRMWARE=none` reliably fails, and seems to *reliably fail at exactly the same position*, if it doesn't fail earlier due to a...

@mithro > FYI - The above messages from @zrecore were actually from me debugging on @zrecore's laptop. I did wonder about the timing when I later saw a tweet about...

After some experimentation, I'm pretty much convinced that there's an issue with writing *partial* "minor sectors". If I detect the minor sector, append enough 0x00 bytes to fill out the...

@mithro, It turns out that [`self.cmd`](https://github.com/tinyfpga/TinyFPGA-Bootloader/blob/6e312535cba4fc0216a59b1b9af651ba45fcc1d3/programmer/tinyprog/__init__.py#L322-L329) is basically just [serialising raw SPI commands over the serial interface, in a byte encoded format](https://github.com/tinyfpga/TinyFPGA-Bootloader/blob/master/README.md#access-spi-command), which means in [`self._write`](https://github.com/tinyfpga/TinyFPGA-Bootloader/blob/6e312535cba4fc0216a59b1b9af651ba45fcc1d3/programmer/tinyprog/__init__.py#L450-L455) the `0x02` command is...

FTR, in the failing mode, this is what `self.cmd` is generating to send to the bootloader for the final write / read commands: ``` (LX P=tinyfpga_bx.minimal F=micropython R=default-target-tinyfpga-bx) ewen@parthenon:/src/fpga/litex-buildenv$ tail...

In this write command (from above): ``` write sector at 343808 len=224 CMD 2 at 343808 (len=224) 01 e4 00 00 00 02 05 3f 00 ae d1 6a 4a...