Some IP blocks need to be disabled to modify some registers.

David

On Thu, Sep 3, 2020, 3:45 PM Nathan Hartman <hartman.nat...@gmail.com>
wrote:

> I ran into a strange issue with serial init for STM32. If the UART is
> already enabled/configured, our configuration does not seem to apply.
>
> I discovered this because I used a bootloader to flash and run NuttX
> on the arm/stm32/b-g474e-dpow1 board. The bootloader configs the UART
> for 115200 baud 8E1.
>
> This is how nsh looks if I type 'help' command:
>
> nsh> [hp
> hp usag  hp [v] [md>]
>
>            d              s        mv        s       unam
>   [         p              mb        m        sp     umun
>            mp       as     mkd     pn    su    uns
>   basnam  dnam   hp      mkd      pd       s      usp
>   bak     dd        hdump   mh        m        m      d
>   a       h      k      mun     md     u
> nsh> [
>
> This is because Even Parity (and possibly other stale config) is still
> in effect from the bootloader.
>
> When I flash and run NuttX without the bootloader, the nsh prompt
> works correctly with 115200 baud 8N1.
>
> Has anyone seen this before?
>

Reply via email to