Search found 219 matches

by Vader_Mester
Mon Nov 05, 2018 12:15 pm
Forum: General Discussion
Topic: [delete]Uart stops working after ASM function call
Replies: 1
Views: 113

Re: Uart stops working after ASM function call

One thing I just notice is that the chip keeps resetting because of WDT, not with the 10sec countdown (that I previously assumed). So something is happening during the assembly routine. I even modified the code to place the function into IRAM rather than inline, but no change. The only thing left is...
by Vader_Mester
Sun Nov 04, 2018 5:51 pm
Forum: General Discussion
Topic: [delete]Uart stops working after ASM function call
Replies: 1
Views: 113

[delete]Uart stops working after ASM function call

[NO LONGER RELEVANT, CAN BE DELETED] Hi All, So I'm sure my issue here is quite new for most people, but I've got nowhere to go to, so here it goes. I'm making an Assembly code function for some RGB mixing with some transparency, and I'm currently testing the code to see if it actually works properl...
by Vader_Mester
Mon Oct 29, 2018 7:42 am
Forum: General Discussion
Topic: ASM code not compiling
Replies: 3
Views: 281

Re: ASM code not compiling

Thanks for the feedback. I'm gonna modify it and hope for the best.

Though I'm still not entirely sure what includes should I use when using assembly. I assume specreg.h is enough, because GCC should know all the other registers based on the xtensa toolchain?
by Vader_Mester
Fri Oct 26, 2018 2:18 pm
Forum: General Discussion
Topic: ASM code not compiling
Replies: 3
Views: 281

ASM code not compiling

Edit: changed topic title I made an assembly based RGB color mixing algorythm, that blends 2 color values (one of which has Alpha component) into a single RGB value based on Alpha color mixing rules. The goal was to make it as lighweight as possible. I tried compiling it by includimg xtensa/corebits...
by Vader_Mester
Fri Oct 26, 2018 12:51 pm
Forum: Hardware
Topic: usb-jtag add-on for ESP32-DevKitC
Replies: 1
Views: 248

Re: usb-jtag add-on for ESP32-DevKitC

Yes there is. It is called WROVER-Kit :)
Banggood link
Espressif docs to the board.
by Vader_Mester
Fri Oct 26, 2018 10:46 am
Forum: General Discussion
Topic: [answered] how to get my IP address?
Replies: 10
Views: 1677

Re: how to get my IP address?

Hi Neil - yep, that did the trick. Code posted here for anyone else who might be interested (or for me since I'll probably forget). #include <tcpip_adapter.h> tcpip_adapter_ip_info_t ipInfo; char str[256]; // IP address. tcpip_adapter_get_ip_info(TCPIP_ADAPTER_IF_STA, &ipInfo); sprintf(str, "%x", i...
by Vader_Mester
Fri Oct 26, 2018 7:16 am
Forum: General Discussion
Topic: PSRAM as Flash
Replies: 15
Views: 1078

Re: PSRAM as Flash

Actually I revisited this idea in the last couple of days by hard digging into the code, and I thing I figured it out. It's not just hardware but software change as well. For this to work, you will need a WROVER module, delid the module, and modify the hardware with an external logic (2 Flip-flop an...
by Vader_Mester
Thu Oct 25, 2018 8:50 am
Forum: General Discussion
Topic: Flash ROM code usage
Replies: 2
Views: 139

Re: Flash ROM code usage

https://github.com/espressif/esp-idf/blob/aaf12390eb14b95589acd98db5c268a2e56bb67e/components/spi_flash/spi_flash_rom_patch.c#L349 The advantage to using rom functions when possible is they don't have to be placed in iram Damn I didn't check this file :D I'll take a quick glance of it, and see what...
by Vader_Mester
Thu Oct 25, 2018 7:09 am
Forum: General Discussion
Topic: Flash ROM code usage
Replies: 2
Views: 139

Flash ROM code usage

Hi All, This is mainly called out to the devs. I'm happy to discuss these in PM as I'm having some other flash related questions, before I start my next project. I was checking the SPI FLASH code, and I'm curious, if there is a reason for using the ROM code functions, after user application is boote...
by Vader_Mester
Tue Oct 16, 2018 7:52 pm
Forum: General Discussion
Topic: DMA to 8-bit shift register for GPIO pourposes
Replies: 10
Views: 852

Re: DMA to 8-bit shift register for GPIO pourposes

I did not do any software tests yet.
The FT81x can operate with 30MHz SPI clock, well enough for almost everything.

Go to advanced search