Search found 8 matches

by TimLee
Sat Jul 13, 2019 9:15 am
Forum: ESP32 IDF
Topic: Any examples on working with memory executables?
Replies: 10
Views: 326

Re: Any examples on working with memory executables?

haha, yeah, have to move backward forward from D/IRAM is a pain lol. I have noticed the problem is about align from his code and then start scratch the dirty hard, and found if the alignment is correct it won't fire up InstrFetchProhibited error in general. And the rest of problems are from reloc an...
by TimLee
Fri Jul 12, 2019 9:29 pm
Forum: ESP32 IDF
Topic: Any examples on working with memory executables?
Replies: 10
Views: 326

Re: Any examples on working with memory executables?

The biggest problem of elf loader is its license I think lol :) Also it is too big haha I'm working on a MicroPython native module loader, so I cannot exactly do the same what it does because mpy format is somewhat limited, I do only have a few place to use, but fortunately seems like it is quite en...
by TimLee
Fri Jul 12, 2019 6:44 pm
Forum: ESP32 IDF
Topic: Any examples on working with memory executables?
Replies: 10
Views: 326

Re: Any examples on working with memory executables?

Yeps, that's exactly the problem here looks like. I've tried to align the data in IRAM and seems it works somehow, but not quite well. Indeed I'm more curious how does D/I Ram work here, I've tested to run some code in IRAM which works, but in runtime I don't really want to spit the data and executa...
by TimLee
Thu Jul 11, 2019 7:09 pm
Forum: ESP32 IDF
Topic: Any examples on working with memory executables?
Replies: 10
Views: 326

Re: Any examples on working with memory executables?

Didn't noticed that,Thx very much :)
by TimLee
Thu Jul 11, 2019 5:29 pm
Forum: ESP32 IDF
Topic: Any examples on working with memory executables?
Replies: 10
Views: 326

Any examples on working with memory executables?

Hi, I'm trying to execute a bit bunch of pre-compiled binary on the device. The code seems like reads okay, and the content is correct as well, I've also move the memory to IRAM, which I think is executable. But the code crashes with InstrFetchProhibited, which is quite confusing here. What might be...
by TimLee
Sun May 05, 2019 7:14 pm
Forum: ESP32 IDF
Topic: Error compiling esp mesh 0.61 with some test codes
Replies: 0
Views: 113

Error compiling esp mesh 0.61 with some test codes

A fatal error occurred: Segment loaded at 0x401fea24 lands in same 64KB flash mapping as segment loaded at 0x401fea08. Can't generate binary. Suggest changing linker script or ELF to merge sections. This is part of my compiling application.map .rtc.text.24.literal 0x00000000401fea08 0x1c .rtc.text.2...
by TimLee
Wed May 30, 2018 7:13 am
Forum: General Discussion
Topic: Is there anyway to get access to GPIO input value in boot loader_start.c?
Replies: 3
Views: 498

Re: Is there anyway to get access to GPIO input value in boot loader_start.c?

Didn't noticed that, that's really helpful, thx very much :)
by TimLee
Tue May 29, 2018 7:25 pm
Forum: General Discussion
Topic: Is there anyway to get access to GPIO input value in boot loader_start.c?
Replies: 3
Views: 498

Is there anyway to get access to GPIO input value in boot loader_start.c?

I'm trying to get a value from a GPIO during the boot stage to decide which partition I would like to jump into. I've tried to include driver/gpio.h and link driver/gpio.c but it compiled failed with cannot find GPIO in gpio.o so I've checked rom/gpio.h and find there are a not documented function G...

Go to advanced search