Should I really increase OS_MUTEXCNT to exit forever loop?

Started by janii in comp.arch.embedded6 years ago 1 reply

Our embedded target board is ARM7 based Microcontroller. We used Keil tools, which include Keil RTX-RTOS. /* Filename: RTX_lib.c */ static...

Our embedded target board is ARM7 based Microcontroller. We used Keil tools, which include Keil RTX-RTOS. /* Filename: RTX_lib.c */ static U32 nr_mutex; int _mutex_initialize (OS_ID *mutex) { /* Allocate and initialize a system mutex. */ if (nr_mutex > = OS_MUTEXCNT) { /* If you are here, you need to increase the number OS_MUTEXCNT. */ for (;;); } *mutex = &std_libmutex[nr


Should I really increase OS_MUTEXCNT to exit forever loop?

Started by janii in comp.arch.embedded6 years ago 1 reply

Our embedded target board is ARM7 based Microcontroller. We used Keil tools, which include Keil RTX-RTOS. /* Filename: RTX_lib.c */ static...

Our embedded target board is ARM7 based Microcontroller. We used Keil tools, which include Keil RTX-RTOS. /* Filename: RTX_lib.c */ static U32 nr_mutex; int _mutex_initialize (OS_ID *mutex) { /* Allocate and initialize a system mutex. */ if (nr_mutex > = OS_MUTEXCNT) { /* If you are here, you need to increase the number OS_MUTEXCNT. */ for (;;); } *mutex = &std_libmutex[nr


New STR750 ARM7 Family from STMicroelectronics has LOTS of Flash & Peripherals

Started by Bill Giovino in comp.arch.embedded13 years ago 5 replies

http://microcontroller.com/news/STR750_stmicroelectronics.asp Up to 256MBytes Flash and more coming, lots of peripherals, and runs out of the...

http://microcontroller.com/news/STR750_stmicroelectronics.asp Up to 256MBytes Flash and more coming, lots of peripherals, and runs out of the internal Flash at 60MHz. With everything turned the max run current is 90mA @ 60MHz - that comes to 1.5mA/MHz. Regards, Bill Giovino Executive Editor http://Microcontroller.com


PCMCIA interface with LPC2214

Started by bhimanipankaj in comp.arch.embedded14 years ago 7 replies

Dear Friends... For my project I am working with philips ARM7 based LPC2214 microcontroller and now I have to interface PCMCIA GSM modem with...

Dear Friends... For my project I am working with philips ARM7 based LPC2214 microcontroller and now I have to interface PCMCIA GSM modem with the circuit. I need to transmit some data by this modem because of its low cost and I need to go for near about 20,000 boards so interfacing PCMCIA is very benificial cost wise. The problem I am facing I don't know how to interface this modem with LPC2...


Low cost, readily available ARM development / demo kit

Started by Mark Aren in comp.arch.embedded15 years ago 7 replies

Hi all, I am looking for a low cost (

Hi all, I am looking for a low cost (


OS or RTOS Porting

Started by ramumadival in comp.arch.embedded10 years ago 10 replies

Dear All, I am going to work on RTOS porting (or even we call OSAL porting) from Qualcomm chipset to VIA chipset. Here Qualcomm chipset runs on...

Dear All, I am going to work on RTOS porting (or even we call OSAL porting) from Qualcomm chipset to VIA chipset. Here Qualcomm chipset runs on REX RTOS but we wanted to completely replace to Nucleus RTOS on VIA chipset. Assumptions: source code is in C, ARM7 processor, JTAG debugger, open ICE as IDE, Hardware is mobile phone So, to do above...I am really requesting inputs with u all ex...


Philips LPC UART & CAN baud rates with 1 XTAL

Started by StanV in comp.arch.embedded14 years ago 2 replies

Hi all, Anyone some advice or experience on calculating the Xtal freq for a LPC22xx ARM7. I just don't find a correct value to generate...

Hi all, Anyone some advice or experience on calculating the Xtal freq for a LPC22xx ARM7. I just don't find a correct value to generate stnadard UART baudrates (9600, 19200, 38400..) and standard CAN-bus speeds (125,250,500,1000) At this moment i have a 17.456MHz Xtal and this is working fine for the UART. For the CAN-bus, a multiple of 8Mhz should work fine. I tried to get to a...


USB OTG on ARM7 based MCU

Started by Mad I.D. in comp.arch.embedded11 years ago 18 replies

Hello all. I'm designing a system running on (ex Sharp) LH79520 NXP MCU with ARM720T core. I'm currently adding USB OTG function but there...

Hello all. I'm designing a system running on (ex Sharp) LH79520 NXP MCU with ARM720T core. I'm currently adding USB OTG function but there is something bothering me. By now, my system already has x32 SDRAM and x16 FLASH memory. I've done a lot of research about OTG controllers available on the market and picked NXP ISP1362 "Single-chip Universal Serial Bus On-The-Go Controller". It's a mem...


why does the lcd display so lag.

Started by Archer in comp.arch.embedded14 years ago 6 replies

we are using H7202 an Arm7 chip(70MHz) to run linux. When we use X with LCD whose resolution is 640*480 and 8 bit depth, it is too lag to...

we are using H7202 an Arm7 chip(70MHz) to run linux. When we use X with LCD whose resolution is 640*480 and 8 bit depth, it is too lag to run smoothly. would it be better when we use 320*240 resolution? how would i change the resolution? i used fbset to set xres and yres to 320 and 240 seperately, a quarter of display is working. that's not what i wanted. Any help would ...


TFT LCD controller

Started by news.tin.it in comp.arch.embedded10 years ago 29 replies

I need some idea to realize a structure like this: MCU LCD CONTROLLER TFT LCD I'm using a 32 bit MCU (ARM7 or Cortex-M3), supposed...

I need some idea to realize a structure like this: MCU LCD CONTROLLER TFT LCD I'm using a 32 bit MCU (ARM7 or Cortex-M3), supposed to drive external FLASH and SRAM. The TFT LCD has to be a QVGA-sized panel with no internal dedicated controller, has the company does not want to be be tied to a specific display model. We have this model to try with: http://www.data-modul.co


Arm dev-tools for linux ?

Started by Adib Taraben in comp.arch.embedded13 years ago 6 replies

Hello, I am new to ARM. Looking around the embedded specialists (IAR, KEIL) provide Windows tools only. Can someone recommend a Linux based...

Hello, I am new to ARM. Looking around the embedded specialists (IAR, KEIL) provide Windows tools only. Can someone recommend a Linux based tool chain: - IDE with code-editor, compiler, debugger based on JTAG and/or mini Debugger server on target - simulator (do not know if that exists) Is there an ARM7 dev board or device that has an ARM and CPLD connected for a "one fits all" usa...


How to program AT91SAM7S64's flash using a JTAG parallel cable?

Started by Ken in comp.arch.embedded14 years ago 11 replies

Hi everyone, I know that some ARM7 chip, such as S3C4510, can be programmed using a JTAG parallel cable without a emulator. Does anyone konw...

Hi everyone, I know that some ARM7 chip, such as S3C4510, can be programmed using a JTAG parallel cable without a emulator. Does anyone konw how to program AT91SAM7S64 using a JTAG parallel cable? Thanks, Ken


Driving a led without a series resistor (PWM technique)

Started by Anonymous in comp.arch.embedded11 years ago 6 replies

Hi, I'm designing a board where the microcontroller is supposed to drive 10 red leds and 4 optocouplers. I would like to drive the leds and...

Hi, I'm designing a board where the microcontroller is supposed to drive 10 red leds and 4 optocouplers. I would like to drive the leds and the opto's without a series resistor using the PWM technique. I made some experiments and all seems to work fine in the lab. 1. The supply voltage is 3.3 Volt 2. The microcontroller is an ARM7 by NXP (LPC2387) 3. In DC, the microcontroller's GPIO...


AT43USB380 USB host implementation with ATmega

Started by trungnl in comp.arch.embedded14 years ago 1 reply

I am considering the embedded USB host solution using the Atmel' AT43USB380 and ATmega64. AT43USB380 is capable of interfacing directly t a 8...

I am considering the embedded USB host solution using the Atmel' AT43USB380 and ATmega64. AT43USB380 is capable of interfacing directly t a 8 bit MC, and I think the ATmega64 is suitable. But I cannot find th appropriate AT43USB380 firmware that can be integrated with the ATmega6 MC. In Atmel's website, I can only find the firmware specifically compile for ARM7. Plz help me solve this proble...


ARM7 16 bit LR move

Started by Anonymous in comp.arch.embedded11 years ago 1 reply

Im trying to copy the LR to R0 to return the calling function's address to some other function, but Im coming with some issues. Im modifying my...

Im trying to copy the LR to R0 to return the calling function's address to some other function, but Im coming with some issues. Im modifying my division libraries to detect a divide by zero and return the calling function's address back to another function to record the initial division's address I have two similar assembly functions, one 32 bit which works fine, and a 16 bit which does not....


How to load bootloader(using debugger) in ARM7 based target?

Started by janii in comp.arch.embedded6 years ago 2 replies

Hello, I built bootloader for NXP LPC2468FBD208. Following files were generated: NXP2468_BootLoader.axf NXP2468_BootLoader.hex I'm using...

Hello, I built bootloader for NXP LPC2468FBD208. Following files were generated: NXP2468_BootLoader.axf NXP2468_BootLoader.hex I'm using Keil tools. I have ULINK2 debugger connected from PC(USB) to target board. Which above file do I load in the target using the debugger? How do I know where in memory will bootloader reside? How do I load the bootloader into the target? Thank you! ...


problem with interrupt after soft reset

Started by wanwan in comp.arch.embedded13 years ago 1 reply

I'm programming an ARM7 microcontroller with embedded C using an IDE. Everything works fine initially after loading the program. When I...

I'm programming an ARM7 microcontroller with embedded C using an IDE. Everything works fine initially after loading the program. When I press soft reset, the interrupts stop working. I tried the example codes for the microcontroller that involve interrupts and had the same results: works for the first time after loading and stops working after soft reset. Is there anything different runn...


TCP/IP stack for GPRS

Started by Jesper in comp.arch.embedded15 years ago 5 replies

Hey Any of you had any experience with running tcp/ip stack on 8051 for GPRS purpose?? Which 8051 uC and TCP/IP stack did you use?? Free...

Hey Any of you had any experience with running tcp/ip stack on 8051 for GPRS purpose?? Which 8051 uC and TCP/IP stack did you use?? Free ones preferred :-) Or should I use a different uC like AVR ATMega128 og an ARM7 like Phillips LPC21XX. I've only got experience with 8051 uC.... It's my first GPRS project, any suggestions on my choice of TCP/IP stack?? Regards Jesper Denmark ...


compact flash and pcmcia uC interfacing

Started by Rick in comp.arch.embedded16 years ago 2 replies

I have been reading the compact flash 2.0 spec from compactflash.org but I am a bit confused as to which would be the best mode for interfacing...

I have been reading the compact flash 2.0 spec from compactflash.org but I am a bit confused as to which would be the best mode for interfacing to the 16 bit data bus of an atmel arm7 processor (The 40008 in this case). It looks like memory mode would work, and I read the circuit cellar article in the feb 2001 issue about interfacing a pic to a cf via 3 address lines and 8 data lines and a...


baud rate calculation

Started by patilrohit103 in comp.arch.embedded9 years ago 1 reply

I am having a problem calculating the baud rate of 9600 bauds for ARM7 (LPC2148) at 12MHZ crystal. I have figured out a value of : ...

I am having a problem calculating the baud rate of 9600 bauds for ARM7 (LPC2148) at 12MHZ crystal. I have figured out a value of : U1DLM=0x00; U1DLL=0x62; following is my UART1 initialization code: void init_UART1() { PINSEL0=0x00050000; // FOR UART1 U1LCR=0x83; U1DLM=0x00; U1DLL=0x62; U1LCR=0x03; U1FCR=0x01; } please help me if there is any other...