9918 /* * * * * * * * * * * * * * * * * * * * * * * * * * * 04.34 xx.xx.02 JR - initial version for barix 05.00 28.10.03 RS - added tftp, web update.html, update with compound files 05.01 09.12.03 RS - if the download filename is reboot then reboot the device 05.02 17.12.03 RS - eeprom dump with leading zeros - added boot target (start firmware with specific target) - output eeprom dump with ascii on the right side - check password for setup 05.03 07.01.04 RS - fix web upload (don't overwrite bootloader, fix check error wrong target and wrong checksum) 22.01.04 RS - added command erase_ee to erase eeprom without mac 23.01.04 RS - added eeprom loading in compound file - added compound file header to erase flash without bootloader 99.04 20.04.04 RS - fixed position of len setupex in eeprom 05.05.04 RS - added link to advanced update on the update page and on the advanced update page a link to the update page - changed version to 99.04 for an automated update if the bootloader is loaded anywhere in the flash - corrected text 'successful' text - output bootloader version always with pre-zeros 06.05.04 RS - don't show setup version in menu setup - added link on reboot page to reload main page - added link to go back to update page on an error - added error if file not found on web update - added menu to clear all flash pages (without bootloader) - skip network also with reset button - added reset button to reset device during bootloadermenu - added erase eeprom menu (only for setup range) - added eeprom editor 10.05.04 RS - added wakeup via udp for automatic loading (only if no MAC is set or in boot menu) 01.06.04 RS - startup with no mac without automatic factory testing by hold the reset button 99.05 05.08.04 RS - added hw compatibility for dstni-ex 10.08.04 RS - added output boottarget 11.08.04 RS - added output of the ip address 20.08.04 RS - boot to bootloader menu with no mac and no ip on reset button hold 26.08.04 RS - send retries on test firmware download - don't output frame errors an factory network test if less then 4 packets missed 27.08.04 RS - dont wakeup if bootloader started from application 07.09.04 RS - fixed bootloader update for ex (bug in flsh_clr of bhw.lib) 99.06 20.09.04 RS - if bootloader started from application use applications ethernet interface (lan MAC 0, powerline MAC 1) - removed dyn mark support to save code mem - shorten some texts to save code mem - fixed link end tag in update.html page 99.07 21.11.05 KS - stdget: Now accepts: no file, index.html, any file containing update. Also simplified and moved to startup.c (Get.c not required) webfile: Added WEB_vHTTPResponseStat200 webfile: Allow reboot anywhere in file path name 29.11.05 KS - _cpu_speed added (use 48Mhz), startquiet corrected to disable both MACs for EX 12.12.05 KS - added form with reboot button 13.12.05 KS - added date to serial and version & date to WEB UI 99.08 09.03.06 KS - build with bhw 01.08 15.02.06 PK - flsh_pgm bug fixed 13.03.06 KS - 021.01 UpdateBootloader flash->RAM->flash 14.03.06 KS - root.m updated for new Ethernet memory allocation startup.c set_hw_addr included so that EXTINIT and MLOAD don't get pulled in DOS problem: renamed universal.bin to universl.bin, universal.spb to unifull.spb 20.03.06 KS - EC1FULL.ROM and exfull.spb added for legacy consistancy ===== Released boot_v9908_20060320 ======= 99.09 23.03.06 KS 021.02 Added check in Webfile::bPrgFlash for Bootloader page (0xff00) size 021.02 Added check in Webfile::bTestHeader to reduce length if Bootloader page (0xff00) 24.03.06 KS 021.02 Added flag HaveJustStoredBoot in Webfile::WEB_bStoreCompoundFile to ignore extra data if last page updated was 0xff00 99.10 03.11.06 KS 025.03 build with bhw 1.10 (and bsw 1.20) for flash hang fix KK Makefile.nrec: project build will now bring bootloader uptodate 99.11 19.06.07 KS 019.05 Update version to reflect build with BHW version 1.12 which corrects bug in Ethernet driver (NIC960) 03.07.07 KS 019.06, 013.17 ARP optimisation etc. fixed by including tcpip v5.12 99.12 01.08.07 PK - DSTni-EX rev.C support 99.13 27.03.09 PK - uses DHCP name from Setup 99.14 15.10.09 KS - #067.05 bsw:monit.c rebuild with updated bsw.lib 99.15 31.12.09 PK - #021.15: use second ethernet port on Ann155 14.01.10 PK - Barionet 50 bugfix #064.47: if TCP command port Disconnect Timeout is odd network does not work DO SERIAL SERIAL AFTER THIS CHANGE TO UPDATE THE BOOTLOADER! <==== 12.05.10 KS Freeze V99.15 boot_v9915_20100512 prior to changes ====> 99.16 12.05.10 KS - #68.01 STARTUP: menu changed clear ->erase flash and clear EEPROM removed 12.05.10 KS - #68.02 STARTUP: Binary Discovery added boot given product id 255 14.05.10 KS - #68.04 STARTUP: bootloader requested from WEB, disable serial interface except for fatal errors but allow with SERIAL_ON compile SWITCH for testing 28.05.10 KS - #68.05 webfile:WEB_lStorePostFile replace mbufget with 4K static buffer, set boundary size to 80 28.05.10 KS - #68.05 WEB.C/web.h increase input Fifo size to 8k, STARTUP spawn only one WebProcess 01.06.10 KS - #21.09 and performance: webfile:WEB_bStoreCompoundFile don't erase flash a second time 09.06.10 KS - #68.06 webfile:WEB_lStorePostFile advanced mode: multipage COB files not loaded - 28.05.10 #68.05 err The data stored in flash must be a divisor of 64K. Buf Size increased to account for this 10.06.10 KS - #68.07 webfile:WEB_lStorePostFile advanced mode: don't allow direct update to bootloader 10.06.10 KS - #21.09 webfile:WEB_lStorePostFile:WEB_bStoreCompoundFile If Cob file overlap cannot recover clear all of flash, so just leaves bootloader 11.06.10 KS - #21.09 webfile:bPrgFlash Detect no erased (protected) flash by testing for 0xFFFFFFFF 17.06.10 KS - Move 99.16 changes from bootd to boot and update link and make files <==== 17.06.10 KS Freeze V99.16 and tag as boot_v9916_20100617 ====> 22.06.10 KS - added to Makefile.nrec boot/bootloader.bin, added to distfiles bootloader added to Makefile.nrec boot/bootbario.bin, added to distfiles bootbario for EX chip Barionets 08.07.10 KS - Malefile.nrec updated boot_all to make: blserial.bin UNIFULL.SPB exfull.spb exfull_bario.spb and the compound files: bootloader.bin(EX,LX) bootbario.bin(LX) (rescue.bin(LX)) <==== 08.07.10 KS Freeze V99.16 and tag as boot_v9916_20100708 (to replace boot_v9916_20100617) ====> 99.17 15.07.10 PK - removed MAC auto-increment on second ethernet port - #068.08: detect Ann155 by reading PHY ID registers if the HW type is IPAM100 22.07.10 KS - Makefile.nrec added: boot_nd to create a zipped bootloader package - readme_end added to distfiles for the bootloader package 99.18 27.07.10 KS - #068.10 HWARE.C: Added locally and modified to start Flash size test at 1MB. This is to avoid an invalid match at FE00,FD00,FB00,F700 if the bootloader is reloaded to one of these locations. A different Bootloader (1st 30k doesn't match) did not trigger this match. HWARE added to Makefile.nrec and lnk files ec1, ex_bario, ex_oem #068.10 webfile.c check upload Bootloader boundaries for 2,4,8MB 27.07.10 KS - #068.10 webfile.c corrected boundary check on absolute segment STARTUP::vWebUpdatePage added display of number of flash pages available <==== 29.07.10 KS Version 99.18 Frozen and released ===> 99.18 02.08.10 KS - HWARE.C remove HWSeries, HWSer since defined in Startup. Error in Linker but not used so cosmetic */