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_CS/LPC1768.ld@65:5798e58a58b1, 2013-08-12 (annotated)
- Committer:
- bogdanm
- Date:
- Mon Aug 12 13:17:46 2013 +0300
- Revision:
- 65:5798e58a58b1
- Parent:
- 64:e3affc9e7238
- Child:
- 66:9c8f0e3462fb
New target (LPC4088), new features (interrupt chaining), bug fixes (KL25Z I2C).
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 65:5798e58a58b1 | 1 | /* Linker script for mbed LPC1768 |
bogdanm | 65:5798e58a58b1 | 2 | * |
bogdanm | 65:5798e58a58b1 | 3 | * Version:CodeSourcery Sourcery G++ Lite 2007q3-53 |
bogdanm | 65:5798e58a58b1 | 4 | * BugURL:https://support.codesourcery.com/GNUToolchain/ |
bogdanm | 65:5798e58a58b1 | 5 | * |
bogdanm | 65:5798e58a58b1 | 6 | * Copyright 2007 CodeSourcery. |
bogdanm | 65:5798e58a58b1 | 7 | * |
bogdanm | 65:5798e58a58b1 | 8 | * The authors hereby grant permission to use, copy, modify, distribute, |
bogdanm | 65:5798e58a58b1 | 9 | * and license this software and its documentation for any purpose, provided |
bogdanm | 65:5798e58a58b1 | 10 | * that existing copyright notices are retained in all copies and that this |
bogdanm | 65:5798e58a58b1 | 11 | * notice is included verbatim in any distributions. No written agreement, |
bogdanm | 65:5798e58a58b1 | 12 | * license, or royalty fee is required for any of the authorized uses. |
bogdanm | 65:5798e58a58b1 | 13 | * Modifications to this software may be copyrighted by their authors |
bogdanm | 65:5798e58a58b1 | 14 | * and need not follow the licensing terms described here, provided that |
bogdanm | 65:5798e58a58b1 | 15 | * the new terms are clearly indicated on the first page of each file where |
bogdanm | 65:5798e58a58b1 | 16 | * they apply. */ |
bogdanm | 65:5798e58a58b1 | 17 | OUTPUT_FORMAT ("elf32-littlearm", "elf32-bigarm", "elf32-littlearm") |
bogdanm | 65:5798e58a58b1 | 18 | ENTRY(__cs3_reset_cortex_m) |
bogdanm | 65:5798e58a58b1 | 19 | SEARCH_DIR(.) |
bogdanm | 65:5798e58a58b1 | 20 | |
bogdanm | 65:5798e58a58b1 | 21 | /* |
bogdanm | 65:5798e58a58b1 | 22 | ram ORIGIN: 8_byte_aligned(49 vect * 4 bytes) = 8_byte_aligned(0xC4) = 0xC8 |
bogdanm | 65:5798e58a58b1 | 23 | ram LENGTH: 32KB - 0xC8 = 0x7F38 |
bogdanm | 65:5798e58a58b1 | 24 | */ |
bogdanm | 65:5798e58a58b1 | 25 | MEMORY |
bogdanm | 65:5798e58a58b1 | 26 | { |
bogdanm | 65:5798e58a58b1 | 27 | rom (rx) : ORIGIN = 0x00000000, LENGTH = 512K |
bogdanm | 65:5798e58a58b1 | 28 | |
bogdanm | 65:5798e58a58b1 | 29 | ram (rwx) : ORIGIN = 0x100000C8, LENGTH = 0x7F38 |
bogdanm | 65:5798e58a58b1 | 30 | |
bogdanm | 65:5798e58a58b1 | 31 | ram1(rwx) : ORIGIN = 0x2007C000, LENGTH = 16K |
bogdanm | 65:5798e58a58b1 | 32 | ram2(rwx) : ORIGIN = 0x20080000, LENGTH = 16K |
bogdanm | 65:5798e58a58b1 | 33 | } |
bogdanm | 65:5798e58a58b1 | 34 | |
bogdanm | 65:5798e58a58b1 | 35 | /* These force the linker to search for particular symbols from |
bogdanm | 65:5798e58a58b1 | 36 | * the start of the link process and thus ensure the user's |
bogdanm | 65:5798e58a58b1 | 37 | * overrides are picked up |
bogdanm | 65:5798e58a58b1 | 38 | */ |
bogdanm | 65:5798e58a58b1 | 39 | EXTERN(__cs3_reset_cortex_m) |
bogdanm | 65:5798e58a58b1 | 40 | EXTERN(__cs3_interrupt_vector_cortex_m) |
bogdanm | 65:5798e58a58b1 | 41 | EXTERN(__cs3_start_c main __cs3_stack __cs3_stack_size __cs3_heap_end) |
bogdanm | 65:5798e58a58b1 | 42 | |
bogdanm | 65:5798e58a58b1 | 43 | PROVIDE(__cs3_stack = __cs3_region_start_ram + __cs3_region_size_ram); |
bogdanm | 65:5798e58a58b1 | 44 | PROVIDE(__cs3_stack_size = __cs3_region_start_ram + __cs3_region_size_ram - _end); |
bogdanm | 65:5798e58a58b1 | 45 | PROVIDE(__cs3_heap_start = _end); |
bogdanm | 65:5798e58a58b1 | 46 | PROVIDE(__cs3_heap_end = __cs3_region_start_ram + __cs3_region_size_ram); |
bogdanm | 65:5798e58a58b1 | 47 | |
bogdanm | 65:5798e58a58b1 | 48 | SECTIONS |
bogdanm | 65:5798e58a58b1 | 49 | { |
bogdanm | 65:5798e58a58b1 | 50 | .text : |
bogdanm | 65:5798e58a58b1 | 51 | { |
bogdanm | 65:5798e58a58b1 | 52 | CREATE_OBJECT_SYMBOLS |
bogdanm | 65:5798e58a58b1 | 53 | __cs3_region_start_rom = .; |
bogdanm | 65:5798e58a58b1 | 54 | *(.cs3.region-head.rom) |
bogdanm | 65:5798e58a58b1 | 55 | __cs3_interrupt_vector = __cs3_interrupt_vector_cortex_m; |
bogdanm | 65:5798e58a58b1 | 56 | *(.cs3.interrupt_vector) |
bogdanm | 65:5798e58a58b1 | 57 | /* Make sure we pulled in an interrupt vector. */ |
bogdanm | 65:5798e58a58b1 | 58 | ASSERT (. != __cs3_interrupt_vector_cortex_m, "No interrupt vector"); |
bogdanm | 65:5798e58a58b1 | 59 | *(.rom) |
bogdanm | 65:5798e58a58b1 | 60 | *(.rom.b) |
bogdanm | 65:5798e58a58b1 | 61 | |
bogdanm | 65:5798e58a58b1 | 62 | __cs3_reset = __cs3_reset_cortex_m; |
bogdanm | 65:5798e58a58b1 | 63 | *(.cs3.reset) |
bogdanm | 65:5798e58a58b1 | 64 | /* Make sure we pulled in some reset code. */ |
bogdanm | 65:5798e58a58b1 | 65 | ASSERT (. != __cs3_reset, "No reset code"); |
bogdanm | 65:5798e58a58b1 | 66 | |
bogdanm | 65:5798e58a58b1 | 67 | *(.text .text.* .gnu.linkonce.t.*) |
bogdanm | 65:5798e58a58b1 | 68 | *(.plt) |
bogdanm | 65:5798e58a58b1 | 69 | *(.gnu.warning) |
bogdanm | 65:5798e58a58b1 | 70 | *(.glue_7t) *(.glue_7) *(.vfp11_veneer) |
bogdanm | 65:5798e58a58b1 | 71 | |
bogdanm | 65:5798e58a58b1 | 72 | *(.rodata .rodata.* .gnu.linkonce.r.*) |
bogdanm | 65:5798e58a58b1 | 73 | |
bogdanm | 65:5798e58a58b1 | 74 | *(.ARM.extab* .gnu.linkonce.armextab.*) |
bogdanm | 65:5798e58a58b1 | 75 | *(.gcc_except_table) |
bogdanm | 65:5798e58a58b1 | 76 | *(.eh_frame_hdr) |
bogdanm | 65:5798e58a58b1 | 77 | *(.eh_frame) |
bogdanm | 65:5798e58a58b1 | 78 | |
bogdanm | 65:5798e58a58b1 | 79 | . = ALIGN(4); |
bogdanm | 65:5798e58a58b1 | 80 | KEEP(*(.init)) |
bogdanm | 65:5798e58a58b1 | 81 | |
bogdanm | 65:5798e58a58b1 | 82 | . = ALIGN(4); |
bogdanm | 65:5798e58a58b1 | 83 | __preinit_array_start = .; |
bogdanm | 65:5798e58a58b1 | 84 | KEEP (*(.preinit_array)) |
bogdanm | 65:5798e58a58b1 | 85 | __preinit_array_end = .; |
bogdanm | 65:5798e58a58b1 | 86 | |
bogdanm | 65:5798e58a58b1 | 87 | . = ALIGN(4); |
bogdanm | 65:5798e58a58b1 | 88 | __init_array_start = .; |
bogdanm | 65:5798e58a58b1 | 89 | KEEP (*(SORT(.init_array.*))) |
bogdanm | 65:5798e58a58b1 | 90 | KEEP (*(.init_array)) |
bogdanm | 65:5798e58a58b1 | 91 | __init_array_end = .; |
bogdanm | 65:5798e58a58b1 | 92 | |
bogdanm | 65:5798e58a58b1 | 93 | . = ALIGN(0x4); |
bogdanm | 65:5798e58a58b1 | 94 | KEEP (*crtbegin.o(.ctors)) |
bogdanm | 65:5798e58a58b1 | 95 | KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors)) |
bogdanm | 65:5798e58a58b1 | 96 | KEEP (*(SORT(.ctors.*))) |
bogdanm | 65:5798e58a58b1 | 97 | KEEP (*crtend.o(.ctors)) |
bogdanm | 65:5798e58a58b1 | 98 | |
bogdanm | 65:5798e58a58b1 | 99 | . = ALIGN(4); |
bogdanm | 65:5798e58a58b1 | 100 | KEEP(*(.fini)) |
bogdanm | 65:5798e58a58b1 | 101 | |
bogdanm | 65:5798e58a58b1 | 102 | . = ALIGN(4); |
bogdanm | 65:5798e58a58b1 | 103 | __fini_array_start = .; |
bogdanm | 65:5798e58a58b1 | 104 | KEEP (*(.fini_array)) |
bogdanm | 65:5798e58a58b1 | 105 | KEEP (*(SORT(.fini_array.*))) |
bogdanm | 65:5798e58a58b1 | 106 | __fini_array_end = .; |
bogdanm | 65:5798e58a58b1 | 107 | |
bogdanm | 65:5798e58a58b1 | 108 | KEEP (*crtbegin.o(.dtors)) |
bogdanm | 65:5798e58a58b1 | 109 | KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors)) |
bogdanm | 65:5798e58a58b1 | 110 | KEEP (*(SORT(.dtors.*))) |
bogdanm | 65:5798e58a58b1 | 111 | KEEP (*crtend.o(.dtors)) |
bogdanm | 65:5798e58a58b1 | 112 | |
bogdanm | 65:5798e58a58b1 | 113 | . = ALIGN(4); |
bogdanm | 65:5798e58a58b1 | 114 | __cs3_regions = .; |
bogdanm | 65:5798e58a58b1 | 115 | LONG (0) |
bogdanm | 65:5798e58a58b1 | 116 | LONG (__cs3_region_init_ram) |
bogdanm | 65:5798e58a58b1 | 117 | LONG (__cs3_region_start_ram) |
bogdanm | 65:5798e58a58b1 | 118 | LONG (__cs3_region_init_size_ram) |
bogdanm | 65:5798e58a58b1 | 119 | LONG (__cs3_region_zero_size_ram) |
bogdanm | 65:5798e58a58b1 | 120 | } |
bogdanm | 65:5798e58a58b1 | 121 | |
bogdanm | 65:5798e58a58b1 | 122 | /* .ARM.exidx is sorted, so has to go in its own output section. */ |
bogdanm | 65:5798e58a58b1 | 123 | __exidx_start = .; |
bogdanm | 65:5798e58a58b1 | 124 | .ARM.exidx : |
bogdanm | 65:5798e58a58b1 | 125 | { |
bogdanm | 65:5798e58a58b1 | 126 | *(.ARM.exidx* .gnu.linkonce.armexidx.*) |
bogdanm | 65:5798e58a58b1 | 127 | } >rom |
bogdanm | 65:5798e58a58b1 | 128 | __exidx_end = .; |
bogdanm | 65:5798e58a58b1 | 129 | .text.align : |
bogdanm | 65:5798e58a58b1 | 130 | { |
bogdanm | 65:5798e58a58b1 | 131 | . = ALIGN(8); |
bogdanm | 65:5798e58a58b1 | 132 | _etext = .; |
bogdanm | 65:5798e58a58b1 | 133 | } >rom |
bogdanm | 65:5798e58a58b1 | 134 | __cs3_region_size_rom = LENGTH(rom); |
bogdanm | 65:5798e58a58b1 | 135 | __cs3_region_num = 1; |
bogdanm | 65:5798e58a58b1 | 136 | |
bogdanm | 65:5798e58a58b1 | 137 | .data : |
bogdanm | 65:5798e58a58b1 | 138 | { |
bogdanm | 65:5798e58a58b1 | 139 | __cs3_region_start_ram = .; |
bogdanm | 65:5798e58a58b1 | 140 | *(.cs3.region-head.ram) |
bogdanm | 65:5798e58a58b1 | 141 | KEEP(*(.jcr)) |
bogdanm | 65:5798e58a58b1 | 142 | *(.got.plt) *(.got) |
bogdanm | 65:5798e58a58b1 | 143 | *(.shdata) |
bogdanm | 65:5798e58a58b1 | 144 | *(.data .data.* .gnu.linkonce.d.*) |
bogdanm | 65:5798e58a58b1 | 145 | *(.ram) |
bogdanm | 65:5798e58a58b1 | 146 | . = ALIGN (8); |
bogdanm | 65:5798e58a58b1 | 147 | _edata = .; |
bogdanm | 65:5798e58a58b1 | 148 | } >ram AT>rom |
bogdanm | 65:5798e58a58b1 | 149 | .bss : |
bogdanm | 65:5798e58a58b1 | 150 | { |
bogdanm | 65:5798e58a58b1 | 151 | *(.shbss) |
bogdanm | 65:5798e58a58b1 | 152 | *(.bss .bss.* .gnu.linkonce.b.*) |
bogdanm | 65:5798e58a58b1 | 153 | *(COMMON) |
bogdanm | 65:5798e58a58b1 | 154 | *(.ram.b) |
bogdanm | 65:5798e58a58b1 | 155 | . = ALIGN (8); |
bogdanm | 65:5798e58a58b1 | 156 | _end = .; |
bogdanm | 65:5798e58a58b1 | 157 | __end = .; |
bogdanm | 65:5798e58a58b1 | 158 | } >ram AT>rom |
bogdanm | 65:5798e58a58b1 | 159 | /* This used for USB RAM section */ |
bogdanm | 65:5798e58a58b1 | 160 | .usb_ram (NOLOAD): |
bogdanm | 65:5798e58a58b1 | 161 | { |
bogdanm | 65:5798e58a58b1 | 162 | *.o (USB_RAM) |
bogdanm | 65:5798e58a58b1 | 163 | } > ram2 |
bogdanm | 65:5798e58a58b1 | 164 | .heap (NOLOAD) : |
bogdanm | 65:5798e58a58b1 | 165 | { |
bogdanm | 65:5798e58a58b1 | 166 | *(.heap) |
bogdanm | 65:5798e58a58b1 | 167 | } >ram |
bogdanm | 65:5798e58a58b1 | 168 | .stack (__cs3_stack - __cs3_stack_size) (NOLOAD): |
bogdanm | 65:5798e58a58b1 | 169 | { |
bogdanm | 65:5798e58a58b1 | 170 | *(.stack) |
bogdanm | 65:5798e58a58b1 | 171 | _estack = .; |
bogdanm | 65:5798e58a58b1 | 172 | PROVIDE(estack = .); |
bogdanm | 65:5798e58a58b1 | 173 | } >ram |
bogdanm | 65:5798e58a58b1 | 174 | |
bogdanm | 65:5798e58a58b1 | 175 | __cs3_region_init_ram = LOADADDR (.data); |
bogdanm | 65:5798e58a58b1 | 176 | __cs3_region_init_size_ram = _edata - __cs3_region_start_ram; |
bogdanm | 65:5798e58a58b1 | 177 | __cs3_region_zero_size_ram = _end - _edata; |
bogdanm | 65:5798e58a58b1 | 178 | __cs3_region_size_ram = LENGTH(ram); |
bogdanm | 65:5798e58a58b1 | 179 | __cs3_region_num = 1; |
bogdanm | 65:5798e58a58b1 | 180 | |
bogdanm | 65:5798e58a58b1 | 181 | .stab 0 (NOLOAD) : { *(.stab) } |
bogdanm | 65:5798e58a58b1 | 182 | .stabstr 0 (NOLOAD) : { *(.stabstr) } |
bogdanm | 65:5798e58a58b1 | 183 | /* DWARF debug sections. |
bogdanm | 65:5798e58a58b1 | 184 | * Symbols in the DWARF debugging sections are relative to the beginning |
bogdanm | 65:5798e58a58b1 | 185 | * of the section so we begin them at 0. */ |
bogdanm | 65:5798e58a58b1 | 186 | /* DWARF 1 */ |
bogdanm | 65:5798e58a58b1 | 187 | .debug 0 : { *(.debug) } |
bogdanm | 65:5798e58a58b1 | 188 | .line 0 : { *(.line) } |
bogdanm | 65:5798e58a58b1 | 189 | /* GNU DWARF 1 extensions */ |
bogdanm | 65:5798e58a58b1 | 190 | .debug_srcinfo 0 : { *(.debug_srcinfo) } |
bogdanm | 65:5798e58a58b1 | 191 | .debug_sfnames 0 : { *(.debug_sfnames) } |
bogdanm | 65:5798e58a58b1 | 192 | /* DWARF 1.1 and DWARF 2 */ |
bogdanm | 65:5798e58a58b1 | 193 | .debug_aranges 0 : { *(.debug_aranges) } |
bogdanm | 65:5798e58a58b1 | 194 | .debug_pubnames 0 : { *(.debug_pubnames) } |
bogdanm | 65:5798e58a58b1 | 195 | /* DWARF 2 */ |
bogdanm | 65:5798e58a58b1 | 196 | .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) } |
bogdanm | 65:5798e58a58b1 | 197 | .debug_abbrev 0 : { *(.debug_abbrev) } |
bogdanm | 65:5798e58a58b1 | 198 | .debug_line 0 : { *(.debug_line) } |
bogdanm | 65:5798e58a58b1 | 199 | .debug_frame 0 : { *(.debug_frame) } |
bogdanm | 65:5798e58a58b1 | 200 | .debug_str 0 : { *(.debug_str) } |
bogdanm | 65:5798e58a58b1 | 201 | .debug_loc 0 : { *(.debug_loc) } |
bogdanm | 65:5798e58a58b1 | 202 | .debug_macinfo 0 : { *(.debug_macinfo) } |
bogdanm | 65:5798e58a58b1 | 203 | /* SGI/MIPS DWARF 2 extensions */ |
bogdanm | 65:5798e58a58b1 | 204 | .debug_weaknames 0 : { *(.debug_weaknames) } |
bogdanm | 65:5798e58a58b1 | 205 | .debug_funcnames 0 : { *(.debug_funcnames) } |
bogdanm | 65:5798e58a58b1 | 206 | .debug_typenames 0 : { *(.debug_typenames) } |
bogdanm | 65:5798e58a58b1 | 207 | .debug_varnames 0 : { *(.debug_varnames) } |
bogdanm | 65:5798e58a58b1 | 208 | |
bogdanm | 65:5798e58a58b1 | 209 | .note.gnu.arm.ident 0 : { KEEP (*(.note.gnu.arm.ident)) } |
bogdanm | 65:5798e58a58b1 | 210 | .ARM.attributes 0 : { KEEP (*(.ARM.attributes)) } |
bogdanm | 65:5798e58a58b1 | 211 | /DISCARD/ : { *(.note.GNU-stack) } |
bogdanm | 65:5798e58a58b1 | 212 | } |