Re: Error with latest commit - use asynchronous libusb transfer 65/7365/11

2023-12-10 Thread Rolf | Onethinx
Tomas,

This fix works, thanks.

Rolf


Op 10 dec. 2023, om 12:34 heeft Tomas Vanek 
mailto:tom_...@users.sourceforge.net>> het 
volgende geschreven:

Rolf,

The problem is probably related to libusb @ macOS.
Please test a fix:

8044: jtag/drivers/cmsis_dap: use malloc() when libusb_dev_mem_alloc() fails | 
https://review.openocd.org/c/openocd/+/8044

Thanks
Tomas

On 10/12/2023 11:06, Rolf | Onethinx wrote:


Sure. I’m running it on macOS Monterey 12.6.3

Op 10 dec. 2023, om 11:02 heeft Tomas Vanek 
mailto:tom_...@users.sourceforge.net>> het 
volgende geschreven:

Rolf,

could you please provide -d 3 log
and more info about the operating system the OpenOCD is hosted on.

Thanks
Tomas

On 09/12/2023 20:41, Rolf | Onethinx wrote:
Latest commit on cmsis_dap_bulk gives error on KitProg3 in CMSIS-DAP mode (line 
606):
"unable to allocate CMSIS-DAP packet buffer”

Best,
Rolf








Re: Error with latest commit - use asynchronous libusb transfer 65/7365/11

2023-12-10 Thread Antonio Borneo
Tomas,

the last three merged commits on cmsis-dap also add two new clang warnings
https://build.openocd.org/job/openocd-clang/1195/
Would you mind checking them?

Thanks
Antonio

On Sun, Dec 10, 2023 at 12:36 PM Tomas Vanek
 wrote:
>
> Rolf,
>
> The problem is probably related to libusb @ macOS.
> Please test a fix:
>
> 8044: jtag/drivers/cmsis_dap: use malloc() when libusb_dev_mem_alloc() fails 
> | https://review.openocd.org/c/openocd/+/8044
>
> Thanks
> Tomas
>
> On 10/12/2023 11:06, Rolf | Onethinx wrote:
>
>
>
> Sure. I’m running it on macOS Monterey 12.6.3
>
> Op 10 dec. 2023, om 11:02 heeft Tomas Vanek  
> het volgende geschreven:
>
> Rolf,
>
> could you please provide -d 3 log
> and more info about the operating system the OpenOCD is hosted on.
>
> Thanks
> Tomas
>
> On 09/12/2023 20:41, Rolf | Onethinx wrote:
>
> Latest commit on cmsis_dap_bulk gives error on KitProg3 in CMSIS-DAP mode 
> (line 606):
> "unable to allocate CMSIS-DAP packet buffer”
>
> Best,
> Rolf
>
> 
>
>
>
>



Re: Error with latest commit - use asynchronous libusb transfer 65/7365/11

2023-12-10 Thread Tomas Vanek

Rolf,

The problem is probably related to libusb @ macOS.
Please test a fix:

8044: jtag/drivers/cmsis_dap: use malloc() when libusb_dev_mem_alloc() 
fails | https://review.openocd.org/c/openocd/+/8044


Thanks
    Tomas

On 10/12/2023 11:06, Rolf | Onethinx wrote:



Sure. I’m running it on macOS Monterey 12.6.3

Op 10 dec. 2023, om 11:02 heeft Tomas Vanek 
 het volgende geschreven:


Rolf,

could you please provide -d 3 log
and more info about the operating system the OpenOCD is hosted on.

Thanks
    Tomas

On 09/12/2023 20:41, Rolf | Onethinx wrote:
Latest commit on cmsis_dap_bulk gives error on KitProg3 in CMSIS-DAP 
mode (line 606):

"unable to allocate CMSIS-DAP packet buffer”

Best,
Rolf








Re: Error with latest commit - use asynchronous libusb transfer 65/7365/11

2023-12-10 Thread Tomas Vanek

Rolf,

could you please provide -d 3 log
and more info about the operating system the OpenOCD is hosted on.

Thanks
    Tomas

On 09/12/2023 20:41, Rolf | Onethinx wrote:
Latest commit on cmsis_dap_bulk gives error on KitProg3 in CMSIS-DAP 
mode (line 606):

"unable to allocate CMSIS-DAP packet buffer”

Best,
Rolf



Re: Error with latest commit - use asynchronous libusb transfer 65/7365/11

2023-12-09 Thread Rolf | Onethinx
Latest commit on cmsis_dap_bulk gives error on KitProg3 in CMSIS-DAP mode (line 
606):
"unable to allocate CMSIS-DAP packet buffer”

Best,
Rolf

[cid:41D011DA-C7D1-440E-9D35-05003E4854D4]