PC vs Embedded Development
Posted: Fri Jul 08, 2011 3:54 pm
Hi Giovanni!
I just started to use ChibiOS, and I think that this is a good product. Thanks for your work!
A feature that I like very much is the possibility to enterely develop and debug my app on the PC,
and then crosscompile it directly for my target board, with only minimal retouches (except lld drivers
).
At the moment I'm facing a RAM memory problem... If I allocate 512 bytes for a static thread on the PC (Windows XP - MinGW compiler),
in reality the macro WORKING_AREA allocates about 12KB!!! The problem is that the total ram memory of my target board is about 12KB!
So, I can't really evaluate if the total ram occupied by the thread (or other instruments) is compatible with the target board.
Do you think it is possible to emulate better the hardware on the PC (ram footprint, execution, debugging, ...),
in order to avoid very boring waste of time in debugging directly over the hardware?
Can you give me some hints?
Thank you very much,
Regards,
Alessandro
I just started to use ChibiOS, and I think that this is a good product. Thanks for your work!
A feature that I like very much is the possibility to enterely develop and debug my app on the PC,
and then crosscompile it directly for my target board, with only minimal retouches (except lld drivers
At the moment I'm facing a RAM memory problem... If I allocate 512 bytes for a static thread on the PC (Windows XP - MinGW compiler),
in reality the macro WORKING_AREA allocates about 12KB!!! The problem is that the total ram memory of my target board is about 12KB!
So, I can't really evaluate if the total ram occupied by the thread (or other instruments) is compatible with the target board.
Do you think it is possible to emulate better the hardware on the PC (ram footprint, execution, debugging, ...),
in order to avoid very boring waste of time in debugging directly over the hardware?
Can you give me some hints?
Thank you very much,
Regards,
Alessandro