Assembly on ESP32

dspgro
Posts: 1
Joined: Tue Dec 05, 2017 11:28 pm

Assembly on ESP32

Postby dspgro » Tue Dec 05, 2017 11:31 pm

hi there,
I have some requirement to write some assembly code for ESP32. I have seen that we can do so for ULP co - processor . I am curious about dual cores of ESP32 . I am not able to find any good references for the same. Is it possible to write the code in c and assembly and run it. Any pointers would be helpful.
rgds,
DSPGRO

ESP_Sprite
Posts: 9708
Joined: Thu Nov 26, 2015 4:08 am

Re: Assembly on ESP32

Postby ESP_Sprite » Wed Dec 06, 2017 10:02 am

Yes, you can write inline or external assembly in the same way as you would for any other architecture where you use the gnu gcc etc tools. Unfortunately, the ISA of the Xtensa architecture isn't really documented in a document that we are allowed to hand out publicly (due to an NDA with Cadence) but if you Google well, you may find something.

memchk
Posts: 1
Joined: Wed Dec 06, 2017 10:07 am

Re: Assembly on ESP32

Postby memchk » Wed Dec 06, 2017 10:08 am

Sorry to jump in here, but would you happen to know of cadence would be willing to sign an NDA with anybody willing to go through the process to get the ISA manual, or is reserved for paying customers only?

ESP_igrr
Posts: 2071
Joined: Tue Dec 01, 2015 8:37 am

Re: Assembly on ESP32

Postby ESP_igrr » Wed Dec 06, 2017 1:42 pm

Yes, you can get Xtensa Tools evaluation package, which includes the documentation. See https://www.tensilicatools.com/platform/tensilica-sdk/.

(I don't know if they will talk to anyone or only to companies...)

Who is online

Users browsing this forum: Bing [Bot], Dennie and 74 guests