EmbeddedRelated.com
The 2024 Embedded Online Conference

USART Transmit Issue

Started by elamaranv in comp.arch.embedded16 years ago 5 replies

Hi All, I am facing an issue with the USART Transmit. My code is as shown below...... #include #include void main( void ) {...

Hi All, I am facing an issue with the USART Transmit. My code is as shown below...... #include #include void main( void ) { char group[10]="Microchip "; int i; OpenUSART( USART_TX_INT_OFF & USART_RX_INT_OFF & USART_ASYNCH_MODE & USART_EIGHT_BIT & USART_CONT_RX & USART_BRGH_HIGH, 129 ); while( 1 ) { for(i=0; i


Minimum PIC18F4431/ICD2 arrangement

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

Gentlemen: I've put together 68k embedded systems using my employer's ICE equipment, but what is the minimum amount of electronics necessary...

Gentlemen: I've put together 68k embedded systems using my employer's ICE equipment, but what is the minimum amount of electronics necessary to setup the p18f4431 utilizing Microchip's ICD2 equipment? Once operating I'll explore PWM, LCDs, A/D interfacing and all that on my own, but I'm needing a push or hint at this moment. Current setup isn't quite enough. Thanks in advance. 2Pe...


The perfect part except ...

Started by Silver Beetle in comp.arch.embedded18 years ago 9 replies

Greetings. I have a small embedded application to develop that needs 1) a UART, 2) SPI (or other interface for flash-based card memory, SD...

Greetings. I have a small embedded application to develop that needs 1) a UART, 2) SPI (or other interface for flash-based card memory, SD preferred), 3) A/D, 4) D/A (PWM OK), and 5) a USB 2.0 port. The Microchip PICs 18F2550 or 4550 would appear to be a great fit (performance, memory and cost too) except ... They put the UART receive data input (RX) and the SPI data output (SDO) on t...


Dspic 30 Adress Trap problem

Started by Glennis in comp.arch.embedded18 years ago 2 replies

i! I have been searching the web for the error generating my adress error trap every 24 hours typ. And i found the solution in the...

i! I have been searching the web for the error generating my adress error trap every 24 hours typ. And i found the solution in the errata http://ww1.microchip.com/downloads/en/DeviceDoc/80198d.pdf module 9, //******************************************* 9. Module: Interrupting a REPEAT Loop When interrupt nesting is enabled (or NSTDIS(INTCON1 ) bit is '0'), the following sequence of


USB bus powered PIC32 issues ?

Started by Simon Clubley in comp.arch.embedded9 years ago 2 replies

While we are talking about Microchip, has anyone tried using the PIC32 as a USB bus powered device in your own circuits and did you have any...

While we are talking about Microchip, has anyone tried using the PIC32 as a USB bus powered device in your own circuits and did you have any issues as result ? It's on my todo list in the upcoming future, so I am trying to find any possible issues upfront. I've done some searching online but I keep hitting stuff for the PIC18 or even the PIC24 instead. I have not found anything explicit ...


C18 Compiler again

Started by Meindert Sprang in comp.arch.embedded14 years ago 58 replies

Unbelievable..... I'm playing around with the Microchip C18 compiler after a hair-splitting experience with CCS. Apparently the optimizer of...

Unbelievable..... I'm playing around with the Microchip C18 compiler after a hair-splitting experience with CCS. Apparently the optimizer of C18 is not that good. For instance: LATF = addr > > 16; where addr is an uint32, is compiled into a loop where 4 registers really get shifted 16 times in a loop. Any decent compiler should recognise that a shift by 16, stored to an 8 bit port could ea


EEPROM page writes???

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

Hi all, This is again a follow up on EEPROM discussion I had previously a few days back.Regarding I2C based EEPROM I recently came across...

Hi all, This is again a follow up on EEPROM discussion I had previously a few days back.Regarding I2C based EEPROM I recently came across an application note from Microchip company (Document name AN709). The note says : "FORCING INTERNAL RESET VIA SOFTWARE In all designs it is recommended that a software reset sequence be sent to the EEPROM as part of the microcontrollers power up seque...


Microchip Introduces CodeGuard Security Feature to Procect user Code

Started by Bill Giovino in comp.arch.embedded18 years ago 3 replies

Segments code into three protected segments. It looks like they did this specifically to meet Automotive requirements, but I see it getting a...

Segments code into three protected segments. It looks like they did this specifically to meet Automotive requirements, but I see it getting a good reception over a broad range of applications. Of course, I added a pretty picture because, well, that's the kind of guy I am... http://www.microcontroller.com/news/microchip_codeguard.asp Regards, Bill Giovino Executive Editor http://Mic...


Really confused by my debugger.

Started by Brendan Gillatt in comp.arch.embedded17 years ago 4 replies

I recently purchased a clone Microchip PIC debugger from some Chinese importer http://www.virtualvillage.co.uk/Items/006401-001? (bad...

I recently purchased a clone Microchip PIC debugger from some Chinese importer http://www.virtualvillage.co.uk/Items/006401-001? (bad idea probably, I know). I set it all up, it programs perfectly and does a POST fine. The problem is with debugging. I hit the 'program' button on MPLAB, the PIC is programmed fine but I get an 'ICD0083' error (cannot enter the debug mode on the chip). I'v...


PIC 18F452 Webserver ??????

Started by Anonymous in comp.arch.embedded17 years ago

friends i started my project as PIC webserver using 18F452 and downloaded TCPIP stack from MIcrochip. But i dont know how to...

friends i started my project as PIC webserver using 18F452 and downloaded TCPIP stack from MIcrochip. But i dont know how to write application codes instead of WEBSRVR.C in stack. I am using a simple HTTP server In which controller side only Two input channel (for temp fluid level sensors),and two output channels used to contol relays according to client request ... ...


