Deqing Sun

Results 18 issues of Deqing Sun

DFU_UTIL don't reenumerate successfully in new OSX. So the bootloader will not exit and user need to reset target board. reenumerate utility from Apple's Prober.app can fix this issue

help wanted

https://github.com/joshfraser/robinhood-to-csv/blob/4e664be77defa90432df285b27feea1165bb1418/profit_extractor.py#L102 When q is a float, the range fails. Forcing the q to int solve this bug.

https://sfpc.hackpad.com/rPi-run-4-ever-qFgafqYPM54 on https://openframeworks.cc/ofBook/chapters/installation_up_4evr_macosx.html is dead

The current bmp_img_read function only supports 24 bit uncompressed BMP. Some code like ``` if ((img->img_header.biBitCount != 24) || (img->img_header.biCompression != 0)){ printf("format is not 24bit uncompressed\n"); fclose (img_file); return...

The Generic selection is working with a new build of SDCC. And it makes print function much neater. I got it working in my fork. https://github.com/DeqingSun/ch55xduino/blob/ch55xduino/ch55xduino/ch55x/cores/ch55xduino/genericPrintSelection.h

There used to be a 30ms interval between 2 debugWIRE access. ![screen shot 2018-11-06 at 1 14 11 pm](https://user-images.githubusercontent.com/1385273/48097474-f6da5980-e1e7-11e8-9c46-0f40dbc16996.png) It seems dwReadBytes wait 23ms after receiving the last byte. ![dwreadbytestakes23mstoexit](https://user-images.githubusercontent.com/1385273/48097481-fb9f0d80-e1e7-11e8-8cfc-d96a5db00eb3.png)...

This is much easier than using HIDAPI in C.

~~Test and merge https://github.com/DeqingSun/ch55xduino/pull/56, need to change register for CH559 and CH549~~ ~~Test and merge https://github.com/DeqingSun/ch55xduino/pull/50~~ ~~Test and merge keyboard and mouse complex https://github.com/betaEncoder/ch55xduino/tree/ch55xduino/ch55xduino/ch55x/libraries/Generic_Examples/examples/05.USB~~ ~~Add verbose control in wrapper scripts...

After the power cycle, the first 64 incoming serial bytes get lost. serialRead replied nothing. I've confirmed with a USB analyzer, The second byte of the response to the command...