Convert NTP UTC time to localtime (newlib)

Started by pozz in comp.arch.embedded5 months ago 12 replies

My platform is an NXP MCU Cortex-M3 running an SNTP client on top of lwip TCP/IP stack. I correctly receive current time (seconds from epoch)...

My platform is an NXP MCU Cortex-M3 running an SNTP client on top of lwip TCP/IP stack. I correctly receive current time (seconds from epoch) in UTC. Now I would like to convert it in struct tm *localtime*. There's localtime() function that is what I tried to call. However, as expected, localtime() returns UTC. My C libraries are newlib and I suspect newlib thinks the timezone is U...


Look! Up in the Sky! It's a Bird! It's a Frog! Its an Autonomous Vehicle!

Started by Bill Giovino in comp.arch.embedded5 months ago 1 reply

A lot of the leading-edge technology for autonomous vehicles is coming from military applications. Actually, the U.S. Navy built what was probably...

A lot of the leading-edge technology for autonomous vehicles is coming from military applications. Actually, the U.S. Navy built what was probably the first drone helicopter back in the 1960's: http://microcontroller.com/news/military_autonomous_vehicles.asp Bill Giovino http://Microcontroller.com


Atmel 328 ext. interupts

Started by Hul Tytus in comp.arch.embedded5 months ago

comp.arch.embedded Atmel 328 external interupts I'm debugging an Atmel AVR 328 that won't generate an external #0 interupt. At present, the...

comp.arch.embedded Atmel 328 external interupts I'm debugging an Atmel AVR 328 that won't generate an external #0 interupt. At present, the timer1 is generating an overflow interupt as would be expected. The input for the #0 ext. interupt (pin 4, d port #2) has been set to generate a mimic signal on another pin, which worked well. The setup for interupt 0 is: ldi areg, 2 ; extern...


Measurement of complex impedance of an RF antenna set up.

Started by "'Pe...@ozemail.com.au [msp430]" in MSP4305 months ago 3 replies

I need to measure the impedance of an antenna setup and am told a Vector Network Analyser is required. For a 1-off use I am reluctant to outlay...

I need to measure the impedance of an antenna setup and am told a Vector Network Analyser is required. For a 1-off use I am reluctant to outlay money to buy one and even the rental fee is high for such a device. Is there another way to measure impedance that will give me the same result? TIA Peter


X-FAB First Semiconductor Foundry to Achieve IATF-16949 Quality Certification

Started by Bill Giovino in comp.arch.embedded6 months ago

http://microcontroller.com/news/XFAB_IATF16949.asp This is a big deal if you are in automotive semiconductors. Down the line, it could even...

http://microcontroller.com/news/XFAB_IATF16949.asp This is a big deal if you are in automotive semiconductors. Down the line, it could even take business away from TSMC. Bill Giovino http://Microcontroller.com


How Physical Memory Mapping / Allocation works

Started by Ilias Abrams in comp.arch.embedded6 months ago 13 replies

Hi guys, I am new on software programming and I am trying to understand some basic/ important things.I am interested in Bare-metal software...

Hi guys, I am new on software programming and I am trying to understand some basic/ important things.I am interested in Bare-metal software programming, so please give me answers related on this. My question is: who is responsible and manage the physical memory mapping / allocation? Meaning, If I have 1GB physical memory on my system, the 1) CPU or 2) the Bootloader (like GRUB, U-b


SPI Flash: don't work high-speed read at 48MHz

Started by pozz in comp.arch.embedded6 months ago 4 replies

I'm using Microchip SST26VF064B SPI Flash memory with an LPC1768 from LPC. It works until I change the SPI clock frequency from 24MHz to...

I'm using Microchip SST26VF064B SPI Flash memory with an LPC1768 from LPC. It works until I change the SPI clock frequency from 24MHz to 48MHz. I'm using HIGH-SPEED READ command that should work up to 104MHz (the power supply is 3.3V). For example I read 0x28 0x26 when they should be 0x51 0x4C. 0010 1000 0010 0110 -> 0x28 0x26 0101 0001 0100 1100 -> 0x51 0x4C They appears s


A new benchmark suitable for small systems: stdcbench

Started by Philipp Klaus Krause in comp.arch.embedded6 months ago 25 replies

For benchmarking C implementations, the there are a few benchmarks, but they all have their problems. Many benchmarks have memory...

For benchmarking C implementations, the there are a few benchmarks, but they all have their problems. Many benchmarks have memory requirements that are far too high or need functionality not necessarily available. Some are quite one-sided in what they measure (e.g. Whetstone, Dhrystone, Coremark). So, I deciced to write a new benchmark, stdcbench. I wanted it to be suitable for small syste...


DC v10.72 RFU

Started by "Ste...@yahoo.com [rabbit-semi]" in Rabbit-Semi7 months ago 8 replies

I tried using the Windows RFU to program an RCM6750 and there is no longer a button on the main window to tell it to start programming. The image...

I tried using the Windows RFU to program an RCM6750 and there is no longer a button on the main window to tell it to start programming. The image file is set, the processor type selected, the port to use is selected, the communications options menu is configured, file locations are set. Everything is as it should be, but I have no way to launch the programming. Very weird. Any ideas? Steve ...


USB-to-Serial Adapters

Started by "see...@yahoo.com [rabbit-semi]" in Rabbit-Semi7 months ago 5 replies

Any recommended USB-to-Serial adapters for programming the RCM6000 module? The one Rabbit used to recommend for the R3000 doesn't work.

Any recommended USB-to-Serial adapters for programming the RCM6000 module? The one Rabbit used to recommend for the R3000 doesn't work.


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