Questions tagged [arm7]

ARM7 is an older generation of ARM processor designs.

This generation introduced the Thumb 16-bit instruction set providing improved code density.

The ARM7 family is the world’s most widely used 32-bit embedded processor family, with more than 170 silicon licensees and over 10 Billion units shipped since its introduction in 1994.

More information at Wikipedia page of ARM7

93 questions
0
votes
0 answers

section __text/__text address out of range file for architecture x86_64 while integrating web3swift MercuryProtocol

I've been stuck here for 2 days tried all methods but still failed to build successfully not able to fix section __text/__text address out of range file for architecture x86_64 while integrating web3swift MercuryProtocol.
Shikha Sharma
  • 139
  • 1
  • 14
0
votes
0 answers

How would one decode a TMP36 temperature sensor's reading as an input in ARM assembly language?

I am working wiht a partner on a project and we are trying to make sure we can read a temperature sensor as an input to find the average value of the temperature over the span of around 10 seconds. We just are unsure of how to store the value of the…
0
votes
0 answers

Where is the base in an empty ascending stack in ARM Assembly?

I am working on an assignment right now for ARM 7 (Big Endian) Assembly. We are using LDMDB and STMIA for this problem where we have an empty ascending stack, where I am asked to push the frame pointer value to the top of the stack. Then I am asked…
acornTime
  • 278
  • 1
  • 15
0
votes
0 answers

STM F767 Read SDRAM with FMC

I try to write 1 byte and then read 1 byte from SDRAM IS42S81600F. It's connected to FMC pins of Nucleo-F767 board. In debug mode program goes to hard fault handler after reading. I'm using FMC configuration from CubeMX and initialization code found…
bibo
  • 3
  • 2
0
votes
0 answers

LDR is loading the word in a weird order after program working fine first few loops through. Bytes are flipped around. ARM7 Big Endian

Im working on an assignment for school. Im supossed to remove any instance of "the" in STRING1 and store it in STRING2. I wrote this program but its doing something weird after I loop through it a few times, when I detect 74 or 't' I check if the…
salkh08
  • 1
  • 1
0
votes
1 answer

ARM7 assembly shifting a number with a signed integer

I have been trying to shift my number with the formula m*2^-n by using Logical Shift Right (LSR). for m = 8 and n=-2 I should be getting 8(2)^-2 ie; 2, but I get 0 for some unknown reason.
0
votes
0 answers

Finding minimum value for signed integers

In ARM7 assembly I want to find the smaller of the two numbers. The numbers are to be signed 32 bit values. Here is what I have tried - .global min32 .text min: CMP R0,R1 BGE end BX LR end: MOV R0, R1 BX LR What should I change…
0
votes
0 answers

Arm 7 How can I calculate x * 64 mod 2^64?

I have a requirement that I have to multiply a 64 bit number which is stored in 2 seperate registers with 64 mod 2^64. In this case the two 32bit values are stored in R4(low) and R5(high) So far I have written this code: LDR R1,=Value LDR …
Florent
  • 111
  • 10
0
votes
1 answer

How to store signed numbers in arm using MOV or MVN?

I am trying to learn ARM assembly and I wanted to store a signed number in a register, it has to be something like - MOV R0, #-10 But this stores the number normally and not as a signed number. I tried using LDRSB as - LDRSB R0, =0x0000000A, but it…
Kruti Deepan Panda
  • 324
  • 1
  • 4
  • 16
0
votes
1 answer

Max Pending Interrupts

If an interrupt service routine is large enough such that an MCU is unable to process it before another (same) interrupt happens, and the interrupt controller is non-nested, is there a maximum number of interrupts that can stay pending?. Considering…
John Wick
  • 3
  • 2
0
votes
0 answers

Issues with Writing

------------------------------------------------------------ UPDATED ------------------------------------------------------ I'm trying to make a code to reverse a string from one location and place it in another, but I keep getting an issue in the…
Hana Ali
  • 73
  • 1
  • 8
0
votes
0 answers

Arm7 Timer0 interrupt only works perfectly within the simulation

I am trying to get the OSEK-Alarm mechanism to run on an arm7 (lpc2292). When simulating my Demo application withing the uVision5 IDE everything works fine. But executing the code on the target plattform it seems like the Interrupt only occures…
0
votes
1 answer

ARM7 Raspberry pi Assembly Segmentation fault after copying string

Here is my ARM7 assembly snippet .global strCopy .text strCopy: strCopyloop: LDRB R2, [R1], #1 STRB R2, [R0], #1 CMP R2, #0 BNE strCopyloop Bx LR Here is the C file that is using this function #include…
0
votes
0 answers

Jumping to a specific point/with a specific offset in assembler for a ARM7 processor

As an assignment for my class i have to implement a code in assembler allowing to jump a specific distance for our arm7 processor we are simulating. My question is, how do we specify the distance we want to jump in code? I currently have this code :…
DavidGL
  • 13
  • 3
0
votes
1 answer

ARM7 ViSUAL Emulator and Keil uVision4

There are two questions about ARM7 ViSUAL EMulator and Keil uVision4. Run this on the ARM7 ViSUAL Emulator and explain what it does. Consider how the variables Value1, Value2, Value3 and Result have been declared. Explain why this would not…