реклама на сайте
подробности

 
 
> Прошивка программы в DDR3
electronik1979
сообщение Aug 2 2012, 07:28
Сообщение #1





Группа: Участник
Сообщений: 12
Регистрация: 16-02-12
Пользователь №: 70 292



Есть отладка с kintex7 kc705. Написал простенькую программу на си мигания светодиода и вывода надписи через rs232. Если прошиваю эту программу в брам все работает, если в настройках линкер скрипта указываю ддр3 то после прошивки программа не работает. Версия ise 13_4. Помогите, что я не так делаю?
Go to the top of the page
 
+Quote Post
 
Start new topic
Ответов
Opex
сообщение Aug 2 2012, 11:22
Сообщение #2


Частый гость
**

Группа: Свой
Сообщений: 75
Регистрация: 13-03-11
Из: Екатеринбург
Пользователь №: 63 574



Внешняя память, вообще, работает? Проверяли каким-нибудь мемтестом?
Go to the top of the page
 
+Quote Post
electronik1979
сообщение Aug 3 2012, 08:00
Сообщение #3





Группа: Участник
Сообщений: 12
Регистрация: 16-02-12
Пользователь №: 70 292



Цитата(Opex @ Aug 2 2012, 15:22) *
Внешняя память, вообще, работает? Проверяли каким-нибудь мемтестом?

Сегодня проверил, в тесте память работает

В консоли выдается такое при загрузке и запуске из ддр3

XMD% connect mb mdm

JTAG chain configuration
--------------------------------------------------
Device ID Code IR Length Part Name
1 33651093 6 XC7K325T

MicroBlaze Processor Configuration :
-------------------------------------
Version............................8.20.b
Optimization.......................Performance
Interconnect.......................AXI-LE
MMU Type...........................No_MMU
No of PC Breakpoints...............1
No of Read Addr/Data Watchpoints...0
No of Write Addr/Data Watchpoints..0
Instruction Cache Support..........on
Instruction Cache Base Address.....0xc0000000
Instruction Cache High Address.....0xc7ffffff
Data Cache Support.................on
Data Cache Base Address............0xc0000000
Data Cache High Address............0xc7ffffff
Exceptions Support................off
FPU Support.......................off
Hard Divider Support...............off
Hard Multiplier Support............on - (Mul32)
Barrel Shifter Support.............on
MSR clr/set Instruction Support....on
Compare Instruction Support........on
Data Cache Write-back Support......off
Fault Tolerance Support............off
Stack Protection Support...........off

Connected to "mb" target. id = 0
Starting GDB server for "mb" target (id = 0) at TCP port no 1235
XMD% dow empty_cpp_0/debug/empty_cpp_0.elf
Downloading Program -- empty_cpp_0/debug/empty_cpp_0.elf
section, .vectors.reset: 0x00000000-0x00000007
section, .vectors.sw_exception: 0x00000008-0x0000000f
section, .vectors.interrupt: 0x00000010-0x00000017
section, .vectors.hw_exception: 0x00000020-0x00000027
section, .text: 0xc0000000-0xc0000ecb
section, .init: 0xc0000ecc-0xc0000f07
section, .fini: 0xc0000f08-0xc0000f23
section, .ctors: 0xc0000f24-0xc0000f2b
section, .dtors: 0xc0000f2c-0xc0000f33
section, .rodata: 0xc0000f34-0xc0001331
section, .sdata2: 0xc0001332-0xc0001337
section, .data: 0xc0001338-0xc0001473
section, .eh_frame: 0xc0001474-0xc0001477
section, .jcr: 0xc0001478-0xc000147b
section, .bss: 0xc0001480-0xc00014a3
section, .heap: 0xc00014a4-0xc00018a7
section, .stack: 0xc00018a8-0xc0001ca7
Setting PC with Program Start Address 0x00000000
System Reset .... DONE

XMD% run

RUNNING> 0
XMD% state
--------------------------------------------------------
System(1) - Hardware System on FPGA(Device 1) Targets:
--------------------------------------------------------
Blocked on Mem Instr Target(0) - MicroBlaze(1) Debug Target*


XMD%
XMD% rst
System reset successfully

0
XMD% run
ERROR: Debug Operation Not Supported on the Target
MicroBlaze Pipeline Stalled on a Blocking Instruction or Invalid Bus Access
Stalled PC: 0x00000008
Try Resetting the Processor to Continue..



Сообщение отредактировал electronik1979 - Aug 3 2012, 07:44
Go to the top of the page
 
+Quote Post



Reply to this topicStart new topic
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 


RSS Текстовая версия Сейчас: 22nd July 2025 - 01:44
Рейтинг@Mail.ru


Страница сгенерированна за 0.01401 секунд с 7
ELECTRONIX ©2004-2016