Re: [DISCUSS] Graduate NuttX as TLP

2022-10-20 Thread Venkat Ranganathan
Hi Nathan This is Venkat Ranganathan. As I mentioned on general@incubator, I am available to help, but looks like there are other mentors who are shepherding it. Thanks Venkat On 2022/10/19 03:51:30 Nathan Hartman wrote: > On Fri, Jun 24, 2022 at 12:46 PM Nathan Hartman > wrote: > > > > H

Re: Get control of NSH serial port?

2022-10-20 Thread Gregory Nutt
> > But the simplest thing that comes to mind is just to kill the NSH task, > run modbus, and restart NSH when you are finished with modbus. > Maybe even simpler: Run the modbus task at a higher priority than NSH. Then all of the serial into should go to Modbus and not to NSH

Re: Get control of NSH serial port?

2022-10-20 Thread Gregory Nutt
I suppose there are lots of ways to do that by closing and redirecting NSH's standard I/O. But the simplest thing that comes to mind is just to kill the NSH task, run modbus, and restart NSH when you are finished with modbus. On Thu, Oct 20, 2022 at 6:05 PM Daniel Pereira Carvalho wrote: > Hi g

Get control of NSH serial port?

2022-10-20 Thread Daniel Pereira Carvalho
Hi guys, I am writing a program for a board that has only one serial port available, the one used by NSH. My application needs to use this port for MODBUS so, my application needs to take control of the serial port and give it back to NSH when execution is done. Is this possible? If yes, how can

Re: Is SmartFS limited to 16M memories

2022-10-20 Thread Ken Pettit
Hi Daniel, No problem, happy to help. I looked back at the project where I used the larger flash ... it was a Cypress S25FL256 part. For that setup, I used the part's 64K sector erase size (vs. the 4K sub-sector erase) and CONIG_MTD_SMART_SECTOR_SIZE=4096. Looks like the w25.c MTD driver o

Re: [DISCUSS] Graduate NuttX as TLP

2022-10-20 Thread Duo Zhang
+1 Masayuki Ishikawa 于2022年10月20日周四 07:31写道: > > +1 > Let's move forward! > > > On Wed, Oct 19, 2022 at 9:07 PM Alan C. Assis wrote: > > > +1 > > > > Please go ahead Nathan! > > > > BR, > > > > Alan > > > > On 10/19/22, David Sidrane wrote: > > > +1 - The time has come. > > > > > > David > > >

RE: Is SmartFS limited to 16M memories

2022-10-20 Thread TimH
I had similar problems trying smart FS with a large device. It was over a year ago, and I put it on the back burner at the time, but I am sure there was something that exceeded the max value of a 16 bit integer somewhere and it went wrong. To me it seemed like it wasn't suited to large devices "

Re: Is SmartFS limited to 16M memories

2022-10-20 Thread Daniel Pereira Carvalho
Hi Ken, First of all, thanks for your quick response. One of the first things I tried was to change the values of MTD_SMART_SECTOR_SIZE [=2048] and MTD_SMART_SECTOR_CACHE_SIZE [=2048] but the smartfs_mount() is still failing to validate the low-level format. For reference the struct fs->fs_llform