EmbeddedRelated.com

Broken TCP/IP packets

Started by Ali in comp.arch.embedded17 years ago 10 replies

I have a serial device that is using MCU's UART (rs232) for data transfer, every time my device is suppose to deliver 20 bytes making it a...

I have a serial device that is using MCU's UART (rs232) for data transfer, every time my device is suppose to deliver 20 bytes making it a single transaction. We have a VB and C# app using MSCOMM and it works perfectly. Now I have added an Ethernet converter to convert serial data to TCP/ IP packets. It works atleast for half of the time. For the rest of the problematic half the behavior i...


UARTS that generate an interrupt if bit 9 = 1 ? (for RS485 protocol)

Started by Chris Graham in comp.arch.embedded19 years ago 7 replies

I am designing an RS485 network, and was reading a Circuit Cellar article by Ambekar that describes a protocol that uses 9 bit characters, where...

I am designing an RS485 network, and was reading a Circuit Cellar article by Ambekar that describes a protocol that uses 9 bit characters, where a non-zero 9th bit indicates that the character is a control character. The described network used Intel MCS51 UART that can apparently be set to generate an interrupt only bit 9 is non-zero. This way devices on the network are not interrupted...


Problem interfacing FT232BM and AT89S8252

Started by escuderon in comp.arch.embedded17 years ago 1 reply

I'm in problems!! please Help Me!!! I'm interfacing an 8051 from Atmel (AT89s8252) with an USB to serial converter from FTDI (FT232BM). The...

I'm in problems!! please Help Me!!! I'm interfacing an 8051 from Atmel (AT89s8252) with an USB to serial converter from FTDI (FT232BM). The FT232BM is Bus Powered and the 8051 is powered through the BUS too. The interfacing i use is simply through the UART of 8051 directly to the TXD and RXD pins of FT232BM. Just for testing, I've programmed the 8051 t osend a byte to the port conti...


UART communication doubt

Started by Nandinikrishna in comp.arch.embedded16 years ago 4 replies

Hi I am Nandinikrishna I am working on C8051CF023 processor. How exactly does synchronous and asynchronous communication take place. To transmit...

Hi I am Nandinikrishna I am working on C8051CF023 processor. How exactly does synchronous and asynchronous communication take place. To transmit 0 bit the TXD line will be held low ie.,0V, to transmit 1 bit the TXD line will be held at 5v. In asynchronous communication the processing speed of the two terminal varies then how long should the TXD line be supplied with the voltage?


FTP (or similar) over serial port of an embedded linux system

Started by pozz in comp.arch.embedded7 years ago 8 replies

Maybe this question should be posted in a linux development group, however the use of a serial port is more typical in an embedded...

Maybe this question should be posted in a linux development group, however the use of a serial port is more typical in an embedded environment, so I try to post here. I have an embedded Linux box (based on a Raspberry) with a serial port converted to a USB port through a UART-USB transceiver from Microchip. This USB port is seen as a COM port under Windows OS. I need to do simple ope...


PS/2 mouse interface with 8052 microcontroller

Started by Ab Sah in comp.arch.embedded19 years ago 5 replies

I am tring to interface PS/2 mouse (optical) with a 8052 (AT89S52) microcontroller. From what I get from the internet without adding any extra...

I am tring to interface PS/2 mouse (optical) with a 8052 (AT89S52) microcontroller. From what I get from the internet without adding any extra hardware I cannot interface the mouse directly with the UART (serial port) of the microcontroller (mouse has data and clock lines; uC has RXD, TXD). 1. Are baud rates defined for asynchronous serial communication? What are the common baud rates used ...


how to initializatize/re-configure usart?

Started by bcincin in comp.arch.embedded17 years ago 2 replies

Hi. I want to change reset uart and change baud rate with an interface (combobox) on windows. At the beginning default baud rate is 2400....

