Altera_Forum
Honored Contributor
15 years agoread data from on chip memory
hi:
In NiosII software ,I use the TSE_MAC function(tse_mac_raw_send) which altera provided can send data OK, tse_mac_raw_send(send,sizeof(send)); char send[] = {...}; but when I set "on chip memory" manually (the data are the same as the array data in send[] ) and use a pointor to locate the data address like this: char * send = ( char *)(ON_CHIP_MEMORY_BASE); always send failed,I utilize the signaltapII,and find that some data translate OK,and the others false. So,I want to ask,on chip memory can be set data manually? and is the pointer can be used like above? best regard!~