The following program (Teensy36) :
gives an erratic behaviour. The download restarts again and again without stopping, USB seem to restart every time (I hear a beep from the uSB).
If you make minor changes to the program this erratic behaviour will probably disappear. The program is the minimum program that shows for me the behaviour. The program seems to compile fine. Has someone else seen a endless download-loop ? Could someone test whether he can download the code?
Code:
void setup() {
Serial.begin(115200);
for(int k=0 ; k<6 ; k++){
delay(50);
delay(100);
}
test1() ;
}
double iirdX1[20] ;
void test1(){
float inp[16384] ;
double inpd[16384] ;
float CMSISoutp[16384] ;
float CMPoutp[16384] ;
int nSteps=1024 ;
double iirdX0=inpd[1] ;
iirdX1[1]=iirdX0 ;
for(int k=0 ; k<nSteps ; k++){
Serial.printf("k=%3d input=%18.10f out=%18.10f =?= %18.10f\n",k,inp[k],CMSISoutp[k],CMPoutp[k]) ;
}
}
void loop() {
}
If you make minor changes to the program this erratic behaviour will probably disappear. The program is the minimum program that shows for me the behaviour. The program seems to compile fine. Has someone else seen a endless download-loop ? Could someone test whether he can download the code?