Forum Widgets
Latest Discussions
Configuring Levelx
I am kind of lost about filex vs levelx configuration. My memory is the w25q64jv, it has 8mb being 2048 blocks of 4096 bytes. Configuring levelx: nor_flash->lx_nor_flash_total_blocks = 2048; nor_flash->lx_nor_flash_words_per_block = 128; What I have understood is Levelx uses 1 sector (512b) for control, so 7 sectors are left for data for each block (4096b). Now I computed the total data sectors available: 7 x 2048 = 14336 and have used this amount when formating the media (total_sectors). Is that right?TheFlyvioNov 13, 2023Copper Contributor755Views0likes2CommentsLevelX with SDCard
I am looking at LevelX to use with an SD Card. I see that LevelX uses the 'spare' byes on each page. It appears that the extra, say, 16 bytes on a 512 byte nominal page means there is actually 528 bytes per page. This accords with my experience with small NAND Serial Data Flash chips where I have direct access to 528 bytes per page. I'm new to using SD Cards so I'm not too familiar with the spec. Are the extra bytes available to read/write? The SD Card I'm using reports 512 bytes per page. I cannot see or find any way to access the extra bytes. I'm using the i.MXRT 1064 with NXP's SDK (fsl_sd.c, fsl_sdmmc.c, etc.) Or, is LevelX not advisable for SD Cards? I understand that at least some SD Cards have wear leveling built in, but I didn't think it was universal. Am I wrong in this assumption?stevenoonanMar 04, 2021Copper Contributor1.2KViews0likes2CommentsNetx Duo Question - NX_TCP_SOCKET and BSD fd_sets Functionality
Hi, I hope this is the correct place to ask this question. I'm looking at porting an existing application across to Duo, this app uses WEBSOCKETS/TLS/TCP within a BSD socket and makes use of the BSD fd_sets mechanism to detect receive data, ability to send data and loss of connection, sending multiple messages over a single socket. Using the Duo API's I need to use the NX_TCP_SOCKET based APIs, to gain WEBSOCKETS/TLS functionality but so far, I haven't spotted a bsd_fd_set equivalent mechanism for this socket type. Is there a similar feature available? The examples I've found don't persist a socket across multiple messages so don't need that feature. Any help/information on this appreciated. Many Thanks Waynewayne_ellisAug 26, 2025Copper Contributor40Views1like1CommentAzure USBX hub issues with full speed devices
We have a project using Azure USBX with a STM32H7 processor and a Microchip 2514 USB HUB. The STM hcd driver is initialized and the software initializes UsbX support for a hub, multiple CDC ACMs, a HID Keyboard and MSC devices. All the devices can be discovered and work as expected. There is an issue when a FULL SPEED device (CDC ACM and HID Keyboard) is unplugged and then plugged back in again causes the USB bus to become unresponsive. The only current solution is to reset the USB2514 Hub. Has anybody seen this or have any suggestions?SolvedpcametekApr 19, 2024Copper Contributor417Views0likes1CommentNetX Duo and AWS
Hi, I am currently using Azure RTOS on my project. I want to connect my device with AWS(Amazon Web Services). I found some sources but, I did not find any examples on STM32 devices. Is there any examples with NetX Duo on AWS? On the other hand I have found examples with FreeRTOS. Do I have to use FreeRTOS to access all features of AWS? Regardsmkilic_makDec 04, 2023Copper Contributor568Views0likes1CommentThreadX / Azure RTOS Licensing for older Versions of ThreadX
With the recent announcement that ThreadX will be managed by the Eclipse Foundation under the MIT license, my team is interested in how that affects our current licenses. Our current license for an older version of ThreadX doesn't apply to new products, so how are we supposed to obtain a new license using the older version of ThreadX for these new products. Will the MIT license retroactively apply to older versions of ThreadX?SolvedAustinWolfNov 28, 2023Copper Contributor636Views0likes1CommentWhat am I missing? The names of the threads, queues, etc. are prototyped as char*.
But this causes an issue because one shouldn't (it violates sane rules) cast a "const char*" to a "char*". This would be necessary of you use a literal string in the call to the function. I locally changed all the prototypes for the thread create and the issue goes away. But I am wondering why it isn't like that to begin with.GaryBerrymanMar 02, 2023Copper Contributor656Views0likes1CommentSTM32 NetX Duo LwM2M Firmware Update
I have a project with STM32 MCU and BG95 LTE module. I use NetX Duo with LwM2M protocol. I am trying to implement FOTA for STM32 with LwM2M protocol. I haven't find resources for that. Is there any example for that? How can I implement that function? (Any suggestions)mkilic_makMay 11, 2022Copper Contributor1.2KViews0likes1CommentUsing FileX on internal microcontroller flash
Any support or examples on using FileX on internal microcontroller flash? I know there are complications in writing while executing from flash but some processors have hardware provisions to support this or other work arounds like running from SRAM while programming. I am envisioning this for modest amounts of mainly configuration data or static web pages.TomClaryDec 23, 2021Copper Contributor2.4KViews0likes1Commenthow to find application code size and module size in DAM app threadX based
how can we find application code size and module size?shiv5084Nov 14, 2021Copper Contributor1.3KViews0likes1Comment
Resources
Tags
- NetX Duo3 Topics
- LwM2M2 Topics
- Azure RTOS2 Topics
- FOTA1 Topic
- OTA1 Topic
- BG951 Topic
- STM321 Topic
- usb-c1 Topic
- USBx1 Topic
- USB Control1 Topic