I think I finally found out why I can't access the RTOS shell Interface (ambsh). A2 chipsets only support 1 UART channel. Since the dashcam has GPS (which uses a serial connection -> UART) it needs to switch to GPS "channel": BAUD 9600. But: The debugging interface uses 115200.
Some information I collected on this (from the A2SDK):
Need to figure out how to find GPIO 35
Edit: Just tried NO-GPS Firmware - what shall I say.. I'm in
Edit 2:
uname-like command: ver
Edit 3:
GPIO dump:
Some information I collected on this (from the A2SDK):
Code:
#define GPS_UART_GPIO GPIO(35)
Code:
Select the UART baud rate under the RTOS. By default 115200 is for UART debug.
9600 is for GPS UART communication.
Code:
printk("Set GPS_UART_GPIO to high in order to use GPS USB-UART interface.");
printk("Set GPS_UART_GPIO to low to disable GPS USB-UART interface.");
Code:
printk("Before start recording video, set GPS_UART_GPIO to high in order to use GPS USB-UART interface.");
printk("Before start recording video, set GPS_UART_GPIO to high in order to use GPS USB-UART interface.");
Need to figure out how to find GPIO 35
Edit: Just tried NO-GPS Firmware - what shall I say.. I'm in
Edit 2:
uname-like command: ver
Code:
Output:
prkapp: zhoujie@E-WELLY Sat Mar 8 14:17:58 HKT 2014
prkv4: cychen@jingaysen Mon Nov 16 16:00:48 CST 2009
prfile2: kfchen@jingaysen Wed Apr 7 19:47:32 CST 2010
prusb: cychou@trovatore Wed Aug 11 16:50:01 CST 2010
bondopt: cychen@jingaysen Fri Sep 14 11:25:15 CST 2012
Edit 3:
GPIO dump:
Code:
gpio0: HW 1
gpio1: HW 1
gpio2: HW 1
gpio3: HW 0
gpio4: HW 0
gpio5: HW 1
gpio6: HW 1
gpio7: SW 1
gpio8: HW 0
gpio9: HW 1
gpio10: SW 1
gpio11: HW 1
gpio12: HW 0
gpio13: HW 0
gpio14: HW 1
gpio15: HW 1
gpio16: HW 0
gpio17: HW 0
gpio18: HW 0
gpio19: HW 0
gpio20: HW 0
gpio21: HW 0
gpio22: HW 0
gpio23: HW 0
gpio24: HW 0
gpio25: HW 0
gpio26: HW 0
gpio27: HW 0
gpio28: HW 0
gpio29: HW 0
gpio30: HW 1
gpio31: HW 0
gpio32: HW 0
gpio33: HW 0
gpio34: HW 0
gpio35: HW 0
gpio36: SW 1
gpio37: HW 0
gpio38: SW 0
gpio39: SW 0
gpio40: SW 1
gpio41: SW 1
gpio42: HW 0
gpio43: SW 0
gpio44: HW 0
gpio45: SW 1
gpio46: SW 0
gpio47: SW 0
gpio48: HW 1
gpio49: SW 0
gpio50: HW 0
gpio51: SW 1
gpio52: HW 0
gpio53: HW 0
gpio54: HW 0
gpio55: HW 0
gpio56: HW 0
gpio57: HW 0
gpio58: SW 1
gpio59: HW 0
gpio60: HW 0
gpio61: HW 0
gpio62: HW 0
gpio63: HW 0
gpio64: SW 1
gpio65: HW 0
gpio66: HW 0
gpio67: HW 0
gpio68: HW 0
gpio69: HW 0
gpio70: HW 0
gpio71: HW 0
gpio72: HW 0
gpio73: HW 0
gpio74: HW 0
gpio75: HW 0
gpio76: HW 0
gpio77: HW 0
gpio78: HW 0
gpio79: HW 0
gpio80: HW 0
Last edited: