C for AVR E-blocks problem
Posted: Wed Sep 23, 2009 2:30 pm
I have been having problems with my C for AVR microcontrollers’ kit. I found that the switch board and LCD that came with the kit were not working correctly. When I compile and send to the microcontroller the code (hex file), the only board that seems to work is the LED board. Even though that the boards are connected in the correct ports and are not loose they don’t seem to work as they are supposed to. The LCD at least starts but it just displays blocks instead of characters. With the switch board, I pressed the buttons and nothing happens. I have verified almost everything I could do to troubleshoot. I browse through the forums, the faqs and the datasheets and tried all the recommendations but they didn’t work. That’s when I found that the board I have has a 20MhHZ crystal oscillator instead of the 11.056 MHz that it is specified in the data sheet and the programming course. Reading a part of the programming course I found that this causes problems (β€Glitch cityβ€ section). I’m not entirely sure that this could be the problem but it is the only thing I haven’t tried. What can be done to fix this problem?
Thanks
Thanks