Target system for ethernet-/fieldbus applications (21 pages)
Summary of Contents for hilscher NETX50-BSL
Page 1
User Manual netX 2 Stage Bootloader Language: English www.hilscher.com...
Page 2
MMIO Configuration This software contains parts of the libfat library, Copyright (c) 2006 Michael "Chishm" Chisholm. (available at http://chishm.drunkencoders.com/libfat, http://devkitpro.org). Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
License Updates can not be executed on a netX50 / netX10 based hardware SDRAM and DPM cannot be used simultaneously on netX10 Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
- The download via the extended mailbox system is done by using standard rcX packets. Except the data packet size is adjusted to the extended mailbox size Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
The order where the parameters are taken is pre-defined. Parameter Read Order: 1. Security Memory entry 2. Tag List Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
GPIO8-11 are read for the slot number. Note: This is done independently from the manufacturer code in the security memory. Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
Note: Upper bit (#7) needs to be set if pin is inverted usPinNumber WORD Number of pin to use for PCI enable Table 5 : Tag list - DPM Parameters (netX50/100/500) Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
BYTE Set to 0 to disable UART abReserved[3] BYTE[3] Unused / Reserved Table 7 : Tag list - UART Parameters Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
DWORD Serial Number to show in DPM ausHwOptions WORD[4] Hardware options Table 11 : Tag list - Hardware DataParameters Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
Note: UART pins will be moved from MMIO34/35 to MMIO 0/1, when Pinning 1 or 2 is selected, and no MMIO configuration is patched into the tag list Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
Table 14 : Tag list - MMIO Parameters (netX50) Note: MMIO configuration is currently only available in 2 Stage Loader 1.4 and later (not yet released) Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
Table 15 : Tag list - MMIO Parameters (netX10) Note: MMIO configuration is currently only available in 2 Stage Loader 1.4 and later (not yet released) Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
Table 16 : Tag list - DPM Parameters (netX10) Note: netX10 HIF configuration is currently only available in 2 Stage Loader 1.4 and later (not yet released) Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
Table 18 : Tag list - USB Descriptor Parameters Note: USB descriptor configuration is currently only available in 2 Stage Loader 1.4 and later (not yet released) Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
Table 20 : Tag list - Disk position parameters Note: Position and size configuration is available in 2 Stage Loader V1.3.7.0 and later Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
Configuration of the Backup Partition: The configuration is done via the Hilscher Tag List Editor and will be patched into the 2nd Stage Bootloader binary. To allow usage of a recovery firmware, the default file system size must be reduced to get a free flash area for Backup partition placement.
Page 22
Backup Partition Tag Settings Offset 0x000101D0 Offset 0x00300000 Size 0x002EFC80 Size 0x00120000 n.c. Medium Serial Flash Figure 6 : Example FLASH Layout Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
Table 22 : Medium detection in DPM mode (if flashed) Note: If the bootloader was downloaded and executed through DPM (without being flashed) it will default to RAMDisk operation. Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
Note: When using parallel flash all downloads of RCX_XFER_MODE_FILESYSTEM will be checked for the extension ".NXF". All other files will be rejected. Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
Figure 11: Serial Flash Layout (in SQIROM mode on netX10) Directory Layout: Figure 12 : Directory Layout Note: This mode is only available on netX10. Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
Note: To enable this feature you will need to patch the SD/MMC tag with the TAG List editor. Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
RCX_FILE_XFER_PARALLEL_FLASH - if bootloader runs from parallel flash The file name must be given in an 8.3 representation <name>.<extension>, because of the underlying FAT file system. Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
1. Bring netX ROM loader mode 2. Enter "fill 1C003200 02000000" to set the bit 3. Enter "boot" to start the 2nd stage loader Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
Note: This update procedure does not work on so called "RAM based devices" (e.g. cifX) where the second stage loader and firmware is loaded every time by the host. Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
Note: When entering DPM boot mode and the tag list contains DPM settings the WIF / ISA_CS pin will be ignored and the settings inside the header are used. Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
State: State information is placed in the existing system information area 0x00C4 = ulSystemStatus 0x00C8 = ulSystemError 0x00D0 = bSystemLED Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
Pass the SDRAM Size in Bytes Pass the hardware data BOOTTOKEN_HARDWARE (0x05) Table 27 : Available Tokens Table 28 : Example Token List Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
External DPM Bus 0: No external bus 1: PCI 2: DPM 3: ISA Table 33 : Hardware parameter Token Data Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
If no security memory with SDRAM parameters is available, patch SDRAM parameters into the tag list Set custom DPM parameters (IF_CFG0/1, IO_REGMODE0/1) if needed, or set them to 0 for using the default Hilscher settings and the 8/16 Bit DPM mode detection via WIF pin. Firmware Only patch SDRAM settings if they do not reside inside security memory, and if they are not patched into the 2nd Stage Loader.
2ndStageLoader, as it has already been initialized) Figure 16 : 2nd Stage Loader Startup Procedure (DPM Mode, with available firmware) Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
Error copying firmware from to SQIROM (XiP) area BOOTERROR_E_FILEWRITE Table 34 : System Status Block - Bootup error codes Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
This mode can also be entered through special register settings during power up. Refer to chapter 2.16 for detailed explanation. Hilscher Gesellschaft für Systemautomation mbH – Rheinstr. 15 – D 65795 Hattersheim Edition 8 – 2nd Stage Bootloader#EN – 2011/07...
Need help?
Do you have a question about the NETX50-BSL and is the answer not in the manual?
Questions and answers