Menu

Change serial line baudrate in FF5.0 on ATmega?

2016-11-24
2016-11-24
  • Jindrich Vavruska

    Hello, I burnt the ready-made FF5 into ATmega328 (Arduino Nano). Unfortunately, 9600 Bd seems to be rather slow. Is there a way to change the baudrate through an EEPROM variable or something like that? i.e. without recompiling and re-burning the whole stuff...

     
  • Mikael Nordman

    Mikael Nordman - 2016-11-24
    $c4 constant ubrr0
    250k #3 ubrr0 ! ;
    38.4k #25 ubrr0 ! ;
    9.6k #103 ubbr0 ! ;

    ' 38.4k to turnkey
    warm

    Note that in order to disable any faulty turnkey word you need to have a usable UART connection during the first 2 seconds of the restart.
    I order to disable the turnkey you need to start the terminal program with 9600 baud and press the escape before the turnkey word executes.

     

    Last edit: Mikael Nordman 2016-11-24

Log in to post a comment.