Skip to main content

All Questions

Tagged with
1 vote
2 answers
184 views

Why do AVR microprocessors have two ways (paths) to access I/O ports?

I've an ATmega328P. Register Summary Page 275 ATmega328P datasheet. The first address is the I/O address, and the second is the data memory address. I'm going to set all (D ports) Data Direction ...
Amr Elkamash's user avatar
0 votes
1 answer
133 views

How does data reach peripherals in STM32H7xx?

I'm trying to understand bus interconnection matrix in stm32h7xx. Here is a capture of the H753's one: In particular, I'm wondering how a data buffer located in DTCM would reach the SPI1's tx ...
Martel's user avatar
  • 1,259
2 votes
0 answers
188 views

Does NOR flash wear occur when rewriting a bit to its same value?

The obvious answer is no. Wear is caused by discharging a memory cell (bit). If the cell is a 1 and you write a 1, the cell does not get discharged. If the cell is zero and you write a zero, the cell ...
Maxwell Kunes's user avatar
2 votes
2 answers
453 views

Keil uVision Disassembly Window with ARM Microcontroller

I have a couple of probably simple questions for you all regarding disassembly from C code to assembly code. I am using Keil uVision as a programmer and debugger with a TIVA TM4C123GXL microcontroller ...
David777's user avatar
  • 1,555
2 votes
2 answers
2k views

STM32 SD mounting returns error with SDIO

Overview I'm using a STM32F407ZGT6 and I'm currently trying to mount SD cards (MicroSD 32GB HCI and 256GB XCI picture) to the board using the FATFS library bare-metal. To handle low level I/O, I'm ...
mgmussi's user avatar
  • 155
0 votes
2 answers
1k views

How do embedded systems deal with virtual and physical memory addressing?

I'm referring to the Wikipedia page about virtual memory, the last paragraph in Usage section: Embedded systems and other special-purpose computer systems that require very fast and/or very ...
yeuop's user avatar
  • 455
0 votes
2 answers
342 views

Is not it too much memory consumption for a simple thing?

I was trying to lower the memory consumption in my project and realized that a simple change of "uint8_t" value to the "define" shows effect much more and I thought. It seems I'm ...
U.Sim's user avatar
  • 69
0 votes
1 answer
113 views

Built in Self Test - In Embedded memories

I am reading this thing called -BIST (Built in Self Test). I understand that, before a module enters its intended functionality, this BIST is made to run within the module. Once, this BIST is passed, ...
user avatar
1 vote
2 answers
807 views

How do I implement authentication on an embedded device? [closed]

I have been reading a lot about encryption lately but most sources just care about making sure that the connection between two parties is secure. I want to know how I can be sure that the party I am ...
Vincent Kenbeek's user avatar
0 votes
1 answer
45 views

Read-only for some masters but read-write for other?

Is it possible that a memory/memory region be read-only for some masters/chip components but read-write for others? It is kind of vague question, but from a conceptual point view would this be ...
Lavender's user avatar
  • 527
1 vote
1 answer
604 views

PCB sound memory for toys [closed]

I want to build a toy. The initial build will be a prototype but if the idea 'sells,' I want to build en-masse. For the prototype, as I do not have (beyond what I learnt at Uni) industry experience, ...
TheDataGuy's user avatar
-1 votes
3 answers
494 views

Startup code in pure Assembly program [closed]

I came across some articles and books that saying when, I write in high-level language like C, startup code is used to prepare for my main code but when I write my program in pure Assembly there is no ...
Abd El-Rahman Akram's user avatar
0 votes
2 answers
457 views

Reading current memory image from a micro controller

I have the MPLAB XPress Evaluation Board, which has the PIC16F18855 microcontroller on it. The way to program it is just to copy a ...
macro_controller's user avatar
2 votes
1 answer
327 views

How can I protect a microcontroller from memory corruption due to buffer overruns? [closed]

I have recently been working on what I believe is a buffer overrun problem in a microcontroller with software that I wrote. I'm using an Atmega328PB, so it has no such thing as a MMU or address space ...
Eric Urban's user avatar
  • 1,249
0 votes
0 answers
483 views

STM32 with Winbond W25Q80DV Write Data Issue

I am trying to store data in SPI FLASH MEMORY of WINBOND W25Q80DV. I am able to read status registers and manufacturer ID successfully but can't able to write data into it. The procedure I followed: ...
Vaibhav's user avatar
  • 173

15 30 50 per page