Unison Help
- Unison Kernel
- Pthreads
- pthread_create()
- pthread_exit()
- pthread_self()
- pthread_equal()
- pthread_join()
- pthread_detach()
- pthread_setschedparam()
- pthread_getschedparam()
- pthread_attr_init()
- pthread_attr_destroy()
- pthread_attr_setstackaddr()
- pthread_attr_getstackaddr()
- pthread_attr_setstacksize()
- pthread_attr_getstacksize()
- pthread_attr_setschedparam()
- pthread_attr_getschedparam()
- pthread_attr_setdetachstate()
- pthread_attr_getdetachstate()
- pthread_stackinfo()
- pthread_setprio()
- pthread_getprio()
- sched_get_priority_max()
- sched_get_priority_min()
- sched_yield()
- Pthread Cancellation
- Mutex
- Semaphores
- Message Queues
- Conditional Variables
- Barriers
- Timers
- Clocks
- Memory Allocation
- Rendezvous
- Interrupts
- Directory Services
- Miscellaneous
- Pthreads
- Unison I/O Library
- Unison STDIO Library
- STDIO Library Calls
- clearerr()
- dprintf()
- fclose()
- fdopen()
- feof()
- ferror()
- fileno()
- fflush()
- fgetc()
- fgetpos()
- fgets()
- fopen()
- fprintf()
- fputc()
- fputs()
- fread()
- freopen()
- fscanf()
- fseek()
- fseeko()
- fsetpos()
- ftell()
- ftello()
- fwrite()
- getc()
- getc_unlocked()
- getchar()
- getchar_unlocked()
- getdelim()
- getline()
- gets()
- get_stderr_ptr()
- get_stdin_ptr()
- get_stdout_ptr()
- noperprintf()
- perprintf()
- perror()
- posix_compat()
- printf()
- putc()
- putc_unlocked()
- putchar()
- putchar_unlocked()
- puts()
- remove()
- rewind()
- scanf()
- setbuf()
- setvbuf()
- snprintf()
- sprintf()
- sscanf()
- stderr_init()
- stderr_close()
- stdin_init()
- stdin_close()
- stdout_init()
- stdout_close()
- vdprintf()
- vscanf()
- vsscanf()
- vfscanf()
- vprintf()
- vsnprintf()
- vsprintf()
- vfprintf()
- ungetc()
- Do-nothing Stubs
- STDIO Library Calls
- Unison LIBC Library
- Unison I/O Servers
- Graphics, Camera, Video, Audio
- Network Protocols
- TCP and UDP Server - tcpd
- DHCP Client Service - dhcp client
- DHCP Server - dhcpd
- Telnet Server - telnetd
- Tiny FTP Server - tftpd
- Point to Point - pppd
- Network Translation - NAT with PAT
- Firewall
- Tiny HTTP Server - thttpd
- Tiny HTTP Server with TLS
- POP3 Server
- Simple Mail Transfer Protocol Services (SMTP)
- Bootp Protocol
- File Transfer Protocol Server (FTP)
- File Transfer Client Services
- RPC / XDR
- DNS Client
- HTTP/HTTPS Client
- REST Client
- AutoIP Service - autoip client
- mDNS server - mdnsd
- SNTP Client
- SNMP Agent - Snmpd server
- SSL/TLS library
- SSH server
- IP security
- Power Control
- Serial I/O
- System Services
- Universal Serial Bus (USB)
- Wireless
- Remedy Tools for Unison
7.32.3.Remedy Flash Downloader/Bootloader #
NAME
Remedy Flash Downloader/Bootloader
SYNOPSIS
The flash downloader/bootloader combines a variety of modules into a Unison or DSPnano application to support downloading and programming of flash.
DESCRIPTION
The flash downloader/bootloader provides downloading and programming services for MCUs, for remote field service. It works with any of the different communication links supported by Unison and DSPnano out of the box and can be configured to use custom links. A variety of options exist including: download from a host using serial or udp connections, tftp download, and much more.
The flash downloader is a factory or user configured module. It is customized for the specific application and size constraints of the project and product in question. It provides file transfer into the system. These files can be saved in Nor Flash or a file system and then used to boot the system.
The bootloader uses motorola s record format and is different depending on the target hardware. For example, on FPGA hardware the s-record decoding might be done in hardware, while on an MCU the implementation is in software. The implementation is done in this way to minimize the size of the bootloader.
The bootloader has a failsafe operation. It will boot the new image and if this fails it will revert to the previous image. This approach is taken to avoid field service issues associated with the failure of loading the new image.
The software versions of the bootloader may be used in conjunction with a minimal verion of the Unison nanokernel and a flash file system. In this way, a nand flash file system may be used for both the previous and new image. These components have a minimal footprint allowing the reservation of a limited amount of flash for the bootloader. This is a user configured option.
RETURN VALUES
None – the flash downloader is a complete application.
ERRORS
All errors are handled by the flash application.
NOTES
Consult the factory if you require details on a flash downloader for your environment.