Anything related to hardware and software stacks, i.e. data structures managed using a LIFO (Last-In First-Out) policy.
1
vote
0answers
29 views
MRF24WG0MA driver
I have a working embedded design that connects to the internet using an ethernet connection.
I'm using an MCU that has the Treck TCP/IP stack running on it, wich drives the RJ45 connector but now I ...
0
votes
0answers
120 views
MDK-ARM uVision 5 stack RAM size for STM32
In my project I want store 150kB of bitmap in internal RAM of MCU. So, I've choosen STM32F407VET6 which has 192kB+4kB RAM. However, we must change some values in startup files to extend memory size ...
1
vote
0answers
158 views
How to know the memory occupied by the various memory segments in a microcontroller
I'm using STM32 based microcontroller, IAR embedded workbench and STlink v2 debugger. I just want to know how to check the memory utilized/used by the program/system in various memory segments like:
...
2
votes
2answers
180 views
Is there stack available in PIC ISRs?
I'm trying to better understand the interaction between the foreground (interrupt) and background (while (1)) loops in a PIC microcontroller. Specifically, a ...
-4
votes
2answers
264 views
scheduler and stack
i develop my own scheduler on stm32f407 board
i have different queues of tasks with different priorities and frequencies
i want to mange stack operations myself when in SysTick_Handler event each ...
0
votes
1answer
124 views
Context switching and systick handling on the STM32F series
I am using a STM32F407 board to build my own tiny RTOS and I have some questions.
How can I define my own stack in different memory location, so I can have one stack for each queue of tasks?
How do ...
3
votes
1answer
217 views
stack implementation in 8051
I have a doubt on stack implementation in 8051 and I don't even know if I'm asking it in right way so please pardon me. I've been reading stack implementation in 8051 and many textbooks and references ...
3
votes
1answer
287 views
Does MPLAB X have a call-graph analysis tool?
I'd like to start understanding how deep my microcontroller's stack goes (even if it's only an estimation).
How can I do this using MPLAB X?
3
votes
4answers
335 views
TRUE/FALSE or true/false?
In resource-constrained systems (like an 8-bit PIC), is there any benefit to using your own macros for true and false as opposed to using those defined from stdbool?
...
7
votes
3answers
2k views
How to implement simple stack switching in PIC12/16 cores?
I am trying to understand how real time operating systems work. I have looked at the source codes of some RTOSes. I want to learn by creating my simple RTOS, something like FLIRT.
I am using PIC16 ...
2
votes
2answers
364 views
How does the Array allocated in the stack?
I was testing the code below on my STM32 board, but I could't understand how the array was being allocated in the stack.
I'm assuming that there are 200 bytes of memory in STM32.
Here is the code:
...
4
votes
2answers
237 views
Why are communciation protocols presented as Stacks (vertical) rather than as a conveyor belt (horizontal)?
The OSI model and other models represent a communication system as a stack of multiple layers. In this case we get a vertical structure where "user" is at the top and the receiver of communication at ...
6
votes
6answers
1k views
Exploiting stack buffer overflows on an Arduino
Is it possible exploit stack buffer overflows on an Arduino board?
1
vote
0answers
89 views
PHYs, Protocol Stacks and MACs, where can I find a simple good tutorial that uses a simple protocol to teach these concepts
With modern communication standards like USB, Ethernet, PCIe there is a lot of complexity involved as data is recieved/transmitted. I want to understand the concepts of PHY; Protocol Stack that ...
9
votes
3answers
870 views
What does it mean for a CPU to support a stack?
How can a CPU not support a stack? Doesn't any architecture that uses subroutines (I'm pretty sure that's all architectures) have to push the return address onto the stack so it can return to where it ...
5
votes
1answer
373 views
PIC24F Software Stack?
I know many of the lower-end PICs have fixed hardware stacks that can become an issue during firmware development. I've recently heard that the PIC24-series (and maybe just anything above PIC18 ...
4
votes
2answers
260 views
Is there any restriction in the choice of Ethernet PHY, depending on the TCP/IP stack?
I am new on the forum and am currently working on a project to design an ethernet electronic board. I will have a microcontroller 32-bit with an external PHY.
I wanted to know : depending on the ...