Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
14 years ago

running program in SRAM doesn't work

Hi all,

I am running my C program in NiosII and I need to print out the result on the console. There are a 512KB SRAM and an 8MB SDRAM on the board.

The program works fine with the SDRAM.

However when I changed all the program sections' specification to SRAM in the BSP Editor (in the Nios II SBT), the program can be downloaded to the board but it shows nothing on the NiosII Console.

My program is 106KB so should be possible to run in SRAM.

Anybody who can tell me possible reasons why it happens?

24 Replies