EmbeddedRelated.com

gcc .data and .bss address space

Started by Ed Lee in comp.arch.embedded3 years ago 22 replies

What is the compiler option and/or directive to change the "Addr" field of elf file? If i use: .bss .data .org...

What is the compiler option and/or directive to change the "Addr" field of elf file? If i use: .bss .data .org 0x100000 it simply increase the "Off" and create a huge file. The chip's ram is at 0x20000000 Section Headers: [Nr] Name Type Addr Off Size ES Flg Lk Inf Al [ 0] NULL 00000000 000000 00...


Static analysis tool?

Started by Dave Nadler in comp.arch.embedded3 years ago 14 replies

Perhaps someone here can help... I'm doing a presentation on techniques for embedded, especially removing and keeping out bugs ;-) Using an...

Perhaps someone here can help... I'm doing a presentation on techniques for embedded, especially removing and keeping out bugs ;-) Using an example project from last year. A reviewer of my first draft suggested many of the bugs surfaced in the project would have been caught by static analysis - but I haven't had such great luck in the past. Tried CPPcheck, and while it found some les...


ST Cube IDE - where is GDB server logging level set?

Started by John-Smith in comp.arch.embedded3 years ago 4 replies

This bit https://peter-ftp.co.uk/screenshots/202105014411484506.jpg I posted this on the ST forums and the reply doesn't work, and that's the...

This bit https://peter-ftp.co.uk/screenshots/202105014411484506.jpg I posted this on the ST forums and the reply doesn't work, and that's the end of it - the place gets so many posts, mostly never solved... https://community.st.com/s/question/0D53W00000jkapcSAA/where-do-i-configure-the-gdb-server-log-l evel?t=1619251467834 Clearly there are multiple configs for this around the place. The


Are there any ST 32F417 / Cube IDE / STLINK / C developers on here?

Started by John-Smith in comp.arch.embedded3 years ago 7 replies

I am working on a project and need a bit of help here and there. I am working on it with someone who knows a lot more than I do but he is...

I am working on a project and need a bit of help here and there. I am working on it with someone who knows a lot more than I do but he is available only 1 day a week, so instead of posting questions on various forums (mostly never answered) I am considering looking for someone who can work on a retainer of X per year or something like that and would be able to provide support. It ranges ...


How to change stm32 m4 adc channel?

Started by Ed Lee in comp.arch.embedded3 years ago 10 replies

Does anyone know how to do it in register level? I see many code examples using: ADC_ChannelConfTypeDef sConfig = {ADC_CHANNEL_0, 1,...

Does anyone know how to do it in register level? I see many code examples using: ADC_ChannelConfTypeDef sConfig = {ADC_CHANNEL_0, 1, ADC_SAMPLETIME_28CYCLES}; HAL_ADC_ConfigChannel(&hadc1, &sConfig); or ADC_RegularChannelConfig(ADC1, ADC_channel_0, 1, ADC_SampleTime_480Cycles); but i don't have access to these routines from arm-gcc. By the way, i am using this to read the adc data: ...


Ada-Europe Int.Conf. Reliable Software Technologies, AEiC 2021

Started by Dirk Craeynest in comp.arch.embedded3 years ago

----------------------------------------------------------------------- Call for Participation ...

----------------------------------------------------------------------- Call for Participation *** PROGRAM SUMMARY *** 25th Ada-Europe International Conference on Reliable Software Technologies (AEiC 2021) 7-10 June 2021, Virtual Event www.ada-europe.org/conference2...


C++, Ada, ...

Started by pozz in comp.arch.embedded3 years ago 57 replies

What do you think about different languages than usual C for embedded systems? I mean C++, Ada but also Python. Always more powerful embedded...

What do you think about different languages than usual C for embedded systems? I mean C++, Ada but also Python. Always more powerful embedded processors are coming, so I expect new and modern languages will enter in the embedded world. Hardware are cheaper and more powerful than ever, but software stays expensive. New and modern languages could reduce the software cost, because the...


Arm registers

Started by Hul Tytus in comp.arch.embedded3 years ago 23 replies

sci.electronics.design Arm Cortex assembley code Does the Arm Cortex support both the "thumb" 16 bit machine codes and also the 32 bit...

sci.electronics.design Arm Cortex assembley code Does the Arm Cortex support both the "thumb" 16 bit machine codes and also the 32 bit codes? I had been under the impression that Cortex devices only provided the thumb codes but a little time going through "Arm v7-M Architecture Reference Manual" indicates otherwise. Whether or not that reference manual is suitable for Cortex inform...


Task, process, thread, etc.

Started by Don Y in comp.arch.embedded3 years ago 27 replies

I've been refactoring some of my RTOS documentation. Comments from the reviewers suggest there's still some confusion as to terms (despite the...

I've been refactoring some of my RTOS documentation. Comments from the reviewers suggest there's still some confusion as to terms (despite the fact that I explicitly define them! : < ) All seem to understand the notion of a "thread". And, to a lesser extent, an "application" (this one's a bit harder as there's often no clear-cut distinctions; do you tie it to a "pre-packaged set of algo


Using C preproc to uniquely identify structure members

Started by John Speth in comp.arch.embedded3 years ago 11 replies

I could use some advice for a problem that I've had on my mind for years. I'm looking for a black box function that will examine a memory...

I could use some advice for a problem that I've had on my mind for years. I'm looking for a black box function that will examine a memory block of a known structure and output a list of IDs that point to any members that have changed. I have a strong feeling that this problem has been solved by many people before me but I've never seen any solution. I'm looking for an elegant solution th...


Ask a Question to the EmbeddedRelated community

To significantly increase your chances of receiving answers, please make sure to:

  1. Use a meaningful title
  2. Express your question clearly and well
  3. Do not use this forum to promote your product, service or business
  4. Write in clear, grammatical, correctly-spelled language
  5. Do not post content that violates a copyright