Louis Beaudoin

Results 55 comments of Louis Beaudoin

I had similar errors with OSX, but it worked in parallels. I haven't thought of a reason why yet, and can't dive into the code right now. Louis On Sep...

Hi Jenna. There's a checksum calculated on data received over USB and written to the end of application space. If it doesn't match, then the boot loader stays in boot...

Cool hack, you're getting close! The checksum is failing because it's calculating the checksum for the app twice (you're writing to flash twice), and writing that computed checksum to flash....

I picked up this issue as I'm about to lose my Windows machine and need the bootloader to work on my Mac. Putting "live" updates here instead of taking notes...

I then had the writeWordToPageBuffer() function send the CURRENT_ADDRESS variable over SPI, so I could see if the address of the mismatch was written to or skipped, and in two...

Solution: Need to disable interrupts before calling boot_page_fill(). According to the datasheet, you need to "execute SPM within four clock cycles after writing SPMCSR", and there's no way to guarantee...

I'm open to that idea. If I understand you correctly, `BufferedStream` would be derived from `LoopbackStream`, and add the new `out_stream` functionality. We'd then need the equivalent for `PipedStream`, would...

> hm... maybe its possible to just put a series of 0 and 1s into memory that represent the clock cycle and latch that out via DMA? Yes, that's close...