Search found 31 matches

by jeromeh
Wed Jan 04, 2017 4:34 am
Forum: General Discussion
Topic: esp32 jtag debug issue
Replies: 11
Views: 15897

Re: esp32 jtag debug issue

After I connect a SRST to CHIP_UP, actually I'm able to setup a working debug flow, which means 'b'/'c'/'p' commands all working as expected...but I need to type 'monitor reset' in gdb after the gdb session is established. Now I'm facing a new problem, my test application run into a core dump error,...
by jeromeh
Tue Jan 03, 2017 9:56 am
Forum: General Discussion
Topic: Question about esp32 Flash download through JTAG
Replies: 24
Views: 40968

Re: Question about esp32 Flash download through JTAG

Thanks for confirming that...

any idea about what is the time frame I can expect to have this supported officially? Say in a few weeks or months?
by jeromeh
Tue Jan 03, 2017 7:17 am
Forum: General Discussion
Topic: Question about esp32 Flash download through JTAG
Replies: 24
Views: 40968

Question about esp32 Flash download through JTAG

Hi, I'm trying to program flash through JTAG for esp32, but getting error message: "Error: timed out while waiting for target halted". I have GND/TMS/TCK/TDI/TDO connected, the JTAG log is like below: $ openocd -f esp32.cfg -c "program ../helloworld/build/helloworld.elf verify reset exit" Open On-Ch...
by jeromeh
Tue Jan 03, 2017 2:57 am
Forum: General Discussion
Topic: esp32 jtag debug issue
Replies: 11
Views: 15897

esp32 jtag debug issue

Hi, I'm using easyOpenJTAG to debug a custom Esp32 board, but facing problem as below: GDB log: $ xtensa-esp32-elf-gdb -ex 'target remote localhost:3333' ./build/helloworld.elf GNU gdb (crosstool-NG 8d95cad) 7.10 Copyright (C) 2015 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or ...
by jeromeh
Sun Dec 25, 2016 9:08 am
Forum: General Discussion
Topic: ULP for SPI sensors
Replies: 22
Views: 32367

Re: ULP for SPI sensors

Thanks WiFive! I tried loading the LED example into my board, somehow I'm seeing the LED (on GPIO2) is constantly on rather than toggling - which should be the expected behavior as per the test program. BTW, how do I know what is the clock freq for ULP? spec mentioned a 32K RTC_CLK and it's configur...
by jeromeh
Sun Dec 25, 2016 8:14 am
Forum: General Discussion
Topic: ULP for SPI sensors
Replies: 22
Views: 32367

Re: ULP for SPI sensors

I need help on toggling GPIO pins through ULP program. Who can point me an existing example? or help give shed some lights here? Thanks
by jeromeh
Fri Dec 23, 2016 1:26 pm
Forum: General Discussion
Topic: ULP for SPI sensors
Replies: 22
Views: 32367

Re: ULP for SPI sensors

Keep sampling 125Hz for every second...my plan is to wake up MCU to do data processing and transmission every a few minutes. Planned battery is < 500mAh. I need to find out how many days this system can can continuously work.
by jeromeh
Fri Dec 23, 2016 10:56 am
Forum: General Discussion
Topic: ULP for SPI sensors
Replies: 22
Views: 32367

Re: ULP for SPI sensors

It's a biometric sensor...but similar to a SPI accelerametor from MCU perspective. I'm not sure how much overhead here from power-consumption perspective by using "wake-up MCU for a wake-up stub, and go to deep-sleep right-way". My use case will run this sampling procedure 24hours continuously...so ...
by jeromeh
Fri Dec 23, 2016 1:37 am
Forum: General Discussion
Topic: ULP for SPI sensors
Replies: 22
Views: 32367

Re: ULP for SPI sensors

I'm trying to evaluating the power dissipation difference between below 2 senarios: 1. Using SPI (DMA & main CPU involved) based on interrupt 2. ULP /w bitbang (monitoring a GPIO pin to minic interrupt input) my case is sampling data around 125Hz with 64bit data for each sample(ignore the data trans...
by jeromeh
Thu Dec 22, 2016 10:35 am
Forum: General Discussion
Topic: ULP for SPI sensors
Replies: 22
Views: 32367

ULP for SPI sensors

Hi, Will it be possible to collect sensor data from SPI interface using ULP? I'd expect it should be similar case as getting sensor data from I2C, but not sure how if there is any problem to make it work that way. Also, I'd expect ULP can initiate SPI read/write based on interrupt signal coming from...