Hey folks,
A real newbie question and possibly a very stupid one.
My x-loader is not working the way it should from NAND flash and I'm trying to debug it. I'm using a custom board.
I've attached an LED to my board and I'm trying to blink it at various stages inside the x-loader source. I made a function called blinkTwice() (which blinks the LED twice), and that function contains some instances of delay(1000);.
However, when I launch my x-loader from MMC, just to test the LED flashing, x-loader appears to ignore all my calls to delay(1000) and blasts straight into u-boot and beyond.
For example:
printf("before delay... \n");
delay(1000);
printf("after delay... \n");
Happens in the blink of an eye.
Thankyou all!