Pipeline hack

Started by Don Y in comp.arch.embedded3 months ago 1 reply

Wanna bet the folks who designed the kit "bolted on" the security after-the-fact (as opposed to designing it in from the start)?

Wanna bet the folks who designed the kit "bolted on" the security after-the-fact (as opposed to designing it in from the start)?


Can ST Cube IDE do 32F4 execution time profiling?

Started by John-Smith in comp.arch.embedded3 months ago

The internet is full of posts from people tearing their hair out trying to use this tool :) I have it running OK although 99% of it is a...

The internet is full of posts from people tearing their hair out trying to use this tool :) I have it running OK although 99% of it is a mystery. And the code which the configurator generates is crap ;) With the old ICEs one could do a bar graph easily, across the address range, and then you could zoom in. Obviously there is no identical way to do this because the 32F runs code fully ...


Linux embedded and direction control of RS485 transceiver

Started by pozz in comp.arch.embedded3 months ago 21 replies

I have an half-duplex RS485 bus with 10-20 different nodes. Some of them are 8-bit MCU based, one of them could be Linux embedded. It's...

I have an half-duplex RS485 bus with 10-20 different nodes. Some of them are 8-bit MCU based, one of them could be Linux embedded. It's half-duplex, so it's important for the transmitter node to disable the driver as soon as the last transmitted bit is shifted out. Many small low-cost MCU has interrupt on transmission complete, so the delay of disabling the driver is usually on the ord...


STM32 CUBE project

Started by Ed Lee in comp.arch.embedded3 months ago 9 replies

So, i created the ADC1 & PIOC13 blinker, bit it does me no good without knowing what the analog values are. But when i try to create an USB_CDC...

So, i created the ADC1 & PIOC13 blinker, bit it does me no good without knowing what the analog values are. But when i try to create an USB_CDC device, it complaints about: ADC1: partly disable conflit with USB_FS_OTG: device mode only Does it mean i can't use USB and ADC together? By the way, how do i tell the IDE to keep it's hand off my codes? It keeps whipping out my codes when c...


gcc .data and .bss address space

Started by Ed Lee in comp.arch.embedded3 months 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 months 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 months 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


"Appliance" updates

Started by Don Y in comp.arch.embedded3 months ago

How often -- and for how long -- do folks find consumer "appliances" (TVs, DVRs, phones, etc.) being actively updated? How prevalent is the...

How often -- and for how long -- do folks find consumer "appliances" (TVs, DVRs, phones, etc.) being actively updated? How prevalent is the "if you want newer firmware, buy a new product" attitude?


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

Started by John-Smith in comp.arch.embedded3 months 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 months 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: ...


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