Results 134 comments of Ralph Doncaster

I tried find_package(OpenCL), but that didn't work. I'm not a cmake fan, so it's still possible it could work with more changes. I'm using cmake 3.5.1 on Ubuntu 16.04.

gcc will usually optimize division by a power of two into right shifts. For division by the default of 200, there's not much that can be optimized. If you want...

I did some experimentation with the technique, and got the best results by: 1. ground the touch pin with ADC enabled to discharge the ~10pf S/H cap. 2. disable ADC...

I've had no trouble with 44Mhz on a breadboard @5V, so 50+ @3.3V should be fine. http://nerdralph.blogspot.com/2015/07/externally-clocking-and-overclocking.html I was looking back over the f103 specs again, and noticed it has...

> > > I come from a software background, so I'll yield to your experience and experiment for myself when I get a chance. I've always read that anything above...

As you noted, page erase only takes about 4ms, so there is not much time between erase and write. It would be helpful to be able to reproduce the problem...

If you look at the instruction set manual, NOP encoding is 0x0000. 0xFFFF is undocumented, so the fact that it gets decoded as SBRS technically could change. However this has...

I just finished writing the picoboot-lib code to erase all the flash preceeding the bootloader before the page write. I had to leave out EEPROM read in order to keep...

https://github.com/nerdralph/picoboot-lib/releases/tag/v0.5

I've been experimenting with the USBpoll collision bus idle detection loop. 80us makes things much worse. Although I didn't hook up my scope or logic analyzer, I'm confident what is...