EmbeddedRelated.com

debug u-boot using BDI2000

Started by SuperMario in comp.arch.embedded17 years ago 5 replies

Hello all I am making a RS232 - datalogger for my MasterThesis in the university. My environment is BDI2000 debugger GNU...

Hello all I am making a RS232 - datalogger for my MasterThesis in the university. My environment is BDI2000 debugger GNU toolchain AT91RM9200 The work is simply to take input signals from the USART port and send it to the SD card. Can anyone please answer the following quesitons ? 1. I have u-boot running on my board. Is there a way to achieve my goal by just using the u-boot. I am...


uC favorites?

Started by Bob Stephens in comp.arch.embedded20 years ago 21 replies

I am currently using a Silicon Labs (Cygnal) 8051 derivative -C8051F060 - in an prototype embedded design. I am looking for a replacement device...

I am currently using a Silicon Labs (Cygnal) 8051 derivative -C8051F060 - in an prototype embedded design. I am looking for a replacement device for future revisions which would have most or all of the following: 8 or 16 bit architecture 4 or more 8 bit +/- 25 mA ports 2 16 bit 1 Msps A/D 2 or more 10 bit 200 Ksps A/D 2 12 bit DAC 2 USART I2C SPI 4 or more counter/timers Low power m...


PIC usart problem

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

Hi everyone, I am having a big trouble with my PIC's serial communication. I have codes like these: GPS: CALL set4800 A0: CALL ...

Hi everyone, I am having a big trouble with my PIC's serial communication. I have codes like these: GPS: CALL set4800 A0: CALL RCread CALL TXsend XORLW 'G' BNZ A0 MOVLW 0XFF MOVWF PORTA RETURN I have incoming messages and I want to take the one which starts with 'G', so I write these simple codes. Althoug I have sentences which s...


about HDLC/SDLC IC's

Started by tguclu in comp.arch.embedded17 years ago 5 replies

Hi Does anyone used a peripheral IC for HDLC/SDLC implementation ? Can you advice me ? I'm undecided between Infineon 20542(2 Channel Serial...