Hi. I want to change reset uart and change baud rate with an interface (combobox) on windows. At the beginning default baud rate is 2400. ME2 |= UTXE1 + URXE1; // Enable USART1 TXD/RXD UCTL1 |= CHAR; // 8-bit character UTCTL1 |= SSEL0; // UCLK = ACLK UBR01 = 0x0D; // 32k/2400 - 13.65 UBR11 = 0x00; UMCTL1 = 0x6B; // Modulation UCTL1 &= ~SWRST; // Initialize USART state machine ...


Enabling the Interrupt in Fujitsu Controller

Started by Charan in comp.arch.embedded18 years ago 1 reply

hi all! here i am doing a project project using Fujitsu Controller(MB90F428).first i have wriiten the test coding for...

hi all! here i am doing a project project using Fujitsu Controller(MB90F428).first i have wriiten the test coding for UART communication. if i use polling my coding is working but interrupt is not working. here is my code #pragma intvect Int_Uart1Rx 37 // UART1 RX void Main() { IO_ICR13.byte = 0x00; IO_DDR0.bit.D03 = 0;//Input port IO_DDR0.bit.D04 = 1;//output port I...


Telephone modules - IP telephone, ISDN, PBX

Started by David Brown in comp.arch.embedded13 years ago 1 reply

We are looking for ready-made telephone modules that can connect to an ISDN or IP-telephone PBX. They should have some sort of control...

We are looking for ready-made telephone modules that can connect to an ISDN or IP-telephone PBX. They should have some sort of control interface (typically UART) for dialing, hang-up, ring, etc., and analogue audio in and out. /Long/ ago, I used an analogue modem module like this. I also had an ISDN modem module, but it didn't support audio in and out - it was only for data. And ...


Zilog Z8 Encore Serial Code Help

Started by alijsyed in comp.arch.embedded18 years ago 1 reply

Hi: I am looking for serial (UART 0) code examples\samples for the Z8 Encore devlopment board from Zilog. The source code sample provided...

Hi: I am looking for serial (UART 0) code examples\samples for the Z8 Encore devlopment board from Zilog. The source code sample provided in their development package really didn't have anything in it relating to Z8F642. Does anyone have a link\source to serial (UART0 ...the one provided on the development board) for getting and receiving data vial the serial port. Any and all help a...


Half-duplex RS485: simple auto-direction solution

Started by pozz in comp.arch.embedded1 year ago 8 replies

I think you already know this trick: connect DE/RE signals of RS485 half-duplex transceiver to TX *negated* signal from UART and connect TX...

I think you already know this trick: connect DE/RE signals of RS485 half-duplex transceiver to TX *negated* signal from UART and connect TX input of transceiver to GND. If the bus is not driven by anyone, A signal goes high and B signal goes low thanks to the pull-up/down resistors. The trick uses the fact that the undriven bus and transmitting 1 is the same thing: A is high and B is...


Program size - Microblaze

Started by Yannick in comp.arch.embedded17 years ago 6 replies

Hi, I want to know the average size of the programs for microblaze (Xilkernel, Uart managment, SRAM managment, Ethernet with Lwip). I think...

Hi, I want to know the average size of the programs for microblaze (Xilkernel, Uart managment, SRAM managment, Ethernet with Lwip). I think that the size of my program is enormous. Even if i choose optimization in compiler option, the program size is too big. My Progam size : 900 ko (My Code, Xilkernel without Lwip) Size of executable.elf Microblaze OPB | - SRAM Contr...


linux runs on STMP36XX , problems remains

Started by bravehao in comp.arch.embedded17 years ago

hi, guys we have ported linux on STMP36XX. Untill now we implement a serial console on Application UART, MTD driver for nand, TD018 LCD...

hi, guys we have ported linux on STMP36XX. Untill now we implement a serial console on Application UART, MTD driver for nand, TD018 LCD driver. Using initrd or jiffs2 on nandflash we could boot linux to prompt on serial console. we also implement a simple framebuffer driver to display on LCD. With miniGUI, a sample bomb program could show on the LCD. for absence of input device on LCD, We...


Code release: RedBoot config parser for Linux and a 24xx EEPROM MTD driver

Started by Andrzej Ekiert in comp.arch.embedded18 years ago

Hi all, I have released under GPL some code that some of you might find useful. 1) fconfig It is a Linux application to read and modify...

