Цитата(danko_d @ Jan 26 2011, 16:56)

Я имею в виду кто работает с каким-то армом, не важно каким, для него нужно сделать начальную настройку регистров, remap, у вас есть какой-то файл и кусок кода, который вы сами настраивали или ничего не надо?
Настройка делается в ассемблерном стартапе. Например, так:
Код
; ***************************************************************************
; * Initialise the Memory Controller
; *
resetvec
;- | Copy the Image of the Memory Controller
ldr r10, =ImageMemorySelect ; get the address of the chip select register image
;- | Copy Chip Select Register Image to Memory Controller and command remap
ldmia r10!, {r0-r9, r11, r12} ; load the complete image
stmia r11!, {r0-r9} ; store the complete image with the remap command
mov pc, r12
___start
...
...
; ***************************************************************************
; * This is data used to setup the boards memory
ImageMemorySelect
DCD 0x01003535; 0x01000000, 16MB, 2 tdf, 16 bits, 6 ws - Flash x16
DCD 0x10000000; unused
DCD 0x0500353d; 0x05000000, 16MB, 2 tdf, 16 bits, 8 ws - ECS0 / CF
DCD 0x0200353d; 0x02000000, 16MB, 2 tdf, 16 bits, 8 ws - ECS1 / CS8900
DCD 0x03003536; 0x03000000, 16MB, 2 tdf, 8 bits, 6 ws - Onboard PLD
DCD 0x0400353e; 0x04000000, 16MB, 2 tdf, 8 bits, 8 ws - ECS2
DCD 0x60000000; unused - ECS3
DCD 0x70000000; unused
DCD 0x00000001; REMAP commande
DCD 0x00000006; 7 memory regions, standard read
DCD EBI_BASE; EBI address
DCD ___start; Start of high level initialization