EmbeddedRelated.com
The 2024 Embedded Online Conference

.Net Micro Framework on an Arm Cortex M3, experiences anyone?

Started by Kvik in comp.arch.embedded12 years ago 1 reply

Hi We are working on a new product and we are contemplating using a Virtual Machine, running the Microsoft .Net Micro Framework It seems it...

Hi We are working on a new product and we are contemplating using a Virtual Machine, running the Microsoft .Net Micro Framework It seems it could be running on a STM32F105 (Cortex M3 device) with 256kB Flash and 64kB RAM. We do not need it to run very fast, we just need the ability to be relatively processor independent and to gain a higher abstraction level if possible, reducing deve...


DMA losing sync on ST ARM processor

Started by Tim Wescott in comp.arch.embedded11 years ago 19 replies

I'm using an STM32F103VB, and one of the things that I'm doing is doing a set of ADC reads which are then being transferred via DMA to a...

I'm using an STM32F103VB, and one of the things that I'm doing is doing a set of ADC reads which are then being transferred via DMA to a buffer. For some reason, when I'm debugging the DMA transfer gets scrambled: channel 0 ends up where channel 1 is supposed to go, channel 1 where channel 2 should be, on up the line until finally the last channel gets written to channel 0. I have th...


Embedded scripting engine

Started by Raul in comp.arch.embedded14 years ago 5 replies

Hi, I'm looking for a small scripting engine implementation for my embedded project running on STM32F103T6 MCU @ 72MHz and FreeRTOS 6.0.4 and...

Hi, I'm looking for a small scripting engine implementation for my embedded project running on STM32F103T6 MCU @ 72MHz and FreeRTOS 6.0.4 and ST library 3.2.0. Right now, I'm using a derivate of basic language with code: c=0 for d=1 to 10000 set_onboard_led c if c=0 then c=1 else c=0 next d end and get performance roughly 1 millisecond per 1 loop. The project is level 2 optimiz...


Copy to and execution from RAM

Started by Klaus Kragelund in comp.arch.embedded6 years ago 10 replies

Hi I am using a STM32 and I want to use the flash as storage, but I need the processor to keep running Writing to flash while execution from...

Hi I am using a STM32 and I want to use the flash as storage, but I need the processor to keep running Writing to flash while execution from flash will take about 20us for 16bit value and when the entire block is close to be filled up an erase of the block takes 20ms 20ms halt of code execution is not an option So, the plan is: Copy code that needs to run to RAM Move p


cortex programming in production

Started by coli...@yahoo.com in comp.arch.embedded16 years ago 4 replies

Hi! Does anyone know of a tool that will generate svf files (or something simillar) for ARM cortex based micro's. I've actually got an STM32...

Hi! Does anyone know of a tool that will generate svf files (or something simillar) for ARM cortex based micro's. I've actually got an STM32 but which flavour of cortex shouldn't matter. This is the means by which a production JTAG interconnection tester (JTAG technologies in this instance) programs CPLDs, micro's or other simillar stuff. At the moment we are just using an open source co...


linker script and compilers.....

Started by Carlo Caione in comp.arch.embedded14 years ago 4 replies

Hi, I was trying to setup an environment to compile programs for an STM32. One of the steps is to write a linker script. Now my question is:...

Hi, I was trying to setup an environment to compile programs for an STM32. One of the steps is to write a linker script. Now my question is: what does the linker script depend on? I think that it depends on the the compiler used. But, how can I write from scratch a new linker script? I suppose I have to know which are the sections present in my object file. But they are so much dependent on...


SDHC 4 bit driver?

Started by ded1...@iperbole.bo.it in comp.arch.embedded14 years ago 2 replies

Hello, I'm trying to add SDHC support to a STM32 4 bit mode driver (not SPI) which works fine with normal SD. Before ACMD41 I added CMD8...

Hello, I'm trying to add SDHC support to a STM32 4 bit mode driver (not SPI) which works fine with normal SD. Before ACMD41 I added CMD8 with 0x01AA as a parameter; the answer is the same (0x01AA) which is OK. In the following ACMD41 I set HSC bit (arg is 0x40000000), but in the STM32 SDIO controller the timeout flag is set. Did someone write a SDIO 4 bit driver for SDHC, please? ...


interfacing cpld

Started by Justas P in comp.arch.embedded14 years ago 9 replies

Hi there, a newbie question, and I would be grateful for a response or at least hint where to look(read) for information. My problem is: I...

Hi there, a newbie question, and I would be grateful for a response or at least hint where to look(read) for information. My problem is: I have two synchronisation domains. One device (A) is running at a 2.048 frequency. Then there is a STM32 microcontroller (B) that is using 8 MHz clock source. Dev A gives out NRZ data stream and accept NRZ data stream. I want to send and receive data ...


Micro to drive a TFT LCD

Started by Raddix in comp.arch.embedded14 years ago 8 replies

I am looking to drive a 3.5" tft display similar to the one used in the following protoboard. http://olimex.com/dev/lpc-2478stk.html We were...

I am looking to drive a 3.5" tft display similar to the one used in the following protoboard. http://olimex.com/dev/lpc-2478stk.html We were considering using the lpc2478 for awhile with its dedicated lcd controller. But I was looking at the stm32 chips (107/8) and i am curious about how feasible it would be to drive the onboard HX8238 of the tft with the FSMC of the ST chip and some timing ...


STM32, ADCs, Timing Problem

Started by Mike Kaufmann in comp.arch.embedded15 years ago

Hello Everyone, these days I encountered a serious timing problem using the ADCs, twice. Because of this the ADC interrupt used up all...

