diff --git a/board/gpio.h b/board/gpio.h index 6112f6f8..7bd24ecb 100644 --- a/board/gpio.h +++ b/board/gpio.h @@ -454,6 +454,7 @@ void early() { #ifdef PANDA // enable the ESP, disable ESP boot mode // unless we are on a giant panda, then there's no ESP + // dont disable on grey panda if (is_giant_panda) { set_esp_mode(ESP_DISABLED); } else { diff --git a/board/main.c b/board/main.c index a8a0674c..8ee1bb0c 100644 --- a/board/main.c +++ b/board/main.c @@ -539,6 +539,9 @@ int main() { } else { // enable ESP uart uart_init(USART1, 115200); + #ifdef EON + set_esp_mode(ESP_DISABLED); + #endif } // enable LIN uart_init(UART5, 10400); diff --git a/python/__init__.py b/python/__init__.py index b0364c20..b3610e6c 100644 --- a/python/__init__.py +++ b/python/__init__.py @@ -250,6 +250,7 @@ class Panda(object): pass def flash(self, fn=None, code=None, reconnect=True): + print("flash: main version is " + self.get_version()) if not self.bootstub: self.reset(enter_bootstub=True) assert(self.bootstub) @@ -270,7 +271,7 @@ class Panda(object): code = f.read() # get version - print("flash: version is " + self.get_version()) + print("flash: bootstub version is " + self.get_version()) # do flash Panda.flash_static(self._handle, code)