Hi Does anyone used a peripheral IC for HDLC/SDLC implementation ? Can you advice me ? I'm undecided between Infineon 20542(2 Channel Serial Optimized Communication Controller with DMA-SEROCCO-D) and Zilog's Z85C30 What I need is ; -3x USART outputs (i will have to use 2xIC's for that) -SDLC protocol support (prefer if bit stuffing,crc check,data flow control done in hw) In the dat...


[PIC] 16F688 USART ISSUES

Started by Grene in comp.arch.embedded15 years ago 8 replies

I=92m trying to get some PIC to PC communication going using the 16F688, but I am not having much luck. Hardware setup is just a PIC16F688...

I=92m trying to get some PIC to PC communication going using the 16F688, but I am not having much luck. Hardware setup is just a PIC16F688 with power, and RC4/RC5 connected to an RS232 ShifterBoard Kit from Sparkfun. (http://www.sparkfun.com/ commerce/product_info.php?products_id=3D133) I grabbed the code below off the internet somewhere. Nothing hooked up to the ADC but that=92...


AVR Insight / JTAG query

Started by Roger in comp.arch.embedded19 years ago 1 reply

So far I've been debugging using simple text output on USART s or LCD etc. I'd like to get into using the Insight debugger and go the whole hog...

So far I've been debugging using simple text output on USART s or LCD etc. I'd like to get into using the Insight debugger and go the whole hog and use the JTAG interface. The Atmel JTAGICE is too expensive so I need one of the cheaper alternatives. I'd be interested to hear anyone's thoughts on a reliable, cost effective JTAG interface which is compatible with Insight. Also, put simply...


ESD problems with PIC 16F88

Started by Anonymous in comp.arch.embedded16 years ago 14 replies

I have built a number of battery operated circuits using PIC16F88s. They are housed in a plastic case with a socket to plug in a...

I have built a number of battery operated circuits using PIC16F88s. They are housed in a plastic case with a socket to plug in a serial connection for controlling LED outputs by RS232 comms. Sometimes when you touch the socket with your finger, the PIC responds in a manner suggesting that it has received some random data on the Rx pin of the USART. The problem occurs much more frequently ...


pic16f627 with different baudrates

Started by rose fay in comp.arch.embedded17 years ago 2 replies

Hi! I am a newbee of using PIC USART and internal clock. I am developing a program that will send a data to an instrument to enable it to...

Hi! I am a newbee of using PIC USART and internal clock. I am developing a program that will send a data to an instrument to enable it to send an output to the PC via RS232. The problem is, my hardware has 8 channels with different instruments which run with different baudrates. The data sent is similar on all channels. How could i send the correct data to the corresponding channel which i...


PIC/AVR serial modes

Started by Anonymous in comp.arch.embedded15 years ago 18 replies

Are there other serial modes on PIC/AVR than standard RS-232 and SPI ..? Especially is there any USART mode where one can send a string of bits...

Are there other serial modes on PIC/AVR than standard RS-232 and SPI ..? Especially is there any USART mode where one can send a string of bits longer than 10 bits without start/stop bits inbetween. Just like an ethernet frame or such?


Req: Microcontroller Recommendation

Started by Veekster in comp.arch.embedded14 years ago 14 replies

Hello my most esteemed colleagues, I'm designing a sensor interface circuit that has gain and filtering options that need to be set by...

Hello my most esteemed colleagues, I'm designing a sensor interface circuit that has gain and filtering options that need to be set by latching a parallel set of bits. I want to control this remotely with a serial interface of some type (to reduce conductor count). I'm thinking I need a simple microcontroller with a serial interface (usart?) to do this easily. Additionally, a microcont...


New to PIC

Started by 2Penny in comp.arch.embedded19 years ago 14 replies

Hey Folks: I got a PIC DEMO 2+ board & ICD2 recently. I've used 68k and x86 asm before and now need to find out about PIC asm. I've got a...

Hey Folks: I got a PIC DEMO 2+ board & ICD2 recently. I've used 68k and x86 asm before and now need to find out about PIC asm. I've got a program that gets the USART going in a PIC 18C452, but I have an 18F452. How much damage would it do if I just changed all the references in the asm code from 18C452 to 18F452? I imagine the registers and other layouts are identical, but haven't gott...


MCU reset and internal SRAM starting values

Started by pozz in comp.arch.embedded2 years ago 2 replies

I often use with success a simple way to implement a bootloader: #define START_MAGIC 0xAA55AA55 uint32_t start_application...

I often use with success a simple way to implement a bootloader: #define START_MAGIC 0xAA55AA55 uint32_t start_application __attribute__((section=".noinit")); void main(void) { ... if (start_application == START_MAGIC) { start_application = ~START_MAGIC; launch_application(); } /* Stay in bootloader and wait for new application from * USART, SPI, USB, wha...


STM32: DMA and .. timers ???

Started by kristoff in comp.arch.embedded8 years ago 3 replies

Hi all, I am learning about the stm32f1xx devices, trying out some example-codes on using DMA with the ADC and DAC. However, when...

Hi all, I am learning about the stm32f1xx devices, trying out some example-codes on using DMA with the ADC and DAC. However, when reading the information in the reference-manual about DMA, it mentions DMA in combination with Timers! Now, I am a bit confused. As far as I understand it, the DMA is there to transfer data between devices (ADC, DAC, USART, SPI, I2c) to memory wi...


Position independent code with position dependent data ?

Started by nono240 in comp.arch.embedded14 years ago 23 replies

Hi there ! My CPU has no MMU, very little RAM (8KB), and is running a modified FreeRTOS. I'd like to have the ability to "load" and run some...

Hi there ! My CPU has no MMU, very little RAM (8KB), and is running a modified FreeRTOS. I'd like to have the ability to "load" and run some code from USART/DATAFLASH to FLASH as a RTOS task. Of course, for convenience, the compiled code must be fully position independent. Using the -fPIC or -fpic option, looking at the assembler, the code seems OK : a dynamically computed offset is applie...


Rewriting putchar() on MSP430F149

Started by Anonymous in comp.arch.embedded19 years ago 3 replies

I think, that only reasonable way to make terminal connection between MSP430F149 PC, is to rewrite low-level fuction putchar() to use USART...

I think, that only reasonable way to make terminal connection between MSP430F149 PC, is to rewrite low-level fuction putchar() to use USART and let upper-level functions like printf() to make all the conversions needed. I'm using IAR and/or mspgcc. How do I replace putchar.o in library files needed, and what are those lib-files in both systems?


Example code for RFM70 and ATmega88

Started by wzab in comp.arch.embedded13 years ago 5 replies

In different groups I have seen messages from people trying to get RFM70 to work with the AVR. I've faced the similar problem, when I needed...

In different groups I have seen messages from people trying to get RFM70 to work with the AVR. I've faced the similar problem, when I needed to connect RFM70 to the USART working in the SPI mode. The problem which disturbed operation of RFM70 was associated with incorrect SPI frames generated by ATmega88, when I set SS (CSN in RFM70) line high right after the RXC0 flag was set. To obtai...


xmega slave spi problem

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

Hi all, i'am hunting this problem since a couple of days ... All I need is are 2 synchronous serial data-streams for my selfmade modulator....

Hi all, i'am hunting this problem since a couple of days ... All I need is are 2 synchronous serial data-streams for my selfmade modulator. the clock phase must be in synch. My idea was to use a master spi to generate the master stream and a spi slave module as second generator that is clocked by the clock out put from the first master. For the first I use USART in master spi mode. fo...


Combining Ports?

Started by EdV in comp.arch.embedded19 years ago 3 replies

I am using the P18F8720's many io pins to write usart data to a 32K NVRAM. I don't have room for an address data latch so I am...

I am using the P18F8720's many io pins to write usart data to a 32K NVRAM. I don't have room for an address data latch so I am assigning: Address(0..7) to PortD Address(8..15)to PortJ Data(0..8) to PortE WE/ to PortB.0 OE/ to PortB.1 At least that is what I thought I wanted to do before I started to write the code. Is there some way to combine PortD and PortJ to make a 16 bit register...


Low power USB Microcontroller

Started by Anonymous in comp.arch.embedded17 years ago 9 replies

I wonder if anyone can help, I am looking for a USB Microcontroller with the following specifications USB+USART+SPI , possibly not need...

I wonder if anyone can help, I am looking for a USB Microcontroller with the following specifications USB+USART+SPI , possibly not need SPI USB slow or fast, RS232-300-19200 baud min, prefer upto 115200. When the USB is in suspend or not connected Microcontroller needs to run at low speed such that current consumption is around 1mA but the RS232 to keep running and the data logged and no p...


USART, single master (8051), multiple slave (PIC16F876) - suggestions

Started by Bill Davy in comp.arch.embedded18 years ago 1 reply

We built a machine with a CAN bus connecting modules to a CAN board in a PC. We had a useful little Laser Beam Power Meter [LBPM] board based...

We built a machine with a CAN bus connecting modules to a CAN board in a PC. We had a useful little Laser Beam Power Meter [LBPM] board based on a PIC16F876 attached to CAN. It had a debug serial port. S/w was developed on MPLAB/CCSC C. The next machine used a Cypress FX2LP (based on an 8051). It has a debug serial port. S/w was developed on Keil C. Whaddya know, we need to conn...