Search found 2 matches
- Sat Aug 17, 2024 3:34 pm
- Forum: General Discussion
- Topic: Loading assembler program on esp32-s3
- Replies: 2
- Views: 772
Re: Loading assembler program on esp32-s3
Your linker script is telling the bootloader to take your code and copy it to the indicated address, which won't work as it's a ROM region. Try either specifying an IRAM region or try adding a MEMORY segment with an iram0_2_seg line to your linker file that indicates the ROM region is RX. Unfortuna...
- Thu Aug 15, 2024 2:42 pm
- Forum: General Discussion
- Topic: Loading assembler program on esp32-s3
- Replies: 2
- Views: 772
Loading assembler program on esp32-s3
Hi. Im trying to compile and load on esp32 simple assembler code: pin15.S [code] .section .text .global _start _start: movi a2, 0x3FF44000 movi a3, 1 << 15 s32i a3, a2, 0x4 # Set output bit for GPIO 15 loop: movi a2, 0x3FF44000 movi a3, 1 << 15 s32i a3, a2, 0x4 call0 delay movi a2, 0x3FF44000 # GPIO...