Altera_Forum
Honored Contributor
16 years agowrite char in DE2 SRAM
hello,
Sorry I'm a newbie in NIOSII... I would like to write and read a char in the SRAM, I try to use itoa function but NIOSII doesn't recognize this function? I use this command: IOWR_16DIRECT((SRAM_BASE), 4, "a"); value = IORD_16DIRECT((SRAM_BASE), 4); printf("%d,%s\n", 4,value); How can I write a char in SRAM whithout itoa function please? Thx.