What is the error that is seen? Is that a compiler error or is something unexpected happening while execution? What do you mean by firmware stalls? Can you please detail the behaviour seen.
it passed the compiling without any error.but after i download the hex file with the cyconsole.exe. the firmware doesn't react to cyconsole.exe any more.
I think it may be that my board hasd no external memmory. but i used the "xdata".
however, when i try to define the const in"const char waveform", the Keil errored "segment is too large, target not build". defining the data in "unsigned char waveform" has the same error.
i don't know how to resolve it
Does it atleast enumerate after downloading the program ? How doeas it show up in Device manager ?
In order to resolve the Keil error, please ensure that values that you have mentioned in the "Options for Target" in Keil, for Code and Xdata are proper. For details refer: http://www.keil.com/appnotes/files/apnt_162.pdf