printf not working ?

ChiiSama
Posts: 2
Joined: Mon Oct 02, 2017 1:51 pm

printf not working ?

Postby ChiiSama » Mon Oct 02, 2017 1:57 pm

Hi,
absolutly newbie.
Started with the simple Hello World example but it seems that printf or something does not work.
I see a few lines of a status message and after that only garbage lines over putty or monitor.
I connect via USB (ESP32 Thing from Spark fun)
Any Idea ?

Log looks like:

rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
ets Jun 8 2016 00:22:57

rst:0x10 (RTCWDT_RTC_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:3
load:0x3fff0010,len:4
load:0x3fff0014,len:5572
load:0x40078000,len:0
load:0x40078000,len:12484
hΗ╗eZ
HShKOݞ
/۸nrl╝ b

nnb
l' l╝ njb$bĒܒbr╚b8r
#b╗Čn╗ǂ╚╗╝nnnn bnln#`89ln╚0l 8~nb
n╚߱n╚n l
/۸nrl╝ b l8n#`89ln╚0

nnb
l' l╝ njb$bĒܒbr╚b8r
#b╗Čn╗ǂ╚╗╝nnnn bnln#`89ln╚0l 8~nb
n╚߱n╚n l
l8n#`89ln╚0l 8~nb
n#ܸn $|ې l╚b8╗nb?╗╗nc<b8n#`8ln╚0l 8~nb
l䶀܂



<;Frnln#`8ln╚0l 8~nb
l$ln



#l8n#`8ln╚0l 8~nb

ESP_Sprite
Posts: 9708
Joined: Thu Nov 26, 2015 4:08 am

Re: printf not working ?

Postby ESP_Sprite » Mon Oct 02, 2017 3:26 pm

What hardware are you using? Some hardware (eg the Sparkfun ESP32 Thing) uses a 26MHz crystal. If so, you need to select that under make menuconfig -> components -> esp32-specific -> main xtal.

ChiiSama
Posts: 2
Joined: Mon Oct 02, 2017 1:51 pm

Re: printf not working ?

Postby ChiiSama » Mon Oct 02, 2017 5:41 pm

Arg, you are right. Thanks, no it works well !!!

Greetings

Who is online

Users browsing this forum: No registered users and 93 guests