Questions tagged [cortex]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
157 views

Allwinner V3s boot conditions

We've made our own SBC as part of a student project based on the Allwinner V3s, but it's not booting (no output on UART0, and it doesn't enter USB device mode (FEL) either). What are all of the ...
Nejcraft's user avatar
1 vote
1 answer
240 views

ARM Cortex-A: Permission fault due to code region mapped as read/write

When I try to execute code from a region mapped as read/write (AP[2] == 0), the CPU issues a permission fault (exception class == 0b100001, instruction fault status code == 0b001111). When I change ...
Jorge's user avatar
  • 13
0 votes
1 answer
250 views

Why are ARM Cortex-R parts so rare? [closed]

Most every ARM licensee under the sun sells dozens of Cortex-A and Cortex-M parts, but as far as I can tell, only TI, Renesas, and Cypress (oops, Infineon) sell Cortex-R parts. Of those three, TI is ...
smammy's user avatar
  • 103
3 votes
3 answers
1k views

How we can share a function between main application and bootloader?

I am using STM32F4(ARM-Cortex M4). I want to share a function between main application and bootloader without redefine that function, for example imagine that i wrote a print function in main ...
HwSwDesigner's user avatar
0 votes
2 answers
2k views

Debugging STM32 with OpenOCD, STM32 for VSCODE won't work or flash, Configuration issue maybe?

First and for most I googled a lot and Its been a week of searching with no solution at all. Please bare with me! I tried to add all necessary info! Please request more If you need. My problem is: I ...
The_M_Code's user avatar
0 votes
0 answers
670 views

Can I use ST-LINK (or clone) for programming non-ST ARM{7,9} and Cortex A chips?

Can I program non-ST ARM926 or ARM7TDMI and Cortex-A chips using ST-LINK and ST-LINK clone? I've searched ST's website and I haven't found anything about this. If no, what is the cheapest way to do ...
foo's user avatar
  • 3
0 votes
1 answer
304 views

Help Identifying components in Teensy 4 schematic

I'm following the official schematic of Teensy 4.0 from pjrc.com to build a custom board. Can somebody please help me identify this unlabeled component encircled (Red) and this connection label ...
Zeeshan Dhillon's user avatar
-4 votes
1 answer
98 views

Where to study Cortex R architecture? [closed]

I am interested to study Cortex-R architecture but I cannot find its details online. Is it proprietary detail or should I ask for this information from arm.com? Obviously I am not looking for the ...
alt-rose's user avatar
  • 1,471
0 votes
0 answers
276 views

Cortex SWD pins disabled

I am trying to flash an Ambiq Apollo via SWD. The problem is that my debugger is unable to connect to the board. Initially, i though that the SWD pins would simply be remapped by software on the MCU....
Daniel D.'s user avatar
0 votes
2 answers
158 views

Running code from different storage

So i know this question is being asked almost everyday on thousands of forums, but i am still going to ask that same question but with a different intent. Question #1: As an example lets use linux ...
Anton Stafeyev's user avatar
0 votes
0 answers
49 views

Reduce wake-up noise on ARM CM3

I need some help exploring a solution. I have an ARM Cortex M3 MCU, which has low-power sleep mode implemented. Wake-up sources are any GPIO pin, or an RTC alarm. A terminal is connected to UART-0 ...
Potion's user avatar
  • 43
0 votes
0 answers
135 views

Double buffering on LPC1768?

I am trying to build an MP3 Player on a generic lpc1768 development board. I am trying to play an 8 bit 44.1 kHz .wav file using internal DAC. I am using elm chan FATfs and double buffering concept. I ...
samosa's user avatar
  • 9
1 vote
1 answer
288 views

ARM Cortex behavior on erased flash

After erasing the flash of a typical microcontroller with an ARM Cortex, I assume the flash contents to be all ff. What is the behavior of the microcontroller ...
distributed's user avatar
1 vote
1 answer
114 views

sama5 clock and debug issue

I have designed a board that uses the ATSAMA5D225C-D1M (Cortex A5). I have mostly copied the schematic from the ATSAMA5D27-SOM1. I am using a J-LINK PRO adapter. I am using the atmel software ...
Erik Friesen's user avatar
  • 1,861
3 votes
2 answers
586 views

ARM Cortex cores with peripherals, basic requirements

I've been reading a lot of stuff about using ARM tool chain to build applications for different microcontrollers including ARM cores. Right now, I've been using the fairly easy route with Atmel Studio ...
Kévin Isabelle's user avatar
2 votes
1 answer
266 views

How does the Cortex M0+ processor use the AHB-Lite interface to fetch instruction and data?

How does the Cortex M0+ processor use the AHB-Lite interface to fetch instructions and data? Are instruction fetches done always using NONSEQ? How does it fetch data from memory (using burst or NONSEQ ...
Vignesh Dhamotharan's user avatar
0 votes
3 answers
752 views

Connect to Xilinx Zynq 7030 via JTAG connection?

Imagine you are trying to write Bare Metal applications on a Xilinx Zynq 7030 board. Since burning sd cards all the time gets tiresome, you want to establish a JTAG connection. You get a JTAG HS3 ...
Mike Meyers's user avatar
-2 votes
1 answer
1k views

STM32 SYSCLK and CORTEX SYSTEM TIMER [closed]

What is the difference between the two?
UMID 's user avatar
  • 35
0 votes
2 answers
1k views

Best choice in ARM Cortex series for running RTOS A-,R- or M? [closed]

I am learning about ARM Cortex based systems. I understand that most of the Cortex series can support running an OS. When it comes to real time operating systems implementation on an embedded system, ...
AAI's user avatar
  • 242
3 votes
1 answer
2k views

Can Cortex M4 data watchpoint trigger an interrupt without a debugger?

I am trying to diagnose memory corruption on a Cortex M4 (Kinetis K64). With the debugger (J-Link) attached I can set data watchpoints and the core will stop when a memory address is written. I want ...
filo's user avatar
  • 8,901
0 votes
2 answers
137 views

FreeRTOS for Atmel's SAM Cortex-M3 Switch between tasks

I'm playing with FreeRTOS on an Atmels' Cortex-M3 mcu and I was wondering how can I switch from a current task to another irrespective of its priority. To be exact: I send data to one of mcu's USART ...
MrBit's user avatar
  • 1,973
0 votes
1 answer
502 views

ARM Cortex-R for motion control application [closed]

I need to control about 50-motors(brush DC/Stepper) with each of them having an encoder for feedback.Precise motion control is needed for each motor axis.I have been looking at ARM cortex-M4 ...
Koundinya's user avatar
5 votes
1 answer
4k views

New debug connectors for ARM

There is a big confusion in my head about debug connectors for ARM microprocessors. If I just take a look at this documentation there are a couple of JTAG connectors mentioned: Cortex 10-pin JTAG/...
71GA's user avatar
  • 613
0 votes
1 answer
2k views

Undefined exception in ARM processor

Undefined exception in ARM processors is described as being taken when the processor encounters an instruction that is undefined or not supported by implementation. I am not able to understand that ...
Shubham's user avatar
2 votes
1 answer
5k views

Differences between Cortex-M4 Cortex-M7 and Cortex-A5 [duplicate]

I want to make a simple IOT project for my home and I'm searching for a mcu to start with. I was raffling through the web site of a few popular distributors and I found that some Cortex-M4 are much ...
MrBit's user avatar
  • 1,973
0 votes
1 answer
137 views

Programming cortex m0+ soic for coustom pcb [closed]

I need a little help. I have designed a small HAVC system, controlled with different sensors which each is connected to cortex m0+ mcu-s. I have tested my program on development board. Now I have to ...
amicum's user avatar
  • 1
-2 votes
2 answers
6k views

STM32L4 USART problem

I tried to develop an USART example on stm32L476 discovery kit, but I've got some problems with the HAL driver-s, I think I'm using wrong USART interface Clock enable, and USART GPIO Clock enable ...
pthben's user avatar
  • 1
1 vote
2 answers
129 views

Is it possible to swap out a 48 MCU for one with 64 pins?

I wonder if I can upgrade a device that is currently using a 48 pin MCU to a 64 pin MCU? I can do this by altering the PCB pin layout but I will have floating pins. The reason why is because it's a ...
jmnoi's user avatar
  • 29
10 votes
3 answers
5k views

Eclipse + GNU ARM + STM32 - HAL or SPL

I am going to start with ARM development (after 2 years of AVRs) and have picked up the STM DISCOVERY board with the stm32f4 microprocessor on it. I have decided to go with eclipse + ARM gcc since I ...
Ankit's user avatar
  • 1,751
1 vote
2 answers
7k views

What is the difference between ARM Cortex M7 and Cortex A53, and their possible applications?

What is the difference between ARM Cortex M7 Cortex A53 (or A17)? Why one will choose one over the other? To what kind of applications does each of those is targeted for? Which one will be more suited ...
KingsInnerSoul's user avatar