diff -ur hal/arm/lpc2xxx/var/current/ChangeLog hal/arm/lpc2xxx/var/current/ChangeLog.new --- hal/arm/lpc2xxx/var/current/ChangeLog +++ hal/arm/lpc2xxx/var/current/ChangeLog.new @@ -1,3 +1,12 @@ +2006-02-03 Sergei Gavrikov + + * cdl/hal_arm_lpc2xxx.cdl: Added CYGNUM_HAL_ARM_VECTOR_0x14. That + gives us a chance to correct a LPC2XXX program signature (ARM + unused vector at 0x14). The program signature is the two's + compliment of the checksum of the ARM7 vector table. Note: + you can quite overwrite that CDL value in your plf. startup + code (hal_platform_setup.h). + 2006-05-08 Andy Jackson * src/lpc2xxx_misc.c: Fixed issue with VPBDIV initialisation on diff -ur hal/arm/lpc2xxx/var/current/cdl/hal_arm_lpc2xxx.cdl hal/arm/lpc2xxx/var/current/cdl/hal_arm_lpc2xxx.cdl.new --- hal/arm/lpc2xxx/var/current/cdl/hal_arm_lpc2xxx.cdl +++ hal/arm/lpc2xxx/var/current/cdl/hal_arm_lpc2xxx.cdl.new @@ -112,6 +112,24 @@ } } + # Important! Be very careful changing this value. That will always + # enter the LPC2XXX bootloader after reset and consequently will + # never run your code. You must know what you are doing. Look at + # arch. vectors.S for details. + cdl_option CYGNUM_HAL_ARM_VECTOR_0x14 { + display "ARM vector at 0x14" + flavor data + default_value 0xB4405F62 + legal_values 0 to 0xFFFFFFFF + description " + In order to detect if a valid program is present, every + user program must have a program signature. This signature + is a word-wide number that is stored in the unused + location in the ARM7 vector table at 0x00000014. The + program signature is the two's compliment of the checksum + of the ARM vector table." + } + cdl_option CYGNUM_HAL_ARM_LPC2XXX_VPBDIV { display "VPB clock divisor" flavor data