I'm new to microcontroller programming and I have interfaced my microcontroller board to another device that provides a status based on the command send to it but, this status is provided on the same I/O pin that is used to provide data. So basically, I have an 8-bit data line that is used as an output from the microcontroller, but for ...
I want to set data breakpoint for TCNT1 register of ATMega16 in AVR Studio 4.17 Build 666.
I add breakpoint by specifing in the Location field of "Add data breakpoint" window the value IO@0x2C.
But breakpoint seems not work.
Can some one help me how to setup a data breakpoint for an IO reginster?
...
I'm working with OKI 431 micro controller. It can communicate with PC with appropriate software installed. An EEPROM is connected in the I2C bus of the micro which works as permanent memory. The PC software can read from and write to this EEPROM.
Consider two numbers, B and C, each is two byte integer. B is known to both the PC software...
I'm trying to evaluate the Nyquist performance limits of the A/Ds integrated in various PIC microcontrollers. The computations require parameters that I was expecting to find explicitly available directly from the datasheets, specifically the Tacq, Fosc, TAD, and divisor parameters.
I've made some assumptions and proceeded with the Nyq...
Hi People
I saw a lot of infos about MMC/SD cards and I tried to make a lib to read this.. (modifying the Procyon Avrlib)
But I have some problems here. I Don´t change the original code and tried here. My problem is about the init of SD card. I have 2 here, a 256mb and another 1GB.
I send the init commands like this order:
CMD0, CMD55...
Hello everyone,
I am involved in a project which requires designing a mini rover (mars rover types). I am using ATMega32 micro controller. I have other hardware like DC motors, IR sensors etc. My query is that is there any IDE that I can use to code the micro controller? It must be user friendly since I am new to the concept of micro co...
I am currently undertaking software engineering program in one of the local universities at my country.
And i am interesting in software and hardware.
So i decided to learn it by myself.
One of my seniors told me to start with PIC 16 or 18 first.
Anyone of here has any links for the related website?
And where can i get a device to progra...
I'm a fairly good programmer, knowledgeable in C, C++, Python, Ruby and PHP. I'd like to get started with microcontroller programming.
I do know nothing about this topic.
Microcontrollers are minimal computers on little circuit boards, right?
I'm pretty new to electronics too, do I need to be an expert in it to do stuff with microcon...
Hi,
I want to convert ASM file to C program. is there any tools available for this.
My intention is to convert assembly program of PIC 16F877A program to C program...
...
I'm a first year Computer Science student looking to get started with development for micro-controllers. I'd like to use the 8051, as it's common as dirt, and is used frequently in the real world.
During my junior or senior year, I'll be taking a PIC micro-controller based embedded design class, so I'd rather not do PIC now; otherwise,...
I am currently looking for a pic chip programmer. I have used Micro Chips 16 bit PIC's in the past and liked them. Anyone have any recomendations for a pic programmer for someone on a budget?
...
Hi, I am into new project, which should use microcontroller. The easiest way to program it is using parallel port. But, there are few things I hope you can help me with. Oh, and the preferred language is C and platform Windows.
So, I studied LPT ports and Windows a bit, and from what I learned the most important is: Since Windows NT bas...
Hello again,
I was doing some reading and have even gotten a "master" SPI working on my microcontroller. Here is my question, basically if the master wants to initialize a write to the slave we write to the SSPBUF, how do we control what the slave responds with? The datasheet doesn't seem really clear to me the order of events in that ca...
I always seem to encounter this dilemma when writing low level code for MCU's.
I never know where to declare pin definitions so as to make the code as reusable as possible.
In this case Im writing a driver to interface an 8051 to a MCP4922 12bit serial DAC.
Im unsure how/where I should declare the pin definitions for The CS(chip sel...
I've faced to a problem with a PIC Micro controller.
I have a micro-controller programmed by me long time ago and I lost the relevant source code and the schematic diagrams. Now I need to invert the value of a port. I can do this using some NOT gates but it is a big hassle to do so. or alternatively I will need to write the whole progra...
I'm using a rabbit microcontroller. It uses the Dyanimc C language.
How can I read from a file in my pc and manipulate it or print it to the screen ?
Methods of C or C++ are not working here.
...
I would like to write a text scroller on a micro-processor with 4 5x7 displays in ANSI-C.
Does anyone know of example source code or anything that can help me get started?
Update
This is the user manual for the micro-processor board I have. On PDF page 17 is a picture of the board with the displays.
The code is written in an IDE call...
I'm using a DSP to control a sensorless brushless DC motor, The DSP is on a board which has a parallel port and a jtag connection (it's an eZdspTMS320F2812). What would be the best way to communicate between a PC application and the DSP as it was running? Ideally I'd like to have a GUI program with buttons like start, stop, accelerate, d...
I`m looking for alternatives programming languages (from assembly, C, C++ and basic) to embedded (microcontroller) programming.
Is it possible for example, to programm microcontrollers in C# or Java? Maybe Ruby or Python?
If possible, please post development tools and hardware used.
Thanks
...
I need to make one device communicate with 2 servers. Is it possible with Microchip TCP/IP stack?
...