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
1
vote
1 answer

Porting a project that is written for STM32 (ARM-Cortex M7 to NXP (ARM-Cortex M7)

The STM32 supply is very bad at the moment hence I am considering moving away from the STM32 and going for NXP since the supply is much better. I would like to ask for advice regarding migrating from STM32 to NXP: Have anyone tried to migrate their…
TheBestPlayer
  • 324
  • 2
  • 13
1
vote
1 answer

ARCHS, missing archive intermediate build files and failure to deploy onto real device

My project runs and compiles fine on simulator - but stubbornly won't on my real device. The errors are below. Indeed the archive intermediate file 'FoodFeed' is missing from the derived data folder - but I don't think I can simply 'put it back' -…
1
vote
2 answers

How load a 64 bit number in a 32 bit arm processor?

I am trying to load a 64-bit number on a 32-bit ARM7TDMI-S microprocessor however, I am not understanding how to do so. I know that MOV and LDR all store only 32bit numbers so is there any way I can use 2 32bit registers as one 64-bit register?
Kruti Deepan Panda
  • 324
  • 1
  • 4
  • 16
1
vote
1 answer

Decoding ARM7 machine language to ARM instruction

Trying to decode: 0x15882BCD 0xC3A01B28 I keep on getting the LDMDAHS instruction, but I know that isn't right. Could someone help?
R B
  • 11
  • 1
1
vote
0 answers

UART overrun error when attempting to write to transmit holding register (U0THR)

So, I have a terminal connected to TxD0 and RxD0 pins. Let's say that I just want to test whether writing to it works after all. I wrote few functions to make UART be able to read and write chars and strings. Although if I try to run it in the…
DemoVision
  • 71
  • 6
1
vote
1 answer

How do I perform modulus on ARM7?

I am having a lot of trouble doing modulus on ARM7. Currently, I have this code: ADD R0,R0,R1 MOV R0, R0 MOD 2 BX LR But it doesn't work at all. It seems from what my classmates have done that we are supposed to do it by bit shifts, but I don't…
thedogs
  • 11
  • 1
  • 2
1
vote
1 answer

ARM 7 nested interrupts confusion

I've been reading about the classical ARM 7 microcontroller. There are two types of interrupts: IRQ and FIQ. FIQ allowing faster interrupt handling and having a higher priority than IRQ. It states that modern ARM versions have nested…
Engineer999
  • 3,683
  • 6
  • 33
  • 71
1
vote
0 answers

Xcode 8 Swift 3 Undefined symbols for architecture armv7

As I'm not allowed to add an answer to several duplicated questions, I will ask this question and give also one answer ;-) The undefined symbol was a call to a self written swift function. This function sits in an swift file with only "global"…
Hardy_Germany
  • 1,259
  • 13
  • 19
1
vote
1 answer

LSB of ARM7TDMI link register on external interrupt (IRQ) call from Thumb mode

Assuming that the ARM7TDMI is in Thumb mode when an interrupt occurs, is the LSB of r14_irq = 1 once the ISR is entered?
1
vote
0 answers

Adding extenal library to compiler toolchain for ARM

I have downloaded compiler tool chain for ARM Target. My host machine: Linux Target H/w : ARM7 But i need to add some additional library with that tool chain. I need to know how to add new library to existing tool chain? Thanks Hari
1
vote
1 answer

Machine code to ARM7 Assembly

I'm trying to get the following machine code instruction written in ARMv7 Assembly 1010 1110 00001011 0000 0000 0000 0100 I wrote it out in hex as below 0xAE0B0004 After messing about with several different instructions with ARMSim, I finally got…
v3nd3774
  • 55
  • 2
  • 8
1
vote
2 answers

If interrupted between instructions a, b do some stuff

I am trying to write assembly to detect if the present interrupt happened between two particular instructions. I think I have it, but it's not easy for me to test, so if someone could verify I would very much appreciate it. LDR R0, =INSTR_A ;address…
OJFord
  • 10,522
  • 8
  • 64
  • 98
1
vote
1 answer

AT91SAM7x: DisASM chaos probably caused by linker

I use Eclipse and Yagarto toolchain (non-eabi, GCC 4.7.1) to program a ARM 7 chip (Atmel's AT91SAM7X256), Goal of this project is to place a bootloader in a defined range of ROM, which is copied to RAM later (see image below, ROM address 0x104000…
Paule
  • 13
  • 3
1
vote
1 answer

ARM assembly, comparing signed values

I have a very simple problem but it is driving me up the wall, would you please help me? Here is the question: how do I compare two signed byte values in ARM assembly? This is what I tried: ldrsb r1, [r0], #1 ldrsb r2, [r0] cmp r1, r2 r0 is loaded…
PaulK
  • 623
  • 2
  • 10
  • 22
0
votes
1 answer

Getting started with this ARM7 board

This bad boy arrived in the post recently. But, didn't have any instructions, CD-ROM or Dev Kit stuff. Despite lack of instructions, I'm pretty sure we should be able to get it going with DS-5, a JTAG cable and embedded linux. The goal is to get a…
tobinharris
  • 2,559
  • 1
  • 21
  • 19