Forum Discussion

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

transfer from internal to external memory

Hallo, I am new in the use of the nios system and tried to transfer a program using up to now internal memory of the cyclon chip to extenal memory.

It seems to fail to change the reset / exeption adress from internal to external memory ( SDRam ) and then download the new code ( also changed in the ide this locations ).

Can someone help me to do this correct?

best regards Karl http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/sad.gif

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi schinner

    If you use reset / exeption address in SOPC Builder is SDRAM and also use Programme memory, read only data memory, read/write data memory,heap memory and stack memory in Nios IDE as SDRAM then I am sure that system works perfectly. but the condition is that pin assignment and all the timing parameter of SDRAM is perfect.

    Have you check the simple "hello world" programme using your system?

    Please send me the error report which you got....

    regards,

    slsnios
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Dear slsnios

    it seems to work fine, but after starting the software from nios ide i got the message

    nios terminal "connected to hardwware target using jtag uart on cable" then

    "Use the IDE stop button or ctrnl-C to terminate"

    and that´s it the program didn´t visually start ( no output at all ).
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    HI

    If you run the programme from Nios IDE and it run but not dispay any

    message means , nios cpu does not working . So first check the simple

    "hello world" programme in nios ide and then check is it working or not. then go ahead

    Thanks

    slsnios