Closed phdussud closed 3 years ago
Sorry about that. Both files should have been left out of my commit
Patrick
Changed the target branch to dirtyjtag2 branch. That created a conflict, don't worry I'll fix it.
Sounds good! Thanks for letting me know
From: Jean THOMAS notifications@github.com Sent: Wednesday, January 20, 2021 12:55 PM To: jeanthom/DirtyJTAG DirtyJTAG@noreply.github.com Cc: phdussud phdussud@hotmail.com; Author author@noreply.github.com Subject: Re: [jeanthom/DirtyJTAG] Implement DJTAG2 protocol, add fast SPI (#80)
Changed the target branch to dirtyjtag2 branch. That created a conflict, don't worry I'll fix it.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjeanthom%2FDirtyJTAG%2Fpull%2F80%23issuecomment-763934221&data=04%7C01%7C%7C0764953c016d41c18d6308d8bd85c25d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637467729472113657%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=JlUTcfapiIB9E2Bfm2ir0vG0QJ%2BuYrMjaQ%2FQehFLQ3s%3D&reserved=0, or unsubscribehttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABVQKX6MXYDKC32PFRYVRMDS247NDANCNFSM4WFTKIBA&data=04%7C01%7C%7C0764953c016d41c18d6308d8bd85c25d%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637467729472113657%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=Oadi3%2BpLV3vVEQmmkWi21gZclF0IAp4b9yLd3O7Dh4Q%3D&reserved=0.
@jeanthom If you are interested, I did some simple work to speed up the USB traffic. I added 2 more usb buffers: I use 1 for tx and 2 for rx. The idea is that while cmd is executing we could take advantage of the USB unit to receive another packet. So as soon as we get a packet, we prepare another one for rx before calling cmd. On my machine, it cuts down the gap between jtag uploading from 200us to 50 us (at maximum speed). This gives another significant speed boost.
Sorry for radio silence, I finally got time to take care of this PR. Double buffering is indeed a good idea. Thanks again for all your contributions!
After quite a bit of testing I would like to submit my support for DJTAG2 and higher programming speed.