Search found 263 matches

by BuddyCasino
Sun Jan 15, 2017 2:29 pm
Forum: ESP-IDF
Topic: LoadProhibited Exception in driver/i2s.c
Replies: 5
Views: 8716

LoadProhibited Exception in driver/i2s.c

I'm trying to get I2S to work, and I've hit a problem. I call i2s_push_sample() like so, just for test purposes and to avoid other error sources with a zero sample: const uint32_t zero_sample[2] = { 0 }; void render_sample_block(short *short_sample_buff, int no_samples) { i2s_push_sample(I2S_NUM_0, ...
by BuddyCasino
Fri Jan 13, 2017 3:29 pm
Forum: Report Bugs
Topic: Latest SDK causes IllegalInstruction exception
Replies: 4
Views: 7733

Re: Latest SDK causes IllegalInstruction exception

So I've changed nearly all menuconfig parameters to their default values, this made the error go away. The exception was thrown shortly before executing any user code, it seems there was a problem with some flash init routine. I don't think any of the original config values were erroneous, I'll try ...
by BuddyCasino
Fri Jan 13, 2017 2:52 pm
Forum: Report Bugs
Topic: Latest SDK causes IllegalInstruction exception
Replies: 4
Views: 7733

Re: Latest SDK causes IllegalInstruction exception

Thats a good idea, will do that. Maybe I was too quick to assume that an "IllegalInstruction" exception usually hints at a problem in the sdk/toolchain.
by BuddyCasino
Fri Jan 13, 2017 2:35 pm
Forum: Report Bugs
Topic: Latest SDK causes IllegalInstruction exception
Replies: 4
Views: 7733

Latest SDK causes IllegalInstruction exception

I just updated everything from 1.0 to master, fixed compile errors and got an exception when re-flashing. SDK git commit: ca9f62ad77db58c2b4813981632d17ef2101add9 Toolchain: gcc version 5.2.0 (crosstool-NG crosstool-ng-1.22.0-61-gab8375a) This is the boot log: Rebooting... ets Jun 8 2016 00:22:57 rs...
by BuddyCasino
Tue Jan 10, 2017 8:18 am
Forum: General Discussion
Topic: Using the APP CPU
Replies: 7
Views: 12197

Re: Using the APP CPU

Thanks for the quick reply, its much appreciated.
The new SDK is coming along nicely, code quality is so much better than what we had with the ESP8266. Good job!
by BuddyCasino
Tue Jan 10, 2017 6:40 am
Forum: General Discussion
Topic: Using the APP CPU
Replies: 7
Views: 12197

Re: Using the APP CPU

That was it! Thanks a ton.
What is the recommended usage of esp-idf for development at this stage, should I use master branch and update often due to bugfixes?
by BuddyCasino
Tue Jan 10, 2017 5:46 am
Forum: General Discussion
Topic: Using the APP CPU
Replies: 7
Views: 12197

Re: Using the APP CPU

No luck. This is my main: void app_main() { nvs_flash_init(); initialise_wifi(); xTaskCreatePinnedToCore(&http_get_task, "httpGetTask", 2048, NULL, 20, NULL, 0); xTaskCreatePinnedToCore(&appCoreTask, "appCoreTask", 2048, NULL, 20, NULL, 1); ESP_LOGI(TAG, "RAM left %d", esp_get_free_heap_size()); } T...
by BuddyCasino
Tue Jan 10, 2017 5:32 am
Forum: General Discussion
Topic: Using the APP CPU
Replies: 7
Views: 12197

Re: Using the APP CPU

> Run FreeRTOS only on first core should be disabled (recently made default) Check > Bootloader output should show app CPU starting Check > xTaskCreatePinnedToCore last argument should be 1 Check So its supposed to be that easy? Nothing else to do? I'll try again then. For the record, I also activat...
by BuddyCasino
Mon Jan 09, 2017 10:16 pm
Forum: General Discussion
Topic: Using the APP CPU
Replies: 7
Views: 12197

Using the APP CPU

I configured usage of the 2nd cpu via make menuconfig, and tried to schedule a task via xTaskCreatePinnedToCore() on the APP cpu. After flashing I was greeted with lots of "unhandled interrupt" errors. Is there something I must do? Call some initialization routines or something? I couldn't find an e...
by BuddyCasino
Tue Jan 03, 2017 12:00 am
Forum: General Discussion
Topic: esp-idf-blufi-demo BLEDEMO APK
Replies: 8
Views: 18482

Re: esp-idf-blufi-demo BLEDEMO APK

Ok I think I figured it out. There is an app for macOS and iOS called LightBlue, you can use it to send strings as well. Just like seopyoon said, using the app send the following strings to the 0xFF01 service: 1) 'ssid:<ssid name>' 2) 'passwd:<passwd>' 3) 'confirm' The ESP32 will then proceed to con...