This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3358: U-boot hangs on ADC read

Part Number: AM3358

Hi ti uboot export,

I got uboot HANG when I read tsc adc at base  0x44e0d000 in uboot, what's wrong in my code?  do I need remap the TSCADC__BASE address? 

thanks

James

here is my am335x board adding with  U-Boot 2018.07  code,

#define WDT_BASE     0x44E35000

#define TSCADC__BASE 0x44e0d000

#define REVISION 0

unsigned int tscadc_base = TSCADC__BASE;
printf("---wdt is at %x------\n", readl(WDT_BASE); //works
int val=readl( tscadc_base ); /* <----HANG here!  should get REVISIONRegister(offset= 0h) reset = 47300001h] */
printf("---rev is = %d ------\n",val);