cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Visitor
Visitor
3,948 Views
Registered: ‎04-08-2010

SRAM with Microblaze

Jump to solution

Hello all,

 

I'm newer with microblaze and EDK and so i'm creating some examples and run TestApp_Memory_microblaze_0 and TestApp_Peripheral_microblaze_0 with ML505. 

When i incorporated the SRAM device, the TestApp_Memory_microblaze_0 which tests the SRAM memory output in RS232 say that everything is fine. The problem is when i try to run the TestApp_Peripheral_microblaze_0 which nothing appears even i put a printf in the begging of the code. When i see the linker script in the TestApp_Memory_microblaze_0 everything is running using ilmb_cntlr_dlmb_cntlr while in the TestApp_Peripheral_microblaze_0 the memory is SRAM_C_MEM0_BASEADDR. However, if SRAM is OK in the first example why the code doesn't start when i use SRAM?

Please help me 

 

Best Regards

0 Kudos
Reply
1 Solution

Accepted Solutions
4,914 Views
Registered: ‎07-06-2008

If you want to execute your code residing in external memory you must mark to initialize the default bootloop and unmark your software application project and use XMD from the Debug menu to run your code (make appropriate changes to you linker script or just use BSB to give appropriate addresses for instructions,data,stack,heap etc.). More details can be found in chapter 12 of the Embedded Systems Tools Reference Manual (edk10_est_rm.pdf). Searching the forums will also help. Please see these links:

 

http://forums.xilinx.com/xlnx/board/message?board.id=EDK&message.id=6561&query.id=460586#M6561

 

http://forums.xilinx.com/xlnx/board/message?board.id=Spartan&message.id=468&query.id=460586#M468

 

http://forums.xilinx.com/xlnx/board/message?board.id=EDK&message.id=4478&query.id=460586#M4478

 

http://forums.xilinx.com/xlnx/board/message?board.id=EDK&message.id=9553&query.id=460586#M9553

 

http://forums.xilinx.com/xlnx/board/message?board.id=EDK&message.id=5520&query.id=460586#M5520 

 

Message Edited by ninjamafiakhan3 on 04-08-2010 10:51 AM
Message Edited by ninjamafiakhan3 on 04-08-2010 10:52 AM

View solution in original post

2 Replies
4,915 Views
Registered: ‎07-06-2008

If you want to execute your code residing in external memory you must mark to initialize the default bootloop and unmark your software application project and use XMD from the Debug menu to run your code (make appropriate changes to you linker script or just use BSB to give appropriate addresses for instructions,data,stack,heap etc.). More details can be found in chapter 12 of the Embedded Systems Tools Reference Manual (edk10_est_rm.pdf). Searching the forums will also help. Please see these links:

 

http://forums.xilinx.com/xlnx/board/message?board.id=EDK&message.id=6561&query.id=460586#M6561

 

http://forums.xilinx.com/xlnx/board/message?board.id=Spartan&message.id=468&query.id=460586#M468

 

http://forums.xilinx.com/xlnx/board/message?board.id=EDK&message.id=4478&query.id=460586#M4478

 

http://forums.xilinx.com/xlnx/board/message?board.id=EDK&message.id=9553&query.id=460586#M9553

 

http://forums.xilinx.com/xlnx/board/message?board.id=EDK&message.id=5520&query.id=460586#M5520 

 

Message Edited by ninjamafiakhan3 on 04-08-2010 10:51 AM
Message Edited by ninjamafiakhan3 on 04-08-2010 10:52 AM

View solution in original post

Visitor
Visitor
3,935 Views
Registered: ‎04-08-2010

It's working!

 

Thanks, i really appreciate

 

0 Kudos
Reply