tsb:home

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tsb:home [2019/07/26 19:51] – [Configurable Timeout, Password, Magic Bytes] Pedro Ramilotsb:home [2019/10/24 12:23] (current) – [Configurable Timeout, Password, Magic Bytes] Pedro Ramilo
Line 16: Line 16:
   * Capable of individually initiating a bootloader session (for firmware update, for example) with multiple devices connected in a daisy chain (each device needs a unique password, for individual activation)   * Capable of individually initiating a bootloader session (for firmware update, for example) with multiple devices connected in a daisy chain (each device needs a unique password, for individual activation)
  
-===== Improvements and New Features =====+===== Improvements and New Features by Seed Robotics =====
  
 All our improvements and new features are published open source in the Github repository above. All our improvements and new features are published open source in the Github repository above.
Line 45: Line 45:
 The Timeout, Password and Magic bytes are stored in the Last Page of the Program area (just below the bootloader). The Timeout, Password and Magic bytes are stored in the Last Page of the Program area (just below the bootloader).
  
-This is a safe way to ensure configuration does not take up EEPROM space and that it won'typically be overwritten inadvertently.+Because this Last Page is within the program area, it can be re-written using commands to write FLASH contents.\\ 
 +Since only the bootloader can write program pages, storing this data in a program page is a safe way to ensure configuration won't be overwritten inadvertently. Furthermore it won't take up any EEPROM space.\\
  
-Because the last page is within the program area, it can be re-written using commands to write FLASH contents.\\ +The TSB binary on the device ensures the last page isn't overwritten when loading a new user program into Flash. 
-The TSB binary on the device ensures this isn't overwritten when writing the Program Flash.\\ + 
-Furthermore, programmers can access this configuration data from their own application by using the GNU C compiler's ''pgm_read_data'' and pointing at the last page, before the bootloader area begins.+Programmers can read this configuration data (for example the 'Magic Bytes'from their own user application by using the GNU C compiler's ''pgm_read_data'' and pointing at the last page, before the bootloader area begins.
  
 **Configuration Data** is stored in the **Last Page** of Program space, in the following manner: **Configuration Data** is stored in the **Last Page** of Program space, in the following manner:

Copyright © 2015-2023 Seed Robotics Ltd

  • tsb/home.1564170687.txt.gz
  • Last modified: 2019/07/26 19:51
  • by Pedro Ramilo