keever50 commented on issue #16305:
URL: https://github.com/apache/nuttx/issues/16305#issuecomment-2929743718

   > ~I've noticed that `nsh_update_prompt()` get's called every time I hit 
enter, which seems incorrect to me since it's only called during initialization 
and `nsh_session()`. I don't think a new session should be made every time I 
hit enter in the terminal but maybe I'm missing something.~ (I see it's called 
in the update loop now) Wondering if NSH is responsible for some of this 
garbling?
   > 
   > [@keever50](https://github.com/keever50) are you able to confirm if you 
experience the garbling in console output when not using NSH? I.e. running your 
application directly and printing to the USB or UART serial console? Can you 
also share your configuration where you observe this issue, and especially the 
one where OSTest fails?
   
   I'm unable to replicate this issue over UART anymore (hardware, not usb acm 
cdc). But it still is very much a huge problem when using USB ACM CDC. To make 
the output absolutely unreadable, do the following:
   
   > An easy way to test this problem is to enable CPU heavy operations, such 
as KASAN, granular allocator and enable ALL debug logging. This stresses the 
serial a lot.
   > This has been my go-to test for these kind of things.
   
   I've increased stacksize, which _might_ have helped the HW UART side, but 
not the USB ACM CDC.
   Also here, just like most other platforms, the stacksize is very low.
   
   So,
   HW UART looks like it is fine now. USB ACM CDC not fine at all.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to