
Thus, two defines would have sufficed instead of the whole structure. Specifying the complete watchdog register with the am335x_wdt structure might seem overkill, since I'm only needing access to two registers. #define W_PEND_WSPR 0x00000010 /* Write pending for reg WSPR */ #define AM335X_WDT_ADDR 0x44E35000 /* Watchdog reg base address */ Uint32 wdt_wirqenclr /* Watchdog Interrupt Enable Clear Reg.*/ Uint32 wdt_wirqenset /* watchdog interrupt enable set reg. Uint32 wdt_wirqstat /* watchdog interrupt status register */ Uint32 wdt_wirqstatraw /* watchdog raw interrupt status reg. Uint32 wdt_wspr /* watchdog start/stop register */ Uint32 wdt_wdly /* watchdog delay configuration reg. Uint32 wdt_wwps /* watchdog write posting bits reg. Uint32 wdt_wtgr /* watchdog trigger register */ Uint32 wdt_wldr /* watchdog load register */ Uint32 wdt_wcrr /* watchdog counter register */ Uint32 wdt_wclr /* watchdog control register */ Uint32 wdt_wier /* watchdog interrupt enable register */ Uint32 wdt_wisr /* watchdog interrupt status register */ Uint32 wdt_wdst /* watchdog status register */ Uint32 wdt_wdsc /* watchdog system control register */ Uint32 wdt_widr /* watchdog identification register */ So we need to check the 0x44e35048.įrom uboot (don't use the exact address, only 10h increments, otherwise you might get a reset): The WDT_WSPR has an offset of 48h from the base register, WDT1, which has the address 0x44e35000.
Beaglebone black minicom manual#
You can check if the watchdog is set by reading the WDT_WSPR register, while in uboot (see also the Technical Reference Manual for AM335x). The watchdog timeout is approximately 60 seconds. Xinu does not have a "feed-the-dog" implementation as far as I can tell. If the watchdog is enabled on the BBB, after the Xinu boots, the watchdog timer will expire and the BBB will reset. Sometimes you'll get a timeout on pathname error from minicom. If you somehow can't interrupt the boot process because you can't send any keys through minicom, check the "serial port setup" again. Next, follow steps 4-8 from the instructions mentioned above. If you don't have those installed, you'll get the failure executing protocol error when trying to upload the boot file.

Lastly, the ymodem protocol used by minicom for file transfer uses /usr/bin/rb and /usr/bin/sb by default. This will save the previous settings for the next time minicom is launched. Press Esc to go to the previous menu and then Save setup as dfl. Press F to disable the Hardware Flow Control.
Beaglebone black minicom serial#
Press Shift+a (or A, for short) to change the Serial Device to /dev/ttyUSB0.
