I´am working in a project with the atmel atmega8a MCU. I´ve designed a code that works with an external 16MHz crystal. For that reason i burn the atmega8a´s fuses with the AVRISPmkII programer (HIGH FUSE:C9 LOW FUSE:FF) for a external 16MHz crystal. I test the functionality of the system with a atmega8a PU and this works perfectly. Now i´m trying to do the same in a PCB with the atmega8a AU but the burn fuses process don´t work in the same way. After this process the atmega8a AU MCU doesn´t work again and the programer can´t recognize it.
It´s something different in the burn fuses process between the atmega8a PU and the atmega8a AU?
anybody knows why happens this???
I hope you can help me with this trouble.
I´ll been waiting your answer.
Thanks a lot.
Take a fresh ATMEGA8 controller(1 MHZ internal default clock frquency).
Now write a program just to make a PIN high and low without any delay.
Such as pin 14 gives high low pulses. Then connect pin 14 to that ATMEGA8 controller which you are unable to reprogram .
Then see the magic.
Related
I am trying to add a simple led application to a PIC18F25Q10 in another circuit using the Curiosity HPC development board. I am using the MCLR, PGD, PGC and GND pins. Although I set the LVP mode to enable in the CONFIG settings and the program speed to low in the project properties, MPLAB " MPLAB has detected that the undervoltage configuration bit on the device is off and you have selected" error output . I also cannot connect to the PIC.
My MPLAB version is 6.5
I am using the X8 compiler (2.40).
I am throwing code with PKoB4.
I checked my circuit connections and confirmed that the MCLR, PGC and PGD pins were correct, but I kept getting errors.
I have done the steps to be applied here, but I have not reached a result. I cannot connect to the PIC.
Connecting to MPLAB PKoB4
Currently loaded versions:
Application version...........00.05.79
Boot version..................01.01.41
Script version................00.05.35
Script build number...........86fedc5c2e
Tool pack version ............1.8.869
Target voltage detected
MPLAB has detected that the low voltage configuration bit on the device is off and you have selected the low voltage programming option on the debug tool's property page. If you wish to use the low voltage programming option you must first do the following:
* Turn off the low voltage programming option on the debug tool's Program Options property page
* Program the low voltage configuration bit to on
* Turn on the low voltage programming option on the debug tool's Program Options property page
Connection Failed.
I checked the forum pages and updated MPLAB and the PKoB4 drivers to test the information that it might be version related, but I could not connect to the PIC.
I used another circuit because I thought there would be a problem with the PIC. I got the same error. I tried to load the code from another computer and I continued to get the same error.
I tried to code with ICD, it codes. However, I could not solve this error on the Curiosity HPC development board. I came across some information in the Curiostiy development board user's guide.
information Image..
I need to be able to connect to the PIC and throw code. I am curious about your thoughts and advice about my problem.
According to the advise of MPLAB your PIC chip has programmed to have LVP disabled. The curiosity boards has a built-in PICKIT which can program only in Low Voltage Programming mode. So you have to do the following steps:
Get a standalone PIC (i.e. PICKIT3) programmer
In config settings of your PIC set the LVP to be on
In MPLAB IDE, File > Project Properties > PICkit 3 > Program Options make sure that Use low voltage programming mode entry option is unchecked
Burn your PIC device with this configuration once using the standalone PICKIT programmer
These steps will prepare your PIC so that it can be programmed in curiosity board. Once you done with all steps correctly, you will be able to burn your programs using your curiosity.
When you program with the built-in programmers, you always wanna make sure that your PIC is programmed before with configuration LVP = ON. And also keep this config bit always ON as long as you keep programming it in a curiosity board.
One more thing to tell, MPLABX is automatically checks the Use low voltage programming mode entry option when you select the Connected Hardware Tool as your curiosity board.
Go ahead and try the steps and then let me know if I could help any further.
I'm currently working on the Altera DE0 board with the QuartusII Web Edition software. I need to use a nios processor on Qsys to display a shifted signal from a GPIO pin on my board. The input signal would be a clock signal from an external source. The problem is that I have no idea how I can write a program in C (on the Eclipse IDE) for diplaying a delayed clock on an oscilloscope.
My Qsys design looks like that Image1 => Qsys Design and here the Eclipse IDE where I have to write my C program Image2 => Eclipse IDE
Please help me !
thank you very much in advance for the replies
start with the system.h file to know which base_address is assigned to each peripherial, then you can use pointers to directly access the GPIO or use the IORD/IOWR functions.
Can anyone help me with the reading the data register values from BNO055 sensor with nrf52840 microcontroller using i2c communication protocol.
i have initiated the MCU master twi and also initiated the Sensor and it is acknowledging but i am not able to read the outputs of the registers , even after write/read to the registers of the sensors, i am not able to read the output.
if anyone have idea on interfacing BME680 with the nrf52 series. kindly help me.
Thanks in advance.
Good day !!
I am new to ARM programming and started out with NXP's LPC2148 chip. I am using it's on chip ISP UART bootloader. The loading was working perfectly at 9600 baud with 8 bits and even parity.
Then I flashed a code made by a new project on LPCXpresso through the Flash Magic firmware at 14400 baud. After that the bootloader sequence does not work anymore. I have tried every possible baud rate with odd and even parity but it doesn't work anymore. The common problem saying "Autobaud failed" is coming up and weirdly the chip is warming up a bit when the power is on.
The worst question that is hitting my head is whether I wrecked the ISP bootloader.
PS. I have been using a 16MHz crystal. Although the code that I inserted in it was actually made for a 12MHz crystal with PLL adjusted at 5 multiple (60MHz). But the bootloader initializing sequence should bypass the normal code on chip isn't it?
Please help me
I have an A20 Olimex Board running on Debian and I would like to use the ADC. As I figured out I have to write or read the respective registers of the ADC. Could somebody tell me shortly how to do that?
I am really new in Linux.