Login

How to Update the Baudrate Settings on your M2S-SOM Print

 

Changing the Default Console Baudrate on M2S-SOM-1A Running U-Boot Release 1.9.0

To change the default console baudrate from 57600 to 115200, reinstall U-Boot using the provided .stp file (m2s-som-1a.stp) and the Microsemi FlashPro tool:

  1. Start FlashPro on a Windows host.
  2. From the FlashPro IDE, create a new project with an arbitrary name.
  3. From the main FlashPro window, push Configure Device.
  4. Push Browse next to load existing programming file. Browse to the Linux SmartFusion2 project file m2s-som-1a.stp and choose it.
  5. Push Program at the top of the main window to program the project onto the SmartFusion2 device and wait for the programming procedure to complete. If the programming completes successfully, a next reset should bring the U-Boot start-up messages and the command line interface onto the serial console interface.
  6. To change the baudrate settings in U-Boot:

    - Connect to the U-Boot console using 115200,8N1 terminal settings.
    - Reset the board and hit any key to stop at the U-Boot prompt.
    - Set the new console baudrate (115200):

    M2S-SOM> setenv baudrate 115200
    ## Switch baudrate to 115200 bps and press ENTER ...
    M2S-SOM> setenv bootargs m2s_platform=m2s-som console=ttyS0,115200 panic=10
    M2S-SOM> saveenv
    Saving Environment to SPI Flash...
    Erasing SPI flash...
    Writing to SPI flash...
    done
    M2S-SOM>

  7. Reset M2S-SOM.
 

Related Products


M2S-FG484 System-On-Module

 

Emcraft Systems' M2S-FG484 SOM is a compact (30 mm x 57 mm) mezzanine module based on the SmartFusion2 SoC FPGA from Microsemi Corporation. The SOM contains the SmartFusion2 SoC (FGG484 package), 64 MB LPDDR, 16 MB SPI Flash and a 10/100 Ethernet PHY on a single module.

Learn More...