CompactFlash and Microchip Dspic ready problem

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

Hi! I hope somebody can help me with this problem or at least give me som suggestion how to solve it. I have a DSPIC CPU conected to at CF to...

Hi! I hope somebody can help me with this problem or at least give me som suggestion how to solve it. I have a DSPIC CPU conected to at CF to store Data of course. To save power the CF power is turned off where ever it is possible. Power on sequense is as follows. CF_WE=1 CF_OE=1 TRISD=TRISD_CF_ON TRISG=TRISG_CF_ON CF_ON=0 nop() nop() CF_CS1=1 Next i wait for CF_READY signal to ...


HI-TECH c compiler

Started by bahrouz in comp.arch.embedded14 years ago 3 replies

i'm using the microchip mplab ide with hi-tech c compiler integrated into it ,mplab version 8.46 what ever the c code i try to build it keeps...

i'm using the microchip mplab ide with hi-tech c compiler integrated into it ,mplab version 8.46 what ever the c code i try to build it keeps giving me Error [939] ; . no file arguments i dont know what to do to make it build my code ,i wish if there is one can enlighten me about it ,i know its a newibe question and i hope if any one can make it clear to me . thanks in advance :)


Looking for a development Board to program SPIC33FJ32GP302

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

Hello, Which development board do you recommend for me to use to program...

Hello, Which development board do you recommend for me to use to program this chip? SPIC33FJ32GP302 http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en532304 Thanks! --------------------------------------- Posted through http://www.EmbeddedRelated.com


PICmicros instruction counter synchronization

Started by Robert Scott in comp.arch.embedded20 years ago 5 replies

Does anyone know if any of the Microchip PICmicros reset their divide-by-four instruction counter during a hardware reset? I need to drive an...

Does anyone know if any of the Microchip PICmicros reset their divide-by-four instruction counter during a hardware reset? I need to drive an array of PICs from a single clock, and more than that, I need all the PICs to be exactly synchronized with respect to their instruction cycles. I am hoping that releasing them from reset at the same time will accomplish this goal. I am looking primar...


PICKIT 2 development help on MPLAB or Piklab or any other IDE on a PIC18F2620

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

I have been trying to use the PICKIT 2 programmer option within MPLAB IDE, but it seems like the option to do so is disable as shown...

I have been trying to use the PICKIT 2 programmer option within MPLAB IDE, but it seems like the option to do so is disable as shown in http://imagebin.ca/view/86lX0hhQ.html. I have also tried to update the firmware of my PICKIT 2 separately on the software provided on the Microchip website, but it keeps on freezing regularly every time I have attempted to check my PIC18F2620 to see if it is ...


AVR Beginner Questions - Ports and Speed

Started by Al Borowski in comp.arch.embedded20 years ago 47 replies

Hi, I'm just getting started in AVRs. The only other microcontroller I use frequently are the Microchip PIC devices, and I have some (very...

Hi, I'm just getting started in AVRs. The only other microcontroller I use frequently are the Microchip PIC devices, and I have some (very basic) questions. 1) If something in data memory space isn't a register or RAM, is it a port? 2) Ports are mapped in the data memory space, and not a seperate I/O space - so why have does the concept of ports exist at all? Is this for ...


ARM Cortex Mx vs the rest of the gang

Started by Klaus Kragelund in comp.arch.embedded7 years ago 56 replies

Hi So, considering going the Cortex Mx route for project with new microcontrollers at our firm. Has anyone a feeling/information about the...

Hi So, considering going the Cortex Mx route for project with new microcontrollers at our firm. Has anyone a feeling/information about the development speed of the ARM Cortex Mx series vs the rest of the industry? Meaning, that potentially the same core strategy for the ARM, licensing to toher manufactors mean that they may have faster development speed that others (Microchip, Renesas, wh...


Help with PIC32 Virtual Ram pointer

Started by linnix in comp.arch.embedded12 years ago 4 replies

The sample thermo.zip at http://173.224.223.62/pic32 print out the pointer of a global variable. Linker place it in page A0. Microchip...

The sample thermo.zip at http://173.224.223.62/pic32 print out the pointer of a global variable. Linker place it in page A0. Microchip ran it on their simulator and they got the correct result. I ran it on the real chip and got pointer at page 7F Why, oh, why? Anyone care to give an explanation? I can lend out a test board if necessary, but right now we are short on hardware....


CubeMX or not?

Started by pozz in comp.arch.embedded4 years ago 13 replies

I worked with NXP Cortex-M3 LPC1768 and similar and Microchip/Atmel SAM D20/C21. I didn't like Atmel Software Framework so I extracted a buch...

I worked with NXP Cortex-M3 LPC1768 and similar and Microchip/Atmel SAM D20/C21. I didn't like Atmel Software Framework so I extracted a buch of low-level files from ASF (mainly headers to manipulate registers) and rewrite the high-level drivers for peripherals I used (UART, ADC, Timers, ...) It wasn't a simple task, I spent many days to understand what ASF really do, decide what to ...


USB 1.1 microcontroller in DIP package ?

Started by Simon Clubley in comp.arch.embedded19 years ago 3 replies

I'm looking for a microcontroller with low speed USB 1.1 support in a DIP package, and with onboard Flash (ie: not a OTP chip). I know about...

I'm looking for a microcontroller with low speed USB 1.1 support in a DIP package, and with onboard Flash (ie: not a OTP chip). I know about the HC08 JB8. I also see that Microchip do a PIC one as well. Are there any others ? (I'm in the UK in case that makes any difference in availability) Thanks for any information. Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-E...



The 2024 Embedded Online Conference