Search found 18 matches

by tatulea
Mon Oct 07, 2019 3:32 pm
Forum: General Discussion
Topic: GPIO reset to initial state
Replies: 0
Views: 2422

GPIO reset to initial state

Hi, I have a project with a Type-C connector to a custom board. This means that my communication pins need to be configured based on the Type-C insertion way (face up or face down). I am doing some debugging because my Type-C connection doesn't work all the time and I would like to know how to get t...
by tatulea
Wed Sep 25, 2019 2:03 pm
Forum: ESP-IDF
Topic: Burn ELF to ESP32
Replies: 1
Views: 5163

Burn ELF to ESP32

Hi, I want to create an automated firmware update via the USB cable. I have a Python script that connects to my ESP serial port. The ESP will send its app_elf_sha256 and Python compares it with the one that a specific .elf file has. If it is different, it means that there should be an update. The pr...
by tatulea
Thu Sep 19, 2019 11:05 am
Forum: Hardware
Topic: Hard-reset not working
Replies: 8
Views: 13498

Re: Hard-reset not working

I think my CP is 1910, so it should be ok. Regarding outputting 3.3v back into my VDD net, that shouldn't be a problem I think. Yesterday I had a problem because I had 2.6V on my VBUS when nothing was connected to the USB. I cut the trace between my VDD net and the VDD pin of CP and the voltage not ...
by tatulea
Wed Sep 18, 2019 11:55 am
Forum: Hardware
Topic: Hard-reset not working
Replies: 8
Views: 13498

Re: Hard-reset not working

First thing I notice in your description is your reset circuit, typically this is implemented with two transistors and two resistors This is my reset circuit: rst.PNG Additionally you mention the cap on EN, do you have a pull-up resistor on EN also? I found missing this caused really inconsistent f...
by tatulea
Thu Aug 15, 2019 10:34 am
Forum: Hardware
Topic: Hard-reset not working
Replies: 8
Views: 13498

Hard-reset not working

Hi, I have a custom board with a ESP-WROVER-B. There is a CP2102N that has the reset and boot circuit implemented as it is in the ESP-DevkitC schematic (RTS, DTR, two transistors, EN and IO0). The first problem that I had was the fact that my board was not getting into "download mode" in order to fl...
by tatulea
Mon Aug 12, 2019 8:52 am
Forum: ESP-IDF
Topic: I2C timeout
Replies: 2
Views: 6720

Re: I2C timeout

It looks like all I needed was i2c_set_timeout(I2C_NUM_0, 400000);
by tatulea
Fri Aug 09, 2019 3:19 pm
Forum: ESP-IDF
Topic: I2C timeout
Replies: 2
Views: 6720

I2C timeout

Hi, I have an ESP32 WROVER dev board and a BQ27220. I am trying to read its device number. I have a logic analyzer to monitor the traffic as well. This is the code that I am using: esp_err_t ret; i2c_cmd_handle_t cmd; cmd = i2c_cmd_link_create(); i2c_master_start(cmd); i2c_master_write_byte(cmd, (i2...
by tatulea
Wed Jul 31, 2019 1:17 pm
Forum: ESP-IDF
Topic: Production settings
Replies: 0
Views: 1991

Production settings

Hi, I would like to move my development into production step by step. The first batch of devices will be flashed in my office. I need to know how I can have multiple environments for my development and production. For example, I would like to use secure bootloader, disable JTAG and BASIC for product...
by tatulea
Thu Jul 11, 2019 1:18 pm
Forum: General Discussion
Topic: Can GPIO12 demage the module?
Replies: 0
Views: 2216

Can GPIO12 demage the module?

Hi, I have an ESP32-WROVER-B module in a bigger circuit. The board just came from the PCB manufacturer and I was trying to connect it to power and program it. The problem is that when I started it the board was keep restarting and it was getting 1A from the power supply. I figured out that my GPIO12...