1-) What is the ULP file sent to ESP32? ulp.bin " ulp.elf? ulp.o? I need size to configure correctly size of ULP program (in menuconfig).
I tried using make size, make size-files, make size-components and none returned on them, however going into the folder there are several files with varying sizes.
I think the final file uploaded is the ULP.BIN or is it another?
ulp_main.BIN has 36B, ulp_main.elf has 8.55kB, etc..
https://i.imgur.com/O4nuuLP.png
2-) Why "TSENS" instruction in ulp ever returns 128? I tried various cycles and all return 128. If I measure temperatura with main core, work's correcly!
Example:
Code: Select all
move r1, x//Load x address in r1
ld r0, r1, 0//Load x value to r0
tsens r0, 1000//Measure temp and store in r0
st r0, r1, 0//Store r0 in x address