Search found 92 matches

by michprev
Sun Jul 01, 2018 11:27 am
Forum: General Discussion
Topic: [esptool] segments with load 0x00000000
Replies: 11
Views: 12225

Re: [esptool] segments with load 0x00000000

Haven't tried but i think that padding segments are also upload by esptool. Yes, it would be better just say "Skip next x KB in memory and continue with a next partition" but I guess that we are limited by ROM bootloader. Bin image consists of an image header https://github.com/espressif/esptool/wik...
by michprev
Sat Jun 30, 2018 11:23 am
Forum: General Discussion
Topic: Clock and power configuration docs
Replies: 3
Views: 6379

Re: Clock and power configuration docs

I'll forward the request to colleagues working on documentation; Thank you very much. I am aware that more than 90 % of ESP32 users will never ever have to touch any of these settings. On the other hand more complex documentation may attract more business customers (than just hobbyists) and if hard...
by michprev
Thu Jun 28, 2018 12:48 pm
Forum: General Discussion
Topic: Clock and power configuration docs
Replies: 3
Views: 6379

Clock and power configuration docs

Hi, please give us more info about RTC, mainly power and clock part. Present version of docs is very unclear about that. Shouldn't it be 80 MHz instead of 120 MHz? https://github.com/espressif/esp-idf/blob/568da37af74dfbbd69392b6d38bfcfff1e5a48fc/components/soc/esp32/rtc_clk.c#L675 What does this do...
by michprev
Sun Jun 24, 2018 3:26 pm
Forum: General Discussion
Topic: Timer.2 interrupt does not set bit in INTERRUPT register
Replies: 1
Views: 3118

Timer.2 interrupt does not set bit in INTERRUPT register

Hi, I would like to use Timer.2 CPU interrupt. It is priority level 5 interrupt (not C servicable). I am initializating it like this: void System_Time_Init() { uint32_t ccount; __asm__ __volatile__ ("rsr.ccount %0" : "=r"(ccount)); ccount += 10000; __asm__ __volatile__ ("wsr.ccompare2 %0" :: "r"(cco...
by michprev
Thu Jun 14, 2018 8:37 am
Forum: General Discussion
Topic: cmsis-rtos
Replies: 5
Views: 7671

Re: cmsis-rtos

ESP_igrr wrote:__asm__ ("break 0,0");

should break into debugger if OCD is enabled, and raise DebugException if not.
By the way is there any support in OpenOCD / gdb to step over break instruction once reached?

EDIT:
Found https://github.com/espressif/openocd-esp32/issues/2
by michprev
Tue Jun 12, 2018 1:59 pm
Forum: General Discussion
Topic: [esptool] segments with load 0x00000000
Replies: 11
Views: 12225

Re: [esptool] segments with load 0x00000000

I don't want to discourage you from going your own way, but for what it's worth if you only have a single task running on CPU1 then the overhead from FreeRTOS should be pretty low (there is a periodic tick interrupt but that's about it). Are you sure about that? I have just run my app with 1 kHz se...
by michprev
Mon Jun 11, 2018 5:21 pm
Forum: General Discussion
Topic: [esptool] segments with load 0x00000000
Replies: 11
Views: 12225

Re: [esptool] segments with load 0x00000000

I see. I'd be interested to know what aspects of ESP-IDF made it "too heavy". There might be other suggestions we can make. The biggest problem is FreeRTOS. We want to reach at least 200 Hz update loop (during which it is needed to read sensor data over SPI, compute and send the result to motors) t...
by michprev
Thu Jun 07, 2018 6:42 pm
Forum: General Discussion
Topic: [esptool] segments with load 0x00000000
Replies: 11
Views: 12225

Re: [esptool] segments with load 0x00000000

Thank you very much for such an exhausting answer, I really appreciate that. I am interested in building quadcopters based on ESP32 and its followers. I have successfully built a flying quad with ESP-IDF but it seems to me too heavy for this. I would like to build a custom lightweigth SDK (without F...
by michprev
Wed Jun 06, 2018 10:17 pm
Forum: General Discussion
Topic: [esptool] segments with load 0x00000000
Replies: 11
Views: 12225

Re: [esptool] segments with load 0x00000000

So after first stage bootloader configures SPI flash it does something like this (lets assume we do not use secure boot): check image header at 0x1000 as described here https://github.com/espressif/esptool/wiki/Firmware-Image-Format#file-header (ESP32 probably has additional bytes in header) iterate...