Search found 32 matches

by jhinkle
Wed Dec 07, 2016 2:32 am
Forum: General Q&A
Topic: RTOS 1.5 + wifi_station_scan --- BUG???
Replies: 3
Views: 1973

RTOS 1.5 + wifi_station_scan --- BUG???

I have a simple test program to acquire AP's. I keep getting fatal exceptions -- can't see an issue with my code -- does RTOS 1.5 have a bug? Any help or comments would be thankful. User_Init Joe mode : sta(5c:cf:7f:14:b0:3b) add if0 Hello, welcome to scan-task! Calling Scan Delay another 5 Fatal ex...
by jhinkle
Wed May 25, 2016 5:58 am
Forum: General Q&A
Topic: WROOM-02 - PCB Layout[Done]
Replies: 1
Views: 3127

WROOM-02 - PCB Layout[Done]

I'm laying out a project board to accept the WROOM-02 and have several questions. In the WROOM-02 documentation, it shows the bottom of the WROOM's PCB. It appears to be a square patch of open copper. Should this area also be soldered to the projects PCB? The WROOM-02 documentation shows the pad pos...
by jhinkle
Fri May 06, 2016 12:29 am
Forum: ESP8266 SDK
Topic: HTTP Server - both AP and Station
Replies: 1
Views: 1382

HTTP Server - both AP and Station

I'm using the RTOS SDK. The ESP is operation in AP+Station mode. I just implemented a Web Server and want it accessible from both the AP and the IP delivered to the Station. Since the Web Server is operating off a socket - will it receive tcp messages sent to the Server's PORT no matter if the msg w...
by jhinkle
Fri Apr 29, 2016 6:14 am
Forum: ESP8266 SDK
Topic: RTOS UDP Performance Issue
Replies: 3
Views: 3383

Re: RTOS UDP Performance Issue

Espressif ... since the 4 libs mentioned in this post were made available in late 2015 and the latest release of the RTOS SDK (1.4.0) was released in Feb 2016 and did NOT include the intent of them, .... Are you going to incorporate the changes implemented in the 4 libs in a future RTOS release???? ...
by jhinkle
Thu Apr 28, 2016 10:32 pm
Forum: ESP8266 SDK
Topic: [Solved] RTOS SDK - Binary Semaphore Not Working
Replies: 1
Views: 1553

Re: [Solved] RTOS SDK - Binary Semaphore Not Working

Solved. Issue was ME!!! Espressif uses the OLD version of this function vSemaphoreCreateBinary which actually creates the semaphore in a "given" or set state. I had checked the FreeRTOS documentation and referenced the function xSemaphoreCreateBinary which is the preferred function (v vs x...
by jhinkle
Thu Apr 28, 2016 12:44 am
Forum: ESP8266 SDK
Topic: UART1 TX
Replies: 2
Views: 2645

Re: UART1 TX

I did not want to touch UART0 since my GDB stubb was using it. This is how I implemented UART1 UART_ConfigTypeDef uart_config; uart_config.baud_rate = BIT_RATE_115200; uart_config.data_bits = UART_WordLength_8b; uart_config.parity = USART_Parity_None; uart_config.stop_bits = USART_StopBits_1; uart_c...
by jhinkle
Thu Apr 28, 2016 12:37 am
Forum: ESP8266 SDK
Topic: RTOS UDP Performance Issue
Replies: 3
Views: 3383

RTOS UDP Performance Issue

I was hoping the ESP8266 would be a good UDP server to host receiving ACN messages - both unicast and multicast. SDK - RTOS 1.4.0 - Dated 2/28/2016 My hope is that Espressif will review the information below and take action to address the concerns I will note in this post. I am using a ESP12 for thi...
by jhinkle
Tue Apr 26, 2016 10:03 am
Forum: ESP8266 SDK
Topic: [Solved] RTOS SDK - Binary Semaphore Not Working
Replies: 1
Views: 1553

[Solved] RTOS SDK - Binary Semaphore Not Working

I've used the Counting Semaphore without issue. I needed a mutex to control flow between a task and an ISR. xSemaphoreHandle SpiPackageComplete = 0; vSemaphoreCreateBinary(SpiPackageComplete); // start of task ...... r = xSemaphoreTake(SpiPackageComplete, 5); // inside task's while(1) Inside an ISR ...
by jhinkle
Tue Apr 26, 2016 2:22 am
Forum: ESP8266 SDK
Topic: RTOS SDK - Enable SPI Interrupt
Replies: 1
Views: 1071

Re: RTOS SDK - Enable SPI Interrupt

Solved it.

I was missing _xt_isr_unmask(1 << ETS_SPI_INUM);

I added to the code above -- it works!
by jhinkle
Mon Apr 25, 2016 8:53 am
Forum: ESP8266 SDK
Topic: RTOS SDK - Enable SPI Interrupt
Replies: 1
Views: 1071

RTOS SDK - Enable SPI Interrupt

This is what I have for initializing a SPI interrupt to occur when the package transaction is done ETS_INTR_LOCK(); _xt_isr_attach(ETS_SPI_INUM, HSpi_Interrupt, NULL); ETS_INTR_UNLOCK(); SET_PERI_REG_MASK(SPI_SLAVE(1), SPI_TRANS_DONE_EN); // | SPI_SLV_WR_BUF_DONE_EN _xt_isr_unmask(1 << ETS_SPI_INUM)...

Go to advanced search