The official mbed C/C SDK provides the software platform and libraries to build your applications.
Fork of mbed by
(01.May.2014) started sales! http://www.switch-science.com/catalog/1717/
(13.March.2014) updated to 0.5.0
This is a pin conversion PCB from mbed 1768/11U24 to arduino UNO.
- So if you have both mbed and arduino shields, I guess you would be happy with such a conversion board :)
Photos
- Board photo vvv
- Schematic photo vvv
- Functionality photo vvv
Latest eagle files
PCB >> /media/uploads/k4zuki/mbedshield050.brd
SCH >> /media/uploads/k4zuki/mbedshield050.sch
BIG changes from previous version
- Ethernet RJ45 connector is removed.
- http://mbed.org/components/Seeed-Ethernet-Shield-V20/ is the biggest hint to use Ethernet!
MostALL of components can be bought at Akizuki http://akizukidenshi.com/- But sorry, they do not send parts to abroad
- Pinout is changed!
arduino | 0.4.0 | 0.5.0 |
---|---|---|
D4 | p12 | p21 |
D5 | p11 | p22 |
MOSI_ | none | p11 |
MISO_ | none | p12 |
SCK_ | none | p13 |
This design has bug(s)
- I2C functional pin differs between 1768 and 11U24.
Fixed bugs here
- MiniUSB cable cannot be connected on mbed if you solder high-height electrolytic capacitor on C3.
- http://akizukidenshi.com/catalog/g/gP-05002/ is the solution to make this 100% AKIZUKI parts!
- the 6-pin ISP port is not inprimented in version 0.4.0
it will be fixed in later version 0.4.1/0.4.2/0.5.0This has beenfixed
I am doing some porting to use existing arduino shields but it may faster if you do it by yourself...
you can use arduino PinName "A0-A5,D0-D13" plus backside SPI port for easier porting.
To do this you have to edit PinName enum in
- "mbed/TARGET_LPC1768/PinNames.h" or
- "mbed/TARGET_LPC11U24/PinNames.h" as per your target mbed.
here is the actual list: This list includes define switch to switch pin assignment
part_of_PinNames.h
USBTX = P0_2, USBRX = P0_3, //from here mbeDshield mod D0=p27, D1=p28, D2=p14, D3=p13, #ifdef MBEDSHIELD_050 MOSI_=p11, MISO_=p12, SCK_=p13, D4=p21, D5=p22, #else D4=p12, D5=p11, #endif D6=p23, D7=p24, D8=p25, D9=p26, D10=p8, D11=p5, D12=p6, D13=p7, A0=p15, A1=p16, A2=p17, A3=p18, A4=p19, A5=p20, SDA=p9, SCL=p10, //mbeDshield mod ends here // Not connected NC = (int)0xFFFFFFFF
TARGET_LPC1768/TOOLCHAIN_GCC_ARM/LPC1768.ld@66:9c8f0e3462fb, 2013-08-19 (annotated)
- Committer:
- bogdanm
- Date:
- Mon Aug 19 13:34:54 2013 +0300
- Revision:
- 66:9c8f0e3462fb
- Parent:
- 65:5798e58a58b1
New mbed library build with support for LPC1114.
Built from github tag 'mbed_lib_rev66'
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 66:9c8f0e3462fb | 1 | /* Linker script for mbed LPC1768 */ |
bogdanm | 66:9c8f0e3462fb | 2 | |
bogdanm | 66:9c8f0e3462fb | 3 | /* Linker script to configure memory regions. */ |
bogdanm | 66:9c8f0e3462fb | 4 | MEMORY |
bogdanm | 66:9c8f0e3462fb | 5 | { |
bogdanm | 66:9c8f0e3462fb | 6 | FLASH (rx) : ORIGIN = 0x00000000, LENGTH = 512K |
bogdanm | 66:9c8f0e3462fb | 7 | RAM (rwx) : ORIGIN = 0x100000C8, LENGTH = (32K - 0xC8) |
bogdanm | 66:9c8f0e3462fb | 8 | |
bogdanm | 66:9c8f0e3462fb | 9 | USB_RAM(rwx) : ORIGIN = 0x2007C000, LENGTH = 16K |
bogdanm | 66:9c8f0e3462fb | 10 | ETH_RAM(rwx) : ORIGIN = 0x20080000, LENGTH = 16K |
bogdanm | 66:9c8f0e3462fb | 11 | } |
bogdanm | 66:9c8f0e3462fb | 12 | |
bogdanm | 66:9c8f0e3462fb | 13 | /* Linker script to place sections and symbol values. Should be used together |
bogdanm | 66:9c8f0e3462fb | 14 | * with other linker script that defines memory regions FLASH and RAM. |
bogdanm | 66:9c8f0e3462fb | 15 | * It references following symbols, which must be defined in code: |
bogdanm | 66:9c8f0e3462fb | 16 | * Reset_Handler : Entry of reset handler |
bogdanm | 66:9c8f0e3462fb | 17 | * |
bogdanm | 66:9c8f0e3462fb | 18 | * It defines following symbols, which code can use without definition: |
bogdanm | 66:9c8f0e3462fb | 19 | * __exidx_start |
bogdanm | 66:9c8f0e3462fb | 20 | * __exidx_end |
bogdanm | 66:9c8f0e3462fb | 21 | * __etext |
bogdanm | 66:9c8f0e3462fb | 22 | * __data_start__ |
bogdanm | 66:9c8f0e3462fb | 23 | * __preinit_array_start |
bogdanm | 66:9c8f0e3462fb | 24 | * __preinit_array_end |
bogdanm | 66:9c8f0e3462fb | 25 | * __init_array_start |
bogdanm | 66:9c8f0e3462fb | 26 | * __init_array_end |
bogdanm | 66:9c8f0e3462fb | 27 | * __fini_array_start |
bogdanm | 66:9c8f0e3462fb | 28 | * __fini_array_end |
bogdanm | 66:9c8f0e3462fb | 29 | * __data_end__ |
bogdanm | 66:9c8f0e3462fb | 30 | * __bss_start__ |
bogdanm | 66:9c8f0e3462fb | 31 | * __bss_end__ |
bogdanm | 66:9c8f0e3462fb | 32 | * __end__ |
bogdanm | 66:9c8f0e3462fb | 33 | * end |
bogdanm | 66:9c8f0e3462fb | 34 | * __HeapLimit |
bogdanm | 66:9c8f0e3462fb | 35 | * __StackLimit |
bogdanm | 66:9c8f0e3462fb | 36 | * __StackTop |
bogdanm | 66:9c8f0e3462fb | 37 | * __stack |
bogdanm | 66:9c8f0e3462fb | 38 | */ |
bogdanm | 66:9c8f0e3462fb | 39 | ENTRY(Reset_Handler) |
bogdanm | 66:9c8f0e3462fb | 40 | |
bogdanm | 66:9c8f0e3462fb | 41 | SECTIONS |
bogdanm | 66:9c8f0e3462fb | 42 | { |
bogdanm | 66:9c8f0e3462fb | 43 | .text : |
bogdanm | 66:9c8f0e3462fb | 44 | { |
bogdanm | 66:9c8f0e3462fb | 45 | KEEP(*(.isr_vector)) |
bogdanm | 66:9c8f0e3462fb | 46 | *(.text*) |
bogdanm | 66:9c8f0e3462fb | 47 | |
bogdanm | 66:9c8f0e3462fb | 48 | KEEP(*(.init)) |
bogdanm | 66:9c8f0e3462fb | 49 | KEEP(*(.fini)) |
bogdanm | 66:9c8f0e3462fb | 50 | |
bogdanm | 66:9c8f0e3462fb | 51 | /* .ctors */ |
bogdanm | 66:9c8f0e3462fb | 52 | *crtbegin.o(.ctors) |
bogdanm | 66:9c8f0e3462fb | 53 | *crtbegin?.o(.ctors) |
bogdanm | 66:9c8f0e3462fb | 54 | *(EXCLUDE_FILE(*crtend?.o *crtend.o) .ctors) |
bogdanm | 66:9c8f0e3462fb | 55 | *(SORT(.ctors.*)) |
bogdanm | 66:9c8f0e3462fb | 56 | *(.ctors) |
bogdanm | 66:9c8f0e3462fb | 57 | |
bogdanm | 66:9c8f0e3462fb | 58 | /* .dtors */ |
bogdanm | 66:9c8f0e3462fb | 59 | *crtbegin.o(.dtors) |
bogdanm | 66:9c8f0e3462fb | 60 | *crtbegin?.o(.dtors) |
bogdanm | 66:9c8f0e3462fb | 61 | *(EXCLUDE_FILE(*crtend?.o *crtend.o) .dtors) |
bogdanm | 66:9c8f0e3462fb | 62 | *(SORT(.dtors.*)) |
bogdanm | 66:9c8f0e3462fb | 63 | *(.dtors) |
bogdanm | 66:9c8f0e3462fb | 64 | |
bogdanm | 66:9c8f0e3462fb | 65 | *(.rodata*) |
bogdanm | 66:9c8f0e3462fb | 66 | |
bogdanm | 66:9c8f0e3462fb | 67 | KEEP(*(.eh_frame*)) |
bogdanm | 66:9c8f0e3462fb | 68 | } > FLASH |
bogdanm | 66:9c8f0e3462fb | 69 | |
bogdanm | 66:9c8f0e3462fb | 70 | .ARM.extab : |
bogdanm | 66:9c8f0e3462fb | 71 | { |
bogdanm | 66:9c8f0e3462fb | 72 | *(.ARM.extab* .gnu.linkonce.armextab.*) |
bogdanm | 66:9c8f0e3462fb | 73 | } > FLASH |
bogdanm | 66:9c8f0e3462fb | 74 | |
bogdanm | 66:9c8f0e3462fb | 75 | __exidx_start = .; |
bogdanm | 66:9c8f0e3462fb | 76 | .ARM.exidx : |
bogdanm | 66:9c8f0e3462fb | 77 | { |
bogdanm | 66:9c8f0e3462fb | 78 | *(.ARM.exidx* .gnu.linkonce.armexidx.*) |
bogdanm | 66:9c8f0e3462fb | 79 | } > FLASH |
bogdanm | 66:9c8f0e3462fb | 80 | __exidx_end = .; |
bogdanm | 66:9c8f0e3462fb | 81 | |
bogdanm | 66:9c8f0e3462fb | 82 | __etext = .; |
bogdanm | 66:9c8f0e3462fb | 83 | |
bogdanm | 66:9c8f0e3462fb | 84 | .data : AT (__etext) |
bogdanm | 66:9c8f0e3462fb | 85 | { |
bogdanm | 66:9c8f0e3462fb | 86 | __data_start__ = .; |
bogdanm | 66:9c8f0e3462fb | 87 | Image$$RW_IRAM1$$Base = .; |
bogdanm | 66:9c8f0e3462fb | 88 | *(vtable) |
bogdanm | 66:9c8f0e3462fb | 89 | *(.data*) |
bogdanm | 66:9c8f0e3462fb | 90 | |
bogdanm | 66:9c8f0e3462fb | 91 | . = ALIGN(4); |
bogdanm | 66:9c8f0e3462fb | 92 | /* preinit data */ |
bogdanm | 66:9c8f0e3462fb | 93 | PROVIDE (__preinit_array_start = .); |
bogdanm | 66:9c8f0e3462fb | 94 | KEEP(*(.preinit_array)) |
bogdanm | 66:9c8f0e3462fb | 95 | PROVIDE (__preinit_array_end = .); |
bogdanm | 66:9c8f0e3462fb | 96 | |
bogdanm | 66:9c8f0e3462fb | 97 | . = ALIGN(4); |
bogdanm | 66:9c8f0e3462fb | 98 | /* init data */ |
bogdanm | 66:9c8f0e3462fb | 99 | PROVIDE (__init_array_start = .); |
bogdanm | 66:9c8f0e3462fb | 100 | KEEP(*(SORT(.init_array.*))) |
bogdanm | 66:9c8f0e3462fb | 101 | KEEP(*(.init_array)) |
bogdanm | 66:9c8f0e3462fb | 102 | PROVIDE (__init_array_end = .); |
bogdanm | 66:9c8f0e3462fb | 103 | |
bogdanm | 66:9c8f0e3462fb | 104 | |
bogdanm | 66:9c8f0e3462fb | 105 | . = ALIGN(4); |
bogdanm | 66:9c8f0e3462fb | 106 | /* finit data */ |
bogdanm | 66:9c8f0e3462fb | 107 | PROVIDE (__fini_array_start = .); |
bogdanm | 66:9c8f0e3462fb | 108 | KEEP(*(SORT(.fini_array.*))) |
bogdanm | 66:9c8f0e3462fb | 109 | KEEP(*(.fini_array)) |
bogdanm | 66:9c8f0e3462fb | 110 | PROVIDE (__fini_array_end = .); |
bogdanm | 66:9c8f0e3462fb | 111 | |
bogdanm | 66:9c8f0e3462fb | 112 | . = ALIGN(4); |
bogdanm | 66:9c8f0e3462fb | 113 | /* All data end */ |
bogdanm | 66:9c8f0e3462fb | 114 | __data_end__ = .; |
bogdanm | 66:9c8f0e3462fb | 115 | |
bogdanm | 66:9c8f0e3462fb | 116 | } > RAM |
bogdanm | 66:9c8f0e3462fb | 117 | |
bogdanm | 66:9c8f0e3462fb | 118 | |
bogdanm | 66:9c8f0e3462fb | 119 | .bss : |
bogdanm | 66:9c8f0e3462fb | 120 | { |
bogdanm | 66:9c8f0e3462fb | 121 | __bss_start__ = .; |
bogdanm | 66:9c8f0e3462fb | 122 | *(.bss*) |
bogdanm | 66:9c8f0e3462fb | 123 | *(COMMON) |
bogdanm | 66:9c8f0e3462fb | 124 | __bss_end__ = .; |
bogdanm | 66:9c8f0e3462fb | 125 | Image$$RW_IRAM1$$ZI$$Limit = . ; |
bogdanm | 66:9c8f0e3462fb | 126 | } > RAM |
bogdanm | 66:9c8f0e3462fb | 127 | |
bogdanm | 66:9c8f0e3462fb | 128 | |
bogdanm | 66:9c8f0e3462fb | 129 | .heap : |
bogdanm | 66:9c8f0e3462fb | 130 | { |
bogdanm | 66:9c8f0e3462fb | 131 | __end__ = .; |
bogdanm | 66:9c8f0e3462fb | 132 | end = __end__; |
bogdanm | 66:9c8f0e3462fb | 133 | *(.heap*) |
bogdanm | 66:9c8f0e3462fb | 134 | __HeapLimit = .; |
bogdanm | 66:9c8f0e3462fb | 135 | } > RAM |
bogdanm | 66:9c8f0e3462fb | 136 | |
bogdanm | 66:9c8f0e3462fb | 137 | /* .stack_dummy section doesn't contains any symbols. It is only |
bogdanm | 66:9c8f0e3462fb | 138 | * used for linker to calculate size of stack sections, and assign |
bogdanm | 66:9c8f0e3462fb | 139 | * values to stack symbols later */ |
bogdanm | 66:9c8f0e3462fb | 140 | .stack_dummy : |
bogdanm | 66:9c8f0e3462fb | 141 | { |
bogdanm | 66:9c8f0e3462fb | 142 | *(.stack) |
bogdanm | 66:9c8f0e3462fb | 143 | } > RAM |
bogdanm | 66:9c8f0e3462fb | 144 | |
bogdanm | 66:9c8f0e3462fb | 145 | /* Set stack top to end of RAM, and stack limit move down by |
bogdanm | 66:9c8f0e3462fb | 146 | * size of stack_dummy section */ |
bogdanm | 66:9c8f0e3462fb | 147 | __StackTop = ORIGIN(RAM) + LENGTH(RAM); |
bogdanm | 66:9c8f0e3462fb | 148 | __StackLimit = __StackTop - SIZEOF(.stack_dummy); |
bogdanm | 66:9c8f0e3462fb | 149 | PROVIDE(__stack = __StackTop); |
bogdanm | 66:9c8f0e3462fb | 150 | |
bogdanm | 66:9c8f0e3462fb | 151 | /* Check if data + heap + stack exceeds RAM limit */ |
bogdanm | 66:9c8f0e3462fb | 152 | ASSERT(__StackLimit >= __HeapLimit, "region RAM overflowed with stack") |
bogdanm | 66:9c8f0e3462fb | 153 | |
bogdanm | 66:9c8f0e3462fb | 154 | |
bogdanm | 66:9c8f0e3462fb | 155 | /* Code can explicitly ask for data to be |
bogdanm | 66:9c8f0e3462fb | 156 | placed in these higher RAM banks where |
bogdanm | 66:9c8f0e3462fb | 157 | they will be left uninitialized. |
bogdanm | 66:9c8f0e3462fb | 158 | */ |
bogdanm | 66:9c8f0e3462fb | 159 | .AHBSRAM0 (NOLOAD): |
bogdanm | 66:9c8f0e3462fb | 160 | { |
bogdanm | 66:9c8f0e3462fb | 161 | Image$$RW_IRAM2$$Base = . ; |
bogdanm | 66:9c8f0e3462fb | 162 | *(AHBSRAM0) |
bogdanm | 66:9c8f0e3462fb | 163 | Image$$RW_IRAM2$$ZI$$Limit = .; |
bogdanm | 66:9c8f0e3462fb | 164 | } > USB_RAM |
bogdanm | 66:9c8f0e3462fb | 165 | |
bogdanm | 66:9c8f0e3462fb | 166 | .AHBSRAM1 (NOLOAD): |
bogdanm | 66:9c8f0e3462fb | 167 | { |
bogdanm | 66:9c8f0e3462fb | 168 | Image$$RW_IRAM3$$Base = . ; |
bogdanm | 66:9c8f0e3462fb | 169 | *(AHBSRAM1) |
bogdanm | 66:9c8f0e3462fb | 170 | Image$$RW_IRAM3$$ZI$$Limit = .; |
bogdanm | 66:9c8f0e3462fb | 171 | } > ETH_RAM |
bogdanm | 66:9c8f0e3462fb | 172 | } |