Hello Everyone, these days I encountered a serious timing problem using the ADCs, twice. Because of this the ADC interrupt used up all computing power, leading to a not or *very* slow running application and, if activated, a watchdog reset. What happend: The first time the error occured sometimes when I tried to write new parameters into the flash, just after erasing the page. After I ...


strangeness with objcopy and large binaries

Started by Peter Harrison in comp.arch.embedded15 years ago 4 replies

I have built the CodeSourcery ARM compiler (2008q3). I have a linker script for the STM32 with the following sections: MEMORY { FLASH...

I have built the CodeSourcery ARM compiler (2008q3). I have a linker script for the STM32 with the following sections: MEMORY { FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 128K RAM (xrw): ORIGIN = 0x20000000, LENGTH = 20K } SECTIONS { .isr_vector : { . = ALIGN(4); KEEP(*(.isr_vector)) . = ALIGN(4); } > FLASH


Embedded Basic interpreter recommendations?

Started by John Speth in comp.arch.embedded15 years ago 79 replies

Hi everybody- This question comes up from time to time from various posters but it never gets an answer that fits my specific needs. Here...

Hi everybody- This question comes up from time to time from various posters but it never gets an answer that fits my specific needs. Here goes: Would anyone be able to recommend a free embedded basic interpreter with C source code? My intended target is the STM32 which probably has enough RAM for small programs. My intent is to create an embedded controller board with a serial p...


3.3V Microcontroller 5V Device

Started by Razal in comp.arch.embedded15 years ago 3 replies

Hello... I am using the Cortex M3 ARM Controller STM 32, And my device to be interfaced is a 5V logic which is having an SPI and needs a signal...

Hello... I am using the Cortex M3 ARM Controller STM 32, And my device to be interfaced is a 5V logic which is having an SPI and needs a signal which is 1Mhz I can make a 1Mhz signal in controller using PWM and it is having an SPI Hardware but both out put is 3.3V but the PINs of STM32 is 5V tollerable. so the output from the device can be directly connected or with a resistor in it. B...


STM32 ARM toolset advice?

Started by John Speth in comp.arch.embedded16 years ago 77 replies

(Not to start a tools war but) I'm about to start a project that will use the STM32 ARM from ST. IAR and Keil both supply high quality tool...

(Not to start a tools war but) I'm about to start a project that will use the STM32 ARM from ST. IAR and Keil both supply high quality tool sets for the STM32. I've used both toolsets' evaluation copies. I believe I'd be satisfied buying any one over the other. Can anyone make any comments why one might be better than the other? At this point, it's a flip of the coin. I'd like t...


raisonance plus Rlink - any issues?

Started by Peter Harrison in comp.arch.embedded16 years ago 3 replies

I am still trying to sort out a set of tools for the STM32 (and possibly other ARM processors). I know there have been several discussions on...

I am still trying to sort out a set of tools for the STM32 (and possibly other ARM processors). I know there have been several discussions on here. I have very little money as I am essentially a hobby user. Raisonance RIDE7 and the ARM toolit provide what appears to be a good IDE and a version of the GNU ARM tools. It is free and unrestricted. So far I quite like it. To program and debu...


STM32 and USB examples

Started by blisca in comp.arch.embedded14 years ago 4 replies

Hi please ,can anyone suggest me a tutorial or examples of elementary use of STM32 USB interface? thanks Diego

Hi please ,can anyone suggest me a tutorial or examples of elementary use of STM32 USB interface? thanks Diego


Micrium/ARM software development partner sought

Started by Ivanna Pee in comp.arch.embedded17 years ago 3 replies

Group, This is not spam. I am looking for a respectable and reliable company to do some business with. My company has a design and schedule in...

Group, This is not spam. I am looking for a respectable and reliable company to do some business with. My company has a design and schedule in mind that cannot be achieved without some external help. Specifically looking for a firm with experience using Micrium tools on STM32. My design lends itself to use of thier RTOS, File System, GUI and USB-MSD software.


New ARM Cortex Microcontroller Product Family from STMicroelectronics

Started by Bill Giovino in comp.arch.embedded17 years ago 90 replies

http://www.microcontroller.com/news/arm_cortex_stm.asp STMicroelectronics has introduced the new STM32 microcontroller family, based on...

http://www.microcontroller.com/news/arm_cortex_stm.asp STMicroelectronics has introduced the new STM32 microcontroller family, based on the Harvard architecture ARM Cortex. Article includes a roadmap and a useful chart of the STM32 low power operation, which is as low as 0.5mA/MHz. Regards Bill Giovino Executive Editor http://Microcontroller.com


ST announce their Cortex-M3 micros

Started by FreeRTOS.org in comp.arch.embedded17 years ago 6 replies

See: http://mcu.st.com/mcu/inchtml.php?fdir=pages&fnam=stm32 (and: http://www.freertos.org/portstm32iar.html :o) The Cortex-M3 marketing...

See: http://mcu.st.com/mcu/inchtml.php?fdir=pages&fnam=stm32 (and: http://www.freertos.org/portstm32iar.html :o) The Cortex-M3 marketing has trumpeted greater interoperability between vendors as one of the M3 selling points, so it is interesting to note that the FreeRTOS.org demos for Luminary Micro and STMicroelectronics Cortex-M3 parts use exactly the same port code, while the port...


I2C Communication between two Microcontrollers

Started by Neelakantappa M in comp.arch.embedded2 years ago 14 replies

I want to test the I2C protocol between two STM32 (STM32L152RC) microcontrollers. Can somebody guide me on how to do it or suggest tutorials? I...

I want to test the I2C protocol between two STM32 (STM32L152RC) microcontrollers. Can somebody guide me on how to do it or suggest tutorials? I have seen some online portals where they are communicating between a microcontroller and any sensor. That I have done already. Now I want to test it between two MCU boards.



The 2024 Embedded Online Conference