Search found 8 matches

by fhng11214
Fri Apr 13, 2018 6:04 pm
Forum: General Discussion
Topic: ULP, use Byte instead of Long
Replies: 4
Views: 6469

Re: ULP, use Byte instead of Long

Thanks, Thought about packing them in a 32bis long but the registers, r0, r1, r2, r3 are 16bits long. And we can't offset by 1-3 bytes with ld instruction. Also, ld instruction loads 32bits at a time. What igrr said, can't load the higher 16 bits. Shifting doesn't help becuase it is a 16bits registe...
by fhng11214
Thu Apr 12, 2018 7:17 pm
Forum: General Discussion
Topic: ULP, use Byte instead of Long
Replies: 4
Views: 6469

ULP, use Byte instead of Long

.data .global romid1 romid: .byte 0x01 .byte 0x02 .byte 0x03 .byte 0x04 .byte 0x05 .byte 0x06 .byte 0x07 .byte 0x08 .byte 0x09 .byte 0x0A .byte 0x0B .byte 0x0C move r0, romid1 ld r1, r0,0 // 0x0201, since register is 16bit so lower bits get stored. ld r1,r0, 1 // 0x0201, can't off set by 1 byte ld ...
by fhng11214
Fri Apr 06, 2018 8:00 pm
Forum: Sample Code
Topic: ULP DS18B20 1-Wire code
Replies: 3
Views: 9279

Re: ULP DS18B20 1-Wire code

Added a few more subroutines since then. Before it was a single DS18B20 environment without CRC8 checking. Now it can talk to multiple DS18b20 and has CRC8 checking. But it is a lot more messy and harder to read. Overall, great learning experience. -- search_rom - look for 64bit Rom Identification o...
by fhng11214
Tue Apr 03, 2018 8:15 pm
Forum: General Discussion
Topic: What is the best environment to work with ESP32 projects
Replies: 5
Views: 27447

Re: What is the best environment to work with ESP32 projects

Not a best but I am on MacOS with vi and pretty happy.
by fhng11214
Mon Mar 26, 2018 9:45 pm
Forum: General Discussion
Topic: Looking for ESP32 Developer
Replies: 9
Views: 11835

Re: Looking for ESP32 Developer

I would like to gain some ESP32 experiences. So, you need a free hand on on entry level stuff, I am there.
by fhng11214
Wed Mar 14, 2018 8:18 pm
Forum: Sample Code
Topic: ULP DS18B20 1-Wire code
Replies: 3
Views: 9279

ULP DS18B20 1-Wire code

Wrote ULP assembly code to get temperature from a DS18B20 to save energy. Its for learning purpose. In case someone is new and wants to learn ULP, it is pretty simple to read. Feel free to ask question. https://github.com/fhng/ESP32-ULP-1-Wire/
by fhng11214
Mon Jan 22, 2018 7:14 pm
Forum: General Discussion
Topic: Technical Reference Chapter 4 is confusing
Replies: 6
Views: 8504

Re: Technical Reference Chapter 4 is confusing

This helps a lot, thx.
by fhng11214
Wed Nov 01, 2017 10:43 pm
Forum: Showcase
Topic: ESP32 ePaper display library
Replies: 5
Views: 31492

Re: ESP32 ePaper display library

I too got "make: *** No rule to make target `makefs'. Stop." with >make copyfs, like syohana. But compiled it with esp-idf v2 and toolchain 1.22.0-61 fixed it. Updated to latest esp-idf and toolchain, it failed at "make all" CC build/spiffs/spiffs_vfs.o /Users/lighflares/esp/epaper/ESP32_ePaper_exam...