Hi all, I have released under GPL some code that some of you might find useful. 1) fconfig It is a Linux application to read and modify RedBoot configuration. I created it when I needed to synchronize Linux configuration (MAC and IP addresses, UART baudrate, etc.) with RedBoot config. 2) ee24 It is a Linux MTD driver (kernel 2.6.x) for 24XX series of I2C eeproms. It supports EEPRO...


USART, setting of TRIS register needed (PIC 16F-types) ?

Started by Stef Mientki in comp.arch.embedded18 years ago 2 replies

I'm a little bit confused about the TX and RX pins in UART mode. I checked several PIC types: If you read the text carefully, you will read...

I'm a little bit confused about the TX and RX pins in UART mode. I checked several PIC types: If you read the text carefully, you will read several times: "bit SPEN () and the TRIS register have to be set in order to configure the TX and RX pins as the USART" Now look at the schematics of the ports, and see that it doesn't matter to set the TRIS register, because the "peripheral OE" wi...


What password is for this embedded Linux board?

Started by Robert Willy in comp.arch.embedded9 years ago 4 replies

Hi, The Sitara Starter Kit, which is similar to a BeagleBone Black board, has no password when I login in at UART serial terminal, i.e. after...

Hi, The Sitara Starter Kit, which is similar to a BeagleBone Black board, has no password when I login in at UART serial terminal, i.e. after I enter: root, m335x-evm login: root it will login without asking for password. Now, I want to run a rsync command: u64@u7696:~$ rsync -rl --delete-after --safe-links pi@192.168.0.112:/{lib,usr} $HOME/rypi/rootfs pi@192.168.0.112's password...


High baud rate chips for RS232 protocol

Started by Mak in comp.arch.embedded19 years ago 6 replies

Hello all, I am interested in designing a custom board with serial interface and I am searching for RS232 port driver ICs which can support...

Hello all, I am interested in designing a custom board with serial interface and I am searching for RS232 port driver ICs which can support baud rates higher than 230kbps. There are many PCI or USB to serial interface options available which support bauds of upto 920kbps. I have designed a UART interface in FPGA but need higher baud rate driver ics to actaully get the performance I requ...


Atmel AVR STK500 XT1 & XT2 pins?

Started by RajW in comp.arch.embedded20 years ago 2 replies

Simple noobie question about the Atmel AVR STK500... Can the XT1 and XT2 pins on PORTE\AUX used to supply a clock signal to an external...

Simple noobie question about the Atmel AVR STK500... Can the XT1 and XT2 pins on PORTE\AUX used to supply a clock signal to an external device (explanation below)? As I am learning to program and interface the AVR's I have a 16550 UART on a separate experiment board and I see that the 16550 needs a crystal or clock source on pins 16 and 17 (XIN and XOUT)... can the XT1 and XT2 pins be ...


Processor Clock speed change abd RS232

Started by Anonymous in comp.arch.embedded18 years ago 7 replies

I am looking for a microcontroller with UART that will run at 1Mhz normally and 8Mhz when more power is available. My problem is the receive on...

I am looking for a microcontroller with UART that will run at 1Mhz normally and 8Mhz when more power is available. My problem is the receive on the RS232 when changing the processor clock speed. I think this will cause an upset in any receive characters coming in at the change over. Has any body got any ideas for a low power processor (0.5mA at 1MHz) that can change processor clock speed with...


PIC to USB to 802.11g to USB to PC ?

Started by bit eimer in comp.arch.embedded19 years ago 15 replies

Hi all, I'm usually just a lurker. But now I'm getting interested in doing a link from an 'F877 to a PC: PIC s/w -> UART -> USB...

Hi all, I'm usually just a lurker. But now I'm getting interested in doing a link from an 'F877 to a PC: PIC s/w -> UART -> USB (adapter) -> 802.11g (adapter) --//--> 802.11g (adapter) -> USB -> Win XP -> app s/w Have chosen neither the USB adapter nor the 802.11g adapter yet. And I'm fairly concerned about the potential complexity of USB and 802.11g protocols that I will hav