ESP32 instruction set or assembly (ASM) programming docs?

sraposo
Posts: 11
Joined: Mon Dec 14, 2020 4:42 pm

Re: ESP32 instruction set or assembly (ASM) programming docs?

Postby sraposo » Wed Dec 16, 2020 9:57 am

ESP_Sprite,

there was no intention of criticize ESP32 as a product, but it seems it aims the (huge!) market of people and companies that want a platform easy to learn (as Arduino) and with lots of features. ESP32 has seemed to us to be a interesting choice to upgrade our products and we've invested some time to check if ESP would really fit our needs. Finally, we've got here and have obtained more specific direction from you

You´ve understood what we need: highest clock frequency, minimum cycles per instruction and, at least, the basic peripherals usually found on SoC. Bluetooth and/or Wifi, if possible with embedded communication stack, would be great. If Espressif has something that complies to that, please tell us. Nowadays, we use an SoC that performs instructions at 10MHz and offer less memory than we´d like and it is prevent us from escalating our products capabilities.

We´ll contact your business colleagues about Cadence documentation. Thanks!

Regards

jens.alfke
Posts: 15
Joined: Wed May 02, 2018 4:26 pm

Re: ESP32 instruction set or assembly (ASM) programming docs?

Postby jens.alfke » Thu Dec 17, 2020 1:56 am

ESP_Sprite wrote:
Wed Dec 16, 2020 7:00 am
in my experience not having publicly-available documents seem to mostly affect those hobbyists and very few professionals.
There's a large middle ground between "professional" and "hobbyist", and a lot of important software is developed by people in that middle ground. An NDA requirement is a pretty big barrier to open source development!

The main audience, I think, of assembly programming information for ESP32 would be developers of compilers and related development tools. That's actually what got me interested in looking at the ISA: I was wondering how optimal it would be for a FORTH compiler. I'm not sure if there's an available ESP32 code generator for LLVM; if so, that helps, but not all compilers use LLVM.

sraposo
Posts: 11
Joined: Mon Dec 14, 2020 4:42 pm

Re: ESP32 instruction set or assembly (ASM) programming docs?

Postby sraposo » Thu Dec 17, 2020 5:50 pm

In any platform, there aren't too many people interested in assembly, but there are lots of other ones who will benefit with the products made by the first group, what improves the Soc attractiveness.
It´s unexpected a SoC maker doesn't provide detailed information about its product...

Kaisha
Posts: 22
Joined: Thu Mar 05, 2020 8:59 pm

Re: ESP32 instruction set or assembly (ASM) programming docs?

Postby Kaisha » Mon Mar 29, 2021 8:47 pm

I know this thread is a bit old, but I'd love to see an updated ESP32 with a Risc-V core (ie. dual core or more, 512kB of ram, etc..). Right now nothing on the market comes close to the combination of price/perfomance of the ESP32.

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

Re: ESP32 instruction set or assembly (ASM) programming docs?

Postby ESP_Sprite » Tue Mar 30, 2021 4:10 am

Well, we have the ESP32C3, which is RISCV, but admittedly that's a somewhat smaller SoC than the ESP32 is.

Also, on-topic, we have collected all the info that already was public (in the form of gcc patches, existing public docs etc) and have attempted to make a reference for the Xtensa arch. It might be enough to get you started if you wanted to do something in Xtensa asm.

Who is online

Users browsing this forum: No registered users and 2 guests