Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
I have successfully compiled usbasploader https://www.obdev.at/products/vusb/usbasploader.html for atmega 16 and atmega 32 and devices are detected correctly on progISP however when I transfer hex it is not running, when I transfer same hex using avrdude GUI, it is working, had anyone...
While programming or verifying check VPP voltage if it is less than specified VPP voltage (I am a bit lazy to check Datasheet, but it helps a lot ) then may be its your serial port which is causing the problem, is it real serial port or usb -- serial converter?
I think rs is for LCD, right?
If so, you can define rs to be connected at PORTB 0, but need not to use setbit in define, actually I am also trying to learn and a couple of days away from LCD, give me some time I will dig up google.
OK found that, I am sorry but I have not used atmel studio...
Assuming that you are using gcc
As I learned somewhere on avrfreak, I use macros add this just below #include
#define SETBIT(x,y) SETBITS((x), (BIT((y))))
Then use it as
SETBIT(PORTB, 2);
SETBIT(PORTD, 3);
and here are some more macro you will love to see
#define BIT(x) (1 << (x))
#define...
Pic can also be run on internal clock then these two pins may be used as IO, you need to program HS fuse for using crystal, as I am also beginner hence some questions I can't answer, but I think you need to program fuse bits to get rid of configuration word message.
I want a free running timer triggering interrupt to increase counter value, which I will reset when needed. say timer is increasing count once every 150usec and is reset to zero when count is 250 i.e. every 37.5 msec.
I was having hard time to count pulses, when I configure an output to switch on when pulse count is >50, it get high only after 4 or 5 key press, however after visiting that link in previous post, I got to know that I will have to use mikrobasic built in button routine, and to my surprise it...
Never Mind Got this MikroBasic coding question - Sonsivri, will try to get it working since in my opinion its due to switch debounce (Please do correct me if I am wrong). Thanks to all who visited
Dear all,
I need to program 12F675 using Mikrobasic, Program should count key press on gp5 and should give 2 short pulses on gp0 when counter=8, counter is reset at 10.
so far I had written this, As I am thinking of using a timer later, hence that code is included as well, Trying to simulate on...
Your hard work made you successful on first try, I am happy that I could help you. check your PM, give me a mail when you start building your pickit 2.
I am getting 14.3 v without PIC in zif socket, but with PIC it comes down to 13.2 v, Please perform a hardware test and check voltages on data and clock, I was getting 4.15v on clock when on and 0.5v when off and 2.7v on data during on and 1.5 v during off, If tests are OK then go ahead and try...
IMHO use PICPgm, First check hardware in hardware selection/configuration, you must have to set vdd first, as far as I know, some pic need to be applied VPP slightly before VDD to get them into programming mode.
See this thread for a similer circuit https://www.edaboard.com/threads/213374/, however usb to RS232 adapter I have is COB based and shown as PL2303 in device manager and I never managed to run jdm using this, however read that ftdi chip work but are very slow.
---------- Post added at 02:35...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.