diff --git a/configs/olimex-lpc1766stk/nsh/defconfig b/configs/olimex-lpc1766stk/nsh/defconfig index 35b7edc8f596411c7f7543615527281c2ee993a2..4a31c9d345939f44dfc8b9197af1694c405daeab 100755 --- a/configs/olimex-lpc1766stk/nsh/defconfig +++ b/configs/olimex-lpc1766stk/nsh/defconfig @@ -73,7 +73,7 @@ CONFIG_ARCH=arm CONFIG_ARCH_ARM=y CONFIG_ARCH_CORTEXM3=y CONFIG_ARCH_CHIP=lpc17xx -CONFIG_ARCH_CHIP_LPC1768=y +CONFIG_ARCH_CHIP_LPC1766=y CONFIG_ARCH_BOARD=olimex-lpc1766stk CONFIG_ARCH_BOARD_LPC1766STK=y CONFIG_BOARD_LOOPSPERMSEC=7982 diff --git a/configs/olimex-lpc1766stk/ostest/defconfig b/configs/olimex-lpc1766stk/ostest/defconfig index 8a6278db9170c327dca91653fae07ea581ccadf9..af55a695577746a4feb3721db3110b0d71fcd946 100755 --- a/configs/olimex-lpc1766stk/ostest/defconfig +++ b/configs/olimex-lpc1766stk/ostest/defconfig @@ -73,7 +73,7 @@ CONFIG_ARCH=arm CONFIG_ARCH_ARM=y CONFIG_ARCH_CORTEXM3=y CONFIG_ARCH_CHIP=lpc17xx -CONFIG_ARCH_CHIP_LPC1768=y +CONFIG_ARCH_CHIP_LPC1766=y CONFIG_ARCH_BOARD=olimex-lpc1766stk CONFIG_ARCH_BOARD_LPC1766STK=y CONFIG_BOARD_LOOPSPERMSEC=7982 diff --git a/configs/olimex-lpc1766stk/tools/olimex.cfg b/configs/olimex-lpc1766stk/tools/olimex.cfg index 6b98458e69f72c1fe647f2c1d31984843e78da25..9241101e24387fc15dc073463930aa0febbe229c 100755 --- a/configs/olimex-lpc1766stk/tools/olimex.cfg +++ b/configs/olimex-lpc1766stk/tools/olimex.cfg @@ -8,12 +8,12 @@ ft2232_device_desc "Olimex OpenOCD JTAG A" ft2232_layout "olimex-jtag" ft2232_vid_pid 0x15BA 0x0003 -# NXP LPC1768 Cortex-M3 with 512kB Flash and 32kB+32kB Local On-Chip SRAM, clocked with 4MHz internal RC oscillator +# NXP LPC1766 Cortex-M3 with 256kB Flash and 32kB+32kB Local On-Chip SRAM, clocked with 4MHz internal RC oscillator if { [info exists CHIPNAME] } { set _CHIPNAME $CHIPNAME } else { - set _CHIPNAME lpc1768 + set _CHIPNAME lpc1766 } if { [info exists ENDIAN] } { @@ -40,7 +40,7 @@ jtag newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id $_CP set _TARGETNAME $_CHIPNAME.cpu target create $_TARGETNAME cortex_m3 -endian $_ENDIAN -chain-position $_TARGETNAME -# LPC1768 has 32kB of SRAM on its main system bus (so-called Local On-Chip SRAM) +# LPC1766 has 32kB of SRAM on its main system bus (so-called Local On-Chip SRAM) $_TARGETNAME configure -work-area-phys 0x10000000 -work-area-size 0x8000 -work-area-backup 0 # REVISIT is there any good reason to have this reset-init event handler?? @@ -51,11 +51,11 @@ $_TARGETNAME configure -event reset-init { mwb 0xE000ED08 0x00 } -# LPC1768 has 512kB of user-available FLASH (bootloader is located in separate dedicated region). +# LPC1766 has 256kB of user-available FLASH (bootloader is located in separate dedicated region). # flash bank lpc1700 <base> <size> 0 0 <target#> <variant> <cclk> [calc_checksum] set _FLASHNAME $_CHIPNAME.flash -flash bank $_FLASHNAME lpc2000 0x0 0x80000 0 0 $_TARGETNAME lpc1700 80000 calc_checksum +flash bank $_FLASHNAME lpc2000 0x0 0x40000 0 0 $_TARGETNAME lpc1700 80000 calc_checksum # 4MHz / 6 = 666kHz, so use 500 jtag_khz 100 diff --git a/configs/olimex-lpc1766stk/usbserial/defconfig b/configs/olimex-lpc1766stk/usbserial/defconfig index 23875092d0fc6cfb4c709b432f1c763a1b9de595..4dc9a44f92eb875fcac16ad365e11e1f2effc38c 100755 --- a/configs/olimex-lpc1766stk/usbserial/defconfig +++ b/configs/olimex-lpc1766stk/usbserial/defconfig @@ -73,7 +73,7 @@ CONFIG_ARCH=arm CONFIG_ARCH_ARM=y CONFIG_ARCH_CORTEXM3=y CONFIG_ARCH_CHIP=lpc17xx -CONFIG_ARCH_CHIP_LPC1768=y +CONFIG_ARCH_CHIP_LPC1766=y CONFIG_ARCH_BOARD=olimex-lpc1766stk CONFIG_ARCH_BOARD_LPC1766STK=y CONFIG_BOARD_LOOPSPERMSEC=7982 diff --git a/configs/olimex-lpc1766stk/usbstorage/defconfig b/configs/olimex-lpc1766stk/usbstorage/defconfig index 93edb0a4c5801817436675d1d9ac46680991331a..fe8fcb71455fc33a665e90e65d08f5564bd8c6f4 100755 --- a/configs/olimex-lpc1766stk/usbstorage/defconfig +++ b/configs/olimex-lpc1766stk/usbstorage/defconfig @@ -73,7 +73,7 @@ CONFIG_ARCH=arm CONFIG_ARCH_ARM=y CONFIG_ARCH_CORTEXM3=y CONFIG_ARCH_CHIP=lpc17xx -CONFIG_ARCH_CHIP_LPC1768=y +CONFIG_ARCH_CHIP_LPC1766=y CONFIG_ARCH_BOARD=olimex-lpc1766stk CONFIG_ARCH_BOARD_LPC1766STK=y CONFIG_BOARD_LOOPSPERMSEC=7982