|
Re: USB: Question about usb_write() API
Hi Andrei,
If block wait is mandated, we can call usb_write() only on one endpoint at a time which will hamper performance.
Although USB bus transactions are sequential we can however queue the write
Hi Andrei,
If block wait is mandated, we can call usb_write() only on one endpoint at a time which will hamper performance.
Although USB bus transactions are sequential we can however queue the write
|
By
Sundar Subramaniyan
·
#1683
·
|
|
Re: USB: Question about usb_write() API
Hi,
As defined by the documentation, write is asynchronous, you can only
be sure write is complete when usb_ep_callback is called.
In practice, there are some hacks in current drivers to make
Hi,
As defined by the documentation, write is asynchronous, you can only
be sure write is complete when usb_ep_callback is called.
In practice, there are some hacks in current drivers to make
|
By
Loic Poulain
·
#1682
·
|
|
Re: FW: support for NFFS file system
Hi Vikrant,
Yes, we would like the sample to be merged, but you need to send a Pull Request using GitHub.
Please read through the Contribution
Hi Vikrant,
Yes, we would like the sample to be merged, but you need to send a Pull Request using GitHub.
Please read through the Contribution
|
By
Carles Cufi
·
#1681
·
|
|
Re: USB: Question about usb_write() API
Hi,
I think we do not have now this requirement not to block-wait. When
working with sending fragmented packets you would prefer to block until all
fragments are sent.
Best regards
Andrei
Hi,
I think we do not have now this requirement not to block-wait. When
working with sending fragmented packets you would prefer to block until all
fragments are sent.
Best regards
Andrei
|
By
Andrei
·
#1680
·
|
|
Re: FW: support for NFFS file system
https://github.com/vikrant8051/zephyr-samples-boards-nrf52-nffs
Are you want this ?
Thank You !!
https://github.com/vikrant8051/zephyr-samples-boards-nrf52-nffs
Are you want this ?
Thank You !!
|
By
Vikrant More <vikrant8051@...>
·
#1679
·
|
|
Re: USB: Question about usb_write() API
Hi Johann,
Thanks, will take a look at it.
Thanks, will look into this. I need to understand the transfer method. So after it's
been pulled, does the driver need to support it by default? Since
Hi Johann,
Thanks, will take a look at it.
Thanks, will look into this. I need to understand the transfer method. So after it's
been pulled, does the driver need to support it by default? Since
|
By
Sundar Subramaniyan
·
#1678
·
|
|
Re: USB: Question about usb_write() API
Hi Andrei,
Yes, it does support both of them. So new drivers should support both of them to be inline with the API definition?
As Paul pointed out, some old drivers might need to be modified since
Hi Andrei,
Yes, it does support both of them. So new drivers should support both of them to be inline with the API definition?
As Paul pointed out, some old drivers might need to be modified since
|
By
Sundar Subramaniyan
·
#1677
·
|
|
Re: USB: Question about usb_write() API
Hi Paul,
By
Sundar Subramaniyan
·
#1676
·
|
|
Re: USB: Question about usb_write() API
On Tue, 30 Jan 2018 14:36:40 +0000
"Cufi, Carles" <Carles.Cufi@...> wrote:
[]
> > I'd suggest to look at this as a generic problem, not specific to
> > USB subsystem (e.g., there's the
On Tue, 30 Jan 2018 14:36:40 +0000
"Cufi, Carles" <Carles.Cufi@...> wrote:
[]
> > I'd suggest to look at this as a generic problem, not specific to
> > USB subsystem (e.g., there's the
|
By
Paul Sokolovsky
·
#1675
·
|
|
Re: USB: Question about usb_write() API
Hi,
This sample was written for the DW driver, there was no other device driver
recently.
Please use subsys/usb/class for testing and as reference.
The IN endpoint callback just informs that a
Hi,
This sample was written for the DW driver, there was no other device driver
recently.
Please use subsys/usb/class for testing and as reference.
The IN endpoint callback just informs that a
|
By
Johann Fischer
·
#1674
·
|
|
Re: USB: Question about usb_write() API
Hi,
I think API states it supports both methods:
https://github.com/zephyrproject-rtos/zephyr/blob/master/include/usb/usb_device.h#L209
Fragmentation to USB packets is done on a higher level, in
Hi,
I think API states it supports both methods:
https://github.com/zephyrproject-rtos/zephyr/blob/master/include/usb/usb_device.h#L209
Fragmentation to USB packets is done on a higher level, in
|
By
Andrei
·
#1673
·
|
|
Re: FW: support for NFFS file system
> I request Zephyr OS maintainer to create & add following attached main.c under $zephyr_base/samples/boards/nrf52/nffs/src
& prj.conf under $zephyr_base/samples/boards/nrf52/nffs/ on Github.
> I request Zephyr OS maintainer to create & add following attached main.c under $zephyr_base/samples/boards/nrf52/nffs/src
& prj.conf under $zephyr_base/samples/boards/nrf52/nffs/ on Github.
|
By
Puzdrowski, Andrzej
·
#1672
·
|
|
Re: USB: Question about usb_write() API
Hi Paul,
By
Carles Cufi
·
#1671
·
|
|
Re: USB: Question about usb_write() API
+ Andrei
Carles
By
Carles Cufi
·
#1670
·
|
|
Re: USB: Question about usb_write() API
Hello Sundar,
By
Paul Sokolovsky
·
#1669
·
|
|
Re: Saving #BluetoothMesh Provisioning & Configuration related data on flash of nRF52 using NFFS
#bluetoothmesh
As per this document ....
nrf5_SDK_for_Mesh_v1.0.1_src/doc/introduction/mesh_hw_resources.md
(I've attached this file for reference......very informative)
The mesh stack uses flash to store the
As per this document ....
nrf5_SDK_for_Mesh_v1.0.1_src/doc/introduction/mesh_hw_resources.md
(I've attached this file for reference......very informative)
The mesh stack uses flash to store the
|
By
Vikrant More <vikrant8051@...>
·
#1668
·
|
|
USB: Question about usb_write() API
Hi,
While developing a USB device controller driver for the Nordic nRF52840 SoC,
I ran into the problem of handling chunked/partial write() while coding the usb_dc_ep_write() function.
From what I
Hi,
While developing a USB device controller driver for the Nordic nRF52840 SoC,
I ran into the problem of handling chunked/partial write() while coding the usb_dc_ep_write() function.
From what I
|
By
Sundar Subramaniyan
·
#1667
·
|
|
Re: Saving #BluetoothMesh Provisioning & Configuration related data on flash of nRF52 using NFFS
#bluetoothmesh
After testing I found that it is necessary to add __attribute__((packed)) after structure definationWhy ?? This will be helpful --> http://www.avabodh.com/cin/structure.html
So I edit above mentioned
After testing I found that it is necessary to add __attribute__((packed)) after structure definationWhy ?? This will be helpful --> http://www.avabodh.com/cin/structure.html
So I edit above mentioned
|
By
Vikrant More <vikrant8051@...>
·
#1666
·
|
|
Saving #BluetoothMesh Provisioning & Configuration related data on flash of nRF52 using NFFS
#bluetoothmesh
Hello World !!
By including NFFS support into #BluetoothMesh project, now I can access flash of nRF52.
{
Some useful links:
http://docs.zephyrproject.org/api/file_system.html
Hello World !!
By including NFFS support into #BluetoothMesh project, now I can access flash of nRF52.
{
Some useful links:
http://docs.zephyrproject.org/api/file_system.html
|
By
Vikrant More <vikrant8051@...>
·
#1665
·
|
|
Re: undefined reference to `bt_uuid_str'
Hi Paul,
I'm unable to reproduce this. Is this your own app and a custom
configuration, or a sample from the Zephyr tree? If it's your custom
app, could you provide the output of the
Hi Paul,
I'm unable to reproduce this. Is this your own app and a custom
configuration, or a sample from the Zephyr tree? If it's your custom
app, could you provide the output of the
|
By
Johan Hedberg
·
#1664
·
|