Search found 29 matches

by mattismyo
Wed Jan 31, 2018 10:46 am
Forum: General Discussion
Topic: RX/TX Flashing wiring for ESP32 Wrover Chip
Replies: 0
Views: 3444

RX/TX Flashing wiring for ESP32 Wrover Chip

I bought recently a esp32 wrover chip. Now i want to flash this without a breakout board. Can i also use this wiring for flashing:
https://imgur.com/a/joGjS

Also, do i need specific driver for windows 7 to do so? Or can is just wire everything up and flash it with esp idf / arduino ide?
by mattismyo
Sun Dec 17, 2017 8:35 pm
Forum: ESP32 Arduino
Topic: Use sdspi_host.c in Arduino IDE
Replies: 0
Views: 3317

Use sdspi_host.c in Arduino IDE

I want to use the sd card example in Arduino IDE. It's working fine in ESP-IDF. Is this possible?
I included all the librarys, but i get the following error

C:\Documents\Arduino\project\project.ino:17:31: fatal error: driver/sdspi_host.h: No such file or directory

compilation terminated.

exit ...
by mattismyo
Tue Sep 19, 2017 1:13 pm
Forum: ESP32 Arduino
Topic: query buttonState of boot button
Replies: 1
Views: 5583

query buttonState of boot button

How can i query the buttonstate of the boot button? I want to use the boot button to call a function. Like

Code: Select all

buttonState = digitalRead(boot_button);
  if (buttonState == HIGH) {
    //do something
  }
by mattismyo
Mon Sep 11, 2017 6:06 pm
Forum: General Discussion
Topic: Why do i need pull up resistors for sd card usage?
Replies: 1
Views: 4300

Why do i need pull up resistors for sd card usage?

I know, that i need pull up resistors in place for sd card using. But can someone explain 'exactly' why?
by mattismyo
Thu Aug 31, 2017 10:29 am
Forum: ESP-IDF
Topic: Difference between make build and make all
Replies: 2
Views: 7159

Difference between make build and make all

What is the difference between make build and make all?

Compiling your project

make all

… will compile app, bootloader and generate a partition table based on the config.
But is make build not also doing the same?
by mattismyo
Thu Aug 24, 2017 1:24 pm
Forum: General Discussion
Topic: How to use test_sd.c
Replies: 18
Views: 24814

Re: How to use test_sd.c

Thanks!
by mattismyo
Thu Aug 24, 2017 1:07 pm
Forum: General Discussion
Topic: How to use test_sd.c
Replies: 18
Views: 24814

Re: How to use test_sd.c

Its working. But i also added highspeed mode to a test case, but its still always default speed.

Name: SS08G
Type: SDHC/SDXC
Speed: default speed
Size: 30436MB


TEST_CASE("can write and read back blocks", "[sd][ignore]")
{
sdmmc_host_t config = SDMMC_HOST_DEFAULT();

config.max_freq_khz ...
by mattismyo
Thu Aug 24, 2017 11:53 am
Forum: General Discussion
Topic: How to use test_sd.c
Replies: 18
Views: 24814

Re: How to use test_sd.c

Ok, tried this on my second computer. Weird, it's working there (esp idf versions are the same):

Here's the test menu, pick your combo:
(1) "can probe SD" [sd][ignore]
(2) "can probe SD (using SPI)" [sdspi][ignore]
(3) "can write and read back blocks" [sd][ignore]
(4) "can write and read back ...
by mattismyo
Sat Aug 19, 2017 4:47 pm
Forum: General Discussion
Topic: How to use test_sd.c
Replies: 18
Views: 24814

Re: How to use test_sd.c

Did you try 'make erase_flash'?

It looks like you may have an otadata partition which selects ota_0
Sorry, i haven't read your post. And yes, that was the right clue.

I tried again
make flash monitor TEST_COMPONENTS=sdmmc ESPPORT=/dev/ttyUSB0
Now i get "Here's the test menu, pick your combo ...
by mattismyo
Wed Aug 16, 2017 5:11 pm
Forum: General Discussion
Topic: How to use test_sd.c
Replies: 18
Views: 24814

Re: How to use test_sd.c

SDMMC test
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:2
load:0x3fff0010,len:4
load:0x3fff0014,len:4124
load:0x40078000,len:0
load:0x40078000,len:11968
entry ...

Go to advanced search