SDK 1.4 Example Code - Garbage on serial port.
Posted: Wed Sep 30, 2015 1:19 pm
Here's how I have setup my toolchain:
OS For Compiling: Ubuntu (VirtualBox Guest)
OS For Flashing: Windows 7 (VirtualBox Host)
Compiler: esp-open-sdk from https://github.com/pfalcon/esp-open-sdk
SDK: ESP SDK 1.4 from bbs.espressif.com
I have set the SDK_PATH to official Espressif SDK 1.4 and BIN_PATH to some other directory
In SDK 1.4, once you run gen_misc.sh it asks you to check SDK _PATH and BIN_PATH.
They show up with correct values.
Then I choose the appropriate values for the next set of questions (SPI Mode, Flash Config, Boot type etc.)
(I later use the same settings in the flash program.)
The process completes without any error and bin files are generated.
It even tells which address to burn each file to.
After burning the files to flash, all I get is garbage data on serial port. I have tried all standard baud rates. Same result.
FYI, I have tried the "project_template" and "smart_config" programs in examples directory of SDK1.4
Both have printf statements in the initialization portion so I was expecting to see some proper text on serial output.
But all I get is garbage characters.
The boards are fine. I have tried it on Node MCU board and Offical Espressif ESP_IOT Ref. board. Old firmware bin created on SDK0.9 and NodeMCU firmware bin run properly on both boards.
What could the problem be?
OS For Compiling: Ubuntu (VirtualBox Guest)
OS For Flashing: Windows 7 (VirtualBox Host)
Compiler: esp-open-sdk from https://github.com/pfalcon/esp-open-sdk
SDK: ESP SDK 1.4 from bbs.espressif.com
I have set the SDK_PATH to official Espressif SDK 1.4 and BIN_PATH to some other directory
In SDK 1.4, once you run gen_misc.sh it asks you to check SDK _PATH and BIN_PATH.
They show up with correct values.
Then I choose the appropriate values for the next set of questions (SPI Mode, Flash Config, Boot type etc.)
(I later use the same settings in the flash program.)
The process completes without any error and bin files are generated.
It even tells which address to burn each file to.
After burning the files to flash, all I get is garbage data on serial port. I have tried all standard baud rates. Same result.
FYI, I have tried the "project_template" and "smart_config" programs in examples directory of SDK1.4
Both have printf statements in the initialization portion so I was expecting to see some proper text on serial output.
But all I get is garbage characters.
The boards are fine. I have tried it on Node MCU board and Offical Espressif ESP_IOT Ref. board. Old firmware bin created on SDK0.9 and NodeMCU firmware bin run properly on both boards.
What could the problem be?