I'm trying to fill an array in xdata with zeros as follows:
unsigned char n; //Index to scan the array unsigned char xdata bt[100]; //The array to fill
for(n=0;n<100;n++){ bt[n]=0; }
But when the array size is bigger than 38 elements the MCU hangs. Does anybody know the reason why this happens?
start the USB clock, that does not start USB. be aware that using the FIFO as RAM is slower than using the 'real' RAM. even better use a chip with sufficient 'real' ram there is a plethora of possibilities