DAPlink with LPC11U35 (speeding up the writing process).
Someone here has this kind of interface with LPC11U35 and was able for fastening the programming process?
I have been studying how to implement such modification, but having no success!
Could, someone helping me with it!
The idea is using just as writing interfacing for pyocd project!
Sincerely;
If you want to speed up programming with lpc11u35, you should use or create a DAPLink project that support drag-n-drop flashing for your target. This is what give the best performance.
There are two options HIC options for DAP transfers with lpc11u35: module_hic_lpc11u35 which uses HID and module_hic_lpc11u35_bulk which uses bulk. It's not possible to have both at the same time as CDC and MSC because of the limited number of endpoints. The lpc11u35_if uses bulk (module_hic_lpc11u35_bulk) for DAP and in my tests works with PyOCD.
If you want to support CMSIS-DAPv2 (bulk) with lpc11u35 with another project (e.g. lpc11u35_pitaya_link_if) you should be able to replace module_hic_lpc11u35 with module_hic_lpc11u35_bulk for the project.
If you want to speed up programming with
lpc11u35, you should use or create a DAPLink project that support drag-n-drop flashing for your target. This is what give the best performance.There are two options HIC options for DAP transfers with
lpc11u35:module_hic_lpc11u35which uses HID andmodule_hic_lpc11u35_bulkwhich uses bulk. It's not possible to have both at the same time as CDC and MSC because of the limited number of endpoints. Thelpc11u35_ifuses bulk (module_hic_lpc11u35_bulk) for DAP and in my tests works with PyOCD.If you want to support CMSIS-DAPv2 (bulk) with
lpc11u35with another project (e.g.lpc11u35_pitaya_link_if) you should be able to replacemodule_hic_lpc11u35withmodule_hic_lpc11u35_bulkfor the project.
Mathias, actually, I just need the CMSIS-DAP running on bulk, and being recognized by the PYOcd! There is no need of the others interfaces! I have made a test, take off all the interfaces, keeping just the CMSIS-DAP, ant taking off the HID, CDC, WEB. Even though the PYOcd couldn't recognize the CMSIS-DAP in bulk mode!
The
lpc11u35_ifuses bulk (module_hic_lpc11u35_bulk) for DAP and in my tests works with PyOCD. Test thelpc11u35_ifproject without modifying it. It does use bulk mode, but it is not guaranteed to be that much faster than HID if PyOCD cannot leverage the larger packet size.