Forum Discussion

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

Determine data in payload

Hi @ all,

when I try to send an array of chars to a PC from the NIOS II, all I get is bogus data. Does anyone know how to locate the data in the payload!?

Cheers,

Danny

2 Replies

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

    I would have to say that the payload is my data. Now revolt told me that when you use the full featured sof datacache is being used and you would have to set bit 31 in order to get rid of this. But what register do I have to 'or' in order to get rid of this!?

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

    --- Quote Start ---

    originally posted by dannyjacobs@Nov 23 2005, 05:17 AM

    i would have to say that the payload is my data. now revolt told me that when you use the full featured sof datacache is being used and you would have to set bit 31 in order to get rid of this. but what register do i have to 'or' in order to get rid of this!?

    <div align='right'><{post_snapback}> (index.php?act=findpost&pid=11110)

    --- quote end ---

    --- Quote End ---

    I suggest you read Chapter 7 of the Nios Software Developers Handbook, where this is all explained. The file can be found in \altera\kits\nios2\documents\n2sw_nii5v2